ChatGPT
Sends a message to ChatGPT and returns the response.
Category: AI & Large Language Models · Group: General · Activity name: ChatGPT

Example
outputVariable = ChatGPT("<input>", "gpt-3.5-turbo", maxTokens=4096, responseType="text")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Message | string | Yes | The message to be sent to ChatGPT. | |
| GPT Model | string | Yes | gpt-3.5-turbo | Select your GPT-MODEL. One of: gpt-3.5-turbo, gpt-4o, gpt-5.6-luna. |
| Maximum Tokens | integer | Yes | 4096 | The maximum amount of tokens to be used. |
| Response Type | string | Yes | text | Choose the format for GPT's response. If you select JSON, ensure the prompt includes the keyword "json." One of: text, json_object. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | string | Specifies the name of the variable that will store the response. |