Credentials Setup
Before using any OpenAI functionality, you must configure your API credentials:- OpenAI Account: Select or create OpenAI API credentials in the block settings.
-
Get your API key — if you don’t have one yet:
- Create an account or sign in at platform.openai.com.
- Go to Dashboard → API keys (or visit the API keys page directly).
- Click Create new secret key, give it a name, and copy it immediately — it won’t be shown again.
- Paste the key into the API key field in the credentials form.
API keys are securely encrypted and stored. Never share them or expose them in client-side code. -
Custom Provider Settings (Optional)
- Base URL: Override the default OpenAI API endpoint (
https://api.openai.com/v1) - API Version: Specify API version for Azure OpenAI or other compatible services
- Supports OpenAI-compatible providers like Azure OpenAI, LocalAI, or custom implementations
- Base URL: Override the default OpenAI API endpoint (
Configurations

Actions
Select a task for the bot to perform.- Create chat completion: Generate conversational responses using GPT models.
Currently, only one action is supported, but this may change in the future.
Models
Choose one of the avaiable modelsMessage
Configure the conversation context with message types:- System: Define AI behavior and instructions
- User: Represent user input and queries
- Assistant: Include AI responses for context
- Dialogue: Reference conversation history variables

Tools
Define tools that the AI can use to perform actions or retrieve information. Each tool works like a programming function, with configurable parameters and custom code that is executed when the tool is called.This feature requires a basic understanding of programming. We recommend using templates to see
how this feature works in practice.
- Name: the name of the function.
- Description: a description of what this function do.
- Parameters: Define the parameters required by this function. You can add as many parameters as
needed. For each parameter, specify:
- Data type (string, number, boolean, or enum).
- Name.
- Description.
- Whether it is required. If not, the function will accept an empty value for that parameter.

Settings
Adjust the core parameters used to control the AI model’s output.- Temperature: Controls the randomness of the AI responses. Lower values make the output more focused and deterministic, while higher values increase creativity and variability.
- Max Tokens: Tokens are the building blocks of text that OpenAI models process. They can be as short as a single character or as long as a full word, depending on the language and context. Spaces, punctuation, and partial words all contribute to token counts.
Response
Define how the AI’s response should be saved into variables so it can be used later. You can store:- Message content: the model’s text reply
- Token usage: token usage count
- Tool results: the output of the last tool that ran: