Cómo integrar ChatGPT con Power Automate - Parte I - Itequia - CAT-EN

ChatGPT and Power Automate, the perfect combination | Part I

Today, most companies are constantly looking for ways to streamline their processes and improve their productivity. One of the most widely used tools to achieve this goal is Microsoft Power Automate, which allows you to automate repetitive tasks and simplify business processes.

Therefore, integrating ChatGPT, a language model developed by OpenAI, into Power Automate can be an effective solution to improve the efficiency and quality of customer service.

What is ChatGPT?

ChatGPT is a deep learning language model, developed by OpenAI, a US-based artificial intelligence company. It is a specialized version of GPT (Generative Pre-trained Transformer), a neural network architecture that has proven to be very effective in generating coherent and compelling text.

The goal of ChatGPT is to generate natural language responses from text input. To achieve this, the model is trained using large amounts of text data so that it learns to understand the language and to produce responses that are coherent and appropriate to the context.

The ChatGPT model uses a technique called transfer learning, which involves pre-training the model on large text data sets, and then fitting the model to a specific data set or task, such as generating answers to specific questions or creating natural dialogues.

ChatGPT has proven to be very effective in a variety of applications, such as generating text for chatbots, answering frequently asked questions, creating natural dialogs, language translation, and generating text summaries.

What are the limitations of ChatGPT?

Although ChatGPT is a very promising technology, it still has some limitations that must be considered:

Need for large amounts of data

To train ChatGPT models that generate high-quality responses, large amounts of training data are needed. This can limit the use of ChatGPT in cases where training data is not available or difficult to obtain.

Lack of control over responses

Although ChatGPT can generate consistent and context-appropriate responses, in some cases, the responses may be inappropriate or inaccurate. This is because the model may not always fully understand the context of the question, or it may generate answers that are inconsistent or confusing.

Difficulty integrating domain-specific knowledge

ChatGPT is a general language model, so you may have difficulty integrating domain-specific knowledge into your responses. This can be especially problematic in cases where you need to generate precise answers in a particular domain.

Inappropriate use

In the wrong hands, ChatGPT could be used to generate misleading, false, or harmful content, which could have negative consequences for society.

It is very important to keep these limitations in mind when using ChatGPT and monitor and tune the model to ensure that the responses generated are consistent and appropriate for the context where we are using it.

How to use ChatGPT?

Starting to have your conversations with this artificial intelligence is very simple. All you have to do is enter its official website, which is https://chat.openai.com/chat. You must log in or create an account for free on the OpenAI website. From there, you will be able to chat with the language model.

Como-usar-ChatGPT-Itequia

How to integrate ChatGPT with Power Automate?

Como-crear-flujos-de-trabajo-a-través-de-GPT3-en-Power-Automate

In case you want to implement ChatGPT in a custom application, you will first need to access the OpenAI API and send a text request to the model for it to generate a response.

The response generated by ChatGPT must be processed and presented to the end user in the most appropriate way for the application in question.

Let’s look at an example of integrating the GPT-3 language model into the Power Automate platform.

How to create workflows via GPT-3 in Power Automate?

Flow creation by a description in Power Automate is a feature that allows you to create workflows based on natural language, instead of having to create them manually using a visual interface.

This makes creating workflows much easier and faster for users who do not have advanced technical knowledge.

To use flow creation by a description in Power Automate, the following steps must be followed:

Step 1 

Sign in to Power Automate and click the “Create” button to create a new flow.

Step 2 

Select “Automated flow” to create a flow based on natural language.

Paso-1-y-2-crear-flujo-trabajo-Power-Automate-Itequia

Step 3 

Type a natural language description of the workflow you want to create.

For example, you can write “When an email arrives, automatically reply with a confirmation message.

Paso-3-crear-flujo-trabajo-Power-Automate-Itequia

Step 4 

Power Automate will parse the description and generate a workflow automatically. This flow will include the actions necessary to fulfill the description that has been provided.

For example, in the above case, Power Automate will create an action that detects when an email arrives from your manager (action 1) and another action that automatically sends a confirmation message (action 2).

Paso-4-crear-flujo-trabajo-Power-Automate-Itequia

Step 5 

In this step, we will be able to fine-tune and customize the generated workflow to your specific needs.

For example, we can change the confirmation message or add more actions to the workflow.

Step 6 

Test time. The next step is to save and test the workflow to make sure it works correctly and without errors.

Paso-5-y-6-crear-flujo-trabajo-Power-Automate-Itequia

In this simple way, we would already have created our new workflow in Power Automate, thanks to the help of ChatGPT-3.

But it’s important to note that creating flows by description is not a perfect solution and can lead to unexpected or erroneous results in some cases.

For this reason, it is very important to review and adjust the generated workflow to ensure that it works correctly and meets the specific requirements of your use case.

So far this first part of the article. Part II is now available, in which we present a Power Automate flow integrated with GPT and Microsoft Teams.

Emili Bellot Pulido – Software Technician at Itequia