UiPath know-how: Integration with ChatGPT

Опубликовано: 16 Июнь 2026
на канале: Eclatprime Digital
82
2

UiPath snippet 2:
Get to know how we can integrate UiPath with ChatGPT.

The process involves:
1. Registering Open AI account.
2. Generating API Key.
3. Copying JSON code and API key.
4. Open UiPath Studio and configuring input dialog box and creating output Variable.
5. Taking assign activity and adding.
Save to - The variable to which you want to assign the value to.
Append Variable (Prompt) = “Input dialog box return value".
The value to be assigned to the variable.
Append Variable (Model) = “text-davinci-003".
6. Dragging HTTP Request Component and importing Generated API Key, Http Request will identify API service and get added in Endpoint ="https://api.openai.com/v1/completions".
7. Adding Authorization = Bearer 'API key' and parameter POST.
8. Accessing Token and adding API Key.
9. Extracting data and storing in Deserialize JSON.
10. Extracting from Deserialization JSON Array with Deserialization object ("choices"). tostring ().
11. Finally receiving output answer from chat for user question.