ChatGPT is changing intelligent automation and RPA

Chat Bot in RPA/Automation

Everything you need to know about ChatGPT and how ChatGPT is changing intelligent automation and RPA.

What is ChatGPT?

You can’t talk about ChatGPT without talking about GPT, or Generative Pre-Trained Transformers, which is a type of Large Language Model (LLM).  GPT refers to a family of machine learning models developed by OpenAI. GPT models, like GPT-4, are based on the transformer architecture, which is a deep learning model primarily used for natural language processing (NLP) tasks.

GPT models are “generative” because they are designed to create human-like responses by predicting the most likely next word or sequence of words in a sentence without losing context. GPT models are pre-trained on large amounts of publicly available text from the internet, allowing them to learn the statistical patterns, grammar, and contextual relationships between words. This pre-training helps the models to acquire a broad understanding of language and context.

Chat GPT Self-attention Model

GPT models (and Large Language Models) use a Transformer architecture, which is a method in artificial intelligence that teaches computers to process data like the human brain (also known as “neural networks”).  Transformer models excel at handling sequential data, such as text, and employ self-attention mechanisms to capture relationships between words and encode them into contextualized representations.

Once pre-training is complete, GPT models can be fine-tuned on specific tasks, such as text completion, translation, summarization, or question-answering, by providing them with task-specific training data. The models use a technique called “unsupervised learning” during pre-training and then transition to “supervised learning” during fine-tuning.

GPT models have achieved significant advancements in various Natural Language Processing (NLP) tasks, demonstrating their ability to generate coherent and contextually relevant text. They can be used for a wide range of applications, including chatbots, content generation, language translation, virtual assistants, and more.

Overall, GPT models are highly flexible and powerful language models that have gained significant attention due to their ability to understand and generate human-like text in a wide range of contexts.

So, what is ChatGPT?

ChatGPT is a chatbot powered by an Artificial Intelligence (AI) model that was developed by OpenAI.  The ChatGPT chatbot is accessible from a website, where you can engage and converse (via typing) with an AI model and get instant responses to your questions.  Where Google search will give you results to questions by connecting you with relevant websites, ChatGPT will give you the answers to your questions.  ChatGPT will also allow you to follow-up on your questions with additional questions, keeping your entire history of questions and responses relevant to the subsequent questions.

ChatGPT launched in December 2022, with GPT-3.5, which was trained on 175 billion parameters, whereas ChatGPT-4 is estimated to be trained on 1 trillion parameters.

OpenAI is an American company, founded in 2015, as a non-profit, open-source company, by a large group of Artificial Intelligence scientists and investors.  OpenAI has transitioned from a not-for-profit company to a for-profit company and has a partnership with Microsoft, as its primary investor, investing over $1 billion with an additional $10 billion committed to OpenAI for further research and development.

How should questions be asked to ChatGPT?

  • Keep it simple. Ask straightforward questions.
  • Be specific. Include specific details with your questions.
  • Use keywords. Use specific keywords in your questions to help refine the results.
  • Refine questions and regenerate. ChatGPT allows you to regenerate responses if you want ChatGPT to write another response.  Alternatively, if ChatGPT is not returning the desired response, try asking the question with an alternative approach.

What can ChatGPT be used for?

  • Brainstorming and ideation.
  • Get personalized recommendations.
  • Understand complicated topics.
  • Use as a writing assistant.
  • Summarize research.
  • Assistance with coding and debugging.
  • Translate text from 95 different languages.
  • Create multiple choice questions on a variety of topics and varying difficulties.
  • Get assistance with travel plans, such as restaurants, cultural attractions, flights, and more.
  • Analyze sentiment and tone for positive, negative, or neutral.
  • Find data sets for research, business intelligence, training machine learning models, and more.
  • Train ChatGPT on your own data.
  • Interview preparation and job preparation.
  • Write songs, poems, and stories.

How can ChatGPT be used in RPA/Automation?

ChatGPT can be used in Robotic Process Automation (RPA) in several ways to enhance automation capabilities and improve the interaction between bots and users. Here are a few examples:

  1. Improved solution design. ChatGPT can be used to help explore and consider alternative technologies.  Recently, we worked with a client that was capturing personal information in an Excel form.  We are experienced enough to identify this is not a secure or compliant process to automate as-is, so we suggested and agreed with the client to build a web-based form.  We have seen too often that RPA firms will just automate the as-is process without consideration for best practices, security, or compliance, so process owners, subject matter experts, and RPA CoEs can consider ChatGPT for improving their solution design capabilities.
  2. ChatGPT can help write Excel Marcos, Excel Formulas, Regular Expressions (RegEx), SQL Queries, Python, JavaScript, C++, C#, HTML/CSS, R, Ruby, Java, and more.  You can also use ChatGPT to summarize the code into human language to help with business process owner reviews to ensure the coding is meeting the requirements of the business case.
  3. Intelligent Chatbots. ChatGPT can be integrated into chatbot frameworks used within RPA systems. These chatbots can understand natural language inputs from users and provide context-aware responses, allowing for more intuitive and conversational interactions.
  4. Data Extraction and Validation. ChatGPT can assist in extracting and validating data from unstructured sources such as emails, documents, or web pages. By training the model on specific data extraction tasks, it can automate the process of understanding and extracting relevant information accurately.
  5. Process Documentation and Training. ChatGPT can be used to generate process documentation or training materials by converting technical information into easily understandable language. This can be beneficial for onboarding new employees or documenting complex workflows in a more user-friendly manner.
  6. Exception Handling and Error Resolution. In complex RPA workflows, exceptions and errors can and will occur. ChatGPT can help identify the nature of the issue and suggest appropriate actions for error resolution. It can also provide real-time troubleshooting assistance, reducing the need for human intervention.
  7. Workflow Optimization and Decision Making. ChatGPT can analyze large sets of data and provide insights for optimizing RPA workflows. By processing and interpreting data from various sources, it can make intelligent recommendations for process improvements, resource allocation, or decision making.
  8. User Support and Self-Service. ChatGPT can handle user queries, provide assistance, and offer self-service options within RPA systems. It can guide users through various tasks, answer common questions, and help troubleshoot issues, reducing the need for manual intervention and improving user experience.

It’s important to note that while ChatGPT can enhance RPA capabilities, it’s crucial to consider its limitations and ensure appropriate safeguards are in place to handle scenarios where the model may provide incorrect or misleading information.  We find that ChatGPT is very good on common knowledge, but abstract thinking is still rudimentary in some areas.  ChatGPT is still evolving and growing, so many of these limitations will continue to be resolved.



  1. Open AI: OpenAI is an AI research and deployment company
  2. The Best Examples Of What You Can Do With ChatGPT
  3. Image Source: Cheng et al., 2016.

ChatGPT Engagement Examples

ChatGPT, Engagement, Chatbot

Getting the most out of ChatGPT

The following article provides different methods for engaging ChatGPT to get the most out of ChatGPT.  There are advanced topics, like connecting APIs, but this article focuses on how to engage with ChatGPT to get meaningful results.

ChatGPT Engagement Examples

The table below showcases a collection of ChatGPT prompts and example conversations. ChatGPT is an advanced language model developed by OpenAI that can engage in interactive dialogues with users. These prompts cover a range of scenarios, including general chat, social media posts, writing assistance, product recommendations, concept explanations, math problem-solving, book/movie/TV show recommendations, language translations, historical facts, health and fitness tips, and more. Each example conversation demonstrates how users can interact with ChatGPT to receive helpful responses and engage in meaningful discussions across various topics.

Prompt Example Conversation
General Chat User: Hi, how are you today? <br> AI: I’m doing well, thank you! How can I assist you today?
Social Media Post User: Can you help me come up with a catchy social media post? <br> AI: Sure! What’s the topic or theme? <br> User: How about traveling? <br> AI: “Wanderlust: Explore the world and create memories that last a lifetime! ✈️🌍”
Writing a Story User: I need help starting a story. <br> AI: Of course! What genre or theme are you interested in? <br> User: I want to write a sci-fi story about time travel. <br> AI: “In a world where time bends and reality shifts, a young scientist discovers the key to unraveling the mysteries of the past and future…”
Giving Product Recommendations User: I’m looking for a new smartphone. Can you recommend one? <br> AI: Certainly! Are there any specific features or budget you have in mind? <br> User: I’m looking for a phone with a good camera and a budget around $500. <br> AI: Based on your preferences, I suggest considering the XYZ model. It has a high-resolution camera and falls within your budget.
Explaining a Concept User: Can you explain the concept of blockchain to me? <br> AI: Certainly! Blockchain is a decentralized digital ledger that records transactions across multiple computers. It ensures transparency, security, and immutability of data by creating a chain of blocks, each containing a list of validated transactions.
Solving a Math Problem User: I’m stuck on this math problem: 2x + 5 = 15. What’s the value of x? <br> AI: To find the value of x, we need to isolate it on one side of the equation. Subtracting 5 from both sides gives us 2x = 10. Then, dividing both sides by 2 gives x = 5.
Recommending a Book, Movie, or TV Show User: I need a good book recommendation. Any suggestions? <br> AI: Absolutely! What genre or type of book are you interested in? <br> User: I enjoy mystery novels. <br> AI: You might enjoy “Gone Girl” by Gillian Flynn. It’s a gripping psychological thriller with plenty of twists and turns.
Translating a Phrase or Sentence User: How do you say “Hello, how are you?” in French? <br> AI: In French, “Hello, how are you?” is translated as “Bonjour, comment ça va ?”
Assisting with Language Learning User: Can you help me practice my Spanish? <br> AI: ¡Por supuesto! ¿En qué te puedo ayudar? (Of course! How can I assist you?)
Exploring Historical Facts or Events User: Tell me about the American Revolutionary War. <br> AI: The American Revolutionary War was a conflict fought between Great Britain and thirteen British colonies in North America. It lasted from 1775 to 1783 and resulted in the independence of the United States of America.
Providing Health and Fitness Tips User: I’m trying to improve my fitness. Any tips? <br> AI: Absolutely! Regular exercise, such as cardio and strength training, is important. Additionally, make sure to eat a balanced diet, stay hydrated, and get enough sleep. Remember to listen to your body and gradually increase the intensity of your workouts to avoid injuries.

Using ChatGPT Prompts for Effective Communication

The following table provides a range of prompt types and corresponding examples to guide your interactions with ChatGPT, a powerful language model. By using these prompts, you can effectively communicate your requests, questions, and instructions to receive accurate and relevant responses. Each prompt type serves a specific purpose, allowing you to explore different conversation styles and elicit various types of information from the model.

Prompt Type Instruction Example
Open-Ended Begin with a general statement or question to encourage a free-form response. User: Tell me about your favorite book and why you like it.
Instruction Clearly provide a directive or command to guide the model’s response. User: Describe the process of baking a chocolate cake step by step.
Scenario Set up a specific situation or context for the model to respond to. User: Imagine you’re a tour guide in New York City. Give me recommendations for the best sights to see.
Clarification Ask follow-up questions to obtain more information or clarify a previous response. User: You mentioned a great restaurant. What type of cuisine do they specialize in?
Comparison Request a comparison between two or more items or concepts. User: Compare the benefits of running outdoors versus using a treadmill.
Creative Encourage the model to generate creative or imaginative responses. User: Invent a story about a magical kingdom ruled by talking animals.
Opinion Ask the model to share its personal opinion or preference on a topic. User: What do you think is the best movie of all time and why?
Evaluation Request an evaluation or critique of a specific subject. User: Can you evaluate the pros and cons of renewable energy sources?
Prediction Ask the model to make predictions or speculate about future events. User: What do you think will be the biggest technological advancement in the next decade?
Reflection Prompt the model to reflect on a specific topic or provide introspective thoughts. User: Share your thoughts on the importance of education in society.

Using different prompt types can help guide the model’s responses and generate more specific and targeted information.

ChatGPT Writing Styles

Writing style plays a crucial role in effectively communicating ideas and engaging readers. As an AI language model, ChatGPT has been trained on a diverse range of writing styles, enabling it to adapt to various contexts and tones. Below, you’ll find a table showcasing some of the writing styles that ChatGPT supports, along with examples of how to ask for each particular style:

Writing Style Example of Asking
Formal “Could you please provide a formal response to my inquiry?”
Informal “Hey, can you give me a casual and conversational explanation?”
Professional “I need a response written in a professional manner, preferably suitable for a business setting.”
Technical “I’m looking for a detailed and technical explanation of this concept. Could you help me with that?”
Creative “I’d love to see a creative and imaginative response to this prompt. Surprise me!”
Persuasive “Can you provide a persuasive argument in favor of this idea?”
Humorous “I could use a good laugh. How about a funny response to lighten the mood?”
Academic “I’m writing a research paper and need an academically sound explanation. Can you assist me with that?”

Please note that while ChatGPT can attempt to mimic these writing styles, it’s important to review and refine the generated content according to your specific needs and context.

Additional Ideas to Engage ChatGPT

Tasks Format Example
Asking a Question Direct Question User: “What is the capital of France?”
Seeking Information Open-ended Prompt User: “Tell me about the history of the Roman Empire.”
Seeking Advice Requesting Recommendations User: “Can you recommend some good books to read?”
Engaging in Small Talk Casual Conversation User: “How’s the weather today?”
Creative Writing Prompt-based Storytelling User: “Write a short story about a detective solving a mysterious crime.”
Programming Help Specific Code or Error Description User: “I’m getting a ‘syntax error’ in my Python code. Can you help me troubleshoot?”
Language Translation Text or Phrase to Translate User: “Translate ‘Hello, how are you?’ to French.”
Playing a Game Game-specific Commands User: “Move left, attack the enemy, and use a healing potion.”
Brainstorming Ideas Topic or Concept User: “Help me generate some ideas for a new product.”
Emotional Support Sharing Feelings or Concerns User: “I’m feeling really stressed lately. Can you offer any advice?”