What it is for
The OpenAI component lets you use OpenAI models inside flooows to generate and analyze text, extract structured data, create images, transcribe audio and build embeddings. It fits email summaries, ticket classification or automatic reply drafting.
This component has no triggers: it is used as an action inside flows started by other triggers, such as a new email or a webhook.
Set up the connection
Authentication type: API key or token
- 1Add an OpenAI action to your flow and click "Connect".
- 2At platform.openai.com/api-keys create a new secret key and copy it; it is shown in full only once.
- 3Make sure your OpenAI account has credit or active billing, otherwise calls fail.
- 4Paste the key into the connection, name it and save.
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- In "Ask ChatGPT" choose the "Model", write the "Question" mixing instructions with data mapped from earlier steps and set "Maximum Tokens".
- Use "Conversation Memory ID" with a stable value (for example a customer ID) to keep context across runs.
- "Extract Structured Data" takes a "Text" and a list of "Fields" and returns an object ready to map into a CRM.
- "Transcribe Audio" accepts a file from a previous step in "Audio"; set "Language" for better accuracy.
Tips
- •Lower the "Temperature" for more consistent classification results.
- •flooows can anonymize confidential data before sending it to AI; use it with customer information.
- •Cap "Maximum Tokens" to keep cost per run under control.
Actions (19)
Operations available as flow steps. Expand each one to see its fields.
Ask ChatGPT9 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Question | Long text | Yes |
| Maximum Tokens | Number | Yes |
| Conversation Memory ID | Text | No |
| Temperature | Number | No |
| Top P | Number | No |
| Frequency Penalty | Number | No |
| Presence Penalty | Number | No |
| Roles | JSON | No |
Ask Assistant (Deprecated)3 fields
| Field | Type | Required |
|---|---|---|
| Assistant | List (from your account) | Yes |
| Question | Long text | Yes |
| Conversation Memory ID | Text | No |
Vision Prompt9 fields
| Field | Type | Required |
|---|---|---|
| Image | File | Yes |
| Question | Long text | Yes |
| Maximum Tokens | Number | No |
| Detail | List (from your account) | No |
| Temperature | Number | No |
| Top P | Number | No |
| Frequency Penalty | Number | No |
| Presence Penalty | Number | No |
| Roles | JSON | No |
Extract Structured Data3 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Text | Long text | Yes |
| Fields | List of values | Yes |
Moderate Text2 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Text | Long text | Yes |
Analyze Text Sentiment2 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Text | Long text | Yes |
Create Embedding4 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Text | Long text | Yes |
| Vector Dimensions | Number | No |
| User ID | Text | No |
Search Embeddings4 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Query | Long text | Yes |
| Documents | List of values | Yes |
| Max Results | Number | No |
Generate Image4 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Prompt | Long text | Yes |
| Size | Fixed list | No |
| Quality | Fixed list | No |
Edit Image5 fields
| Field | Type | Required |
|---|---|---|
| Image | File | Yes |
| Prompt | Long text | Yes |
| Size | Fixed list | No |
| Quality | Fixed list | No |
| Mask | File | No |
Text-to-Speech6 fields
| Field | Type | Required |
|---|---|---|
| Text | Long text | Yes |
| Model | List (from your account) | Yes |
| Voice | Fixed list | Yes |
| Audio Format | Fixed list | Yes |
| Speed | Number | No |
| File Name | Text | No |
Transcribe Audio2 fields
| Field | Type | Required |
|---|---|---|
| Audio | File | Yes |
| Language | Fixed list | No |
Translate Audio1 fields
| Field | Type | Required |
|---|---|---|
| Audio | File | Yes |
Upload File3 fields
| Field | Type | Required |
|---|---|---|
| File | File | Yes |
| Purpose | Fixed list | Yes |
| File Name | Text | No |
List Files2 fields
| Field | Type | Required |
|---|---|---|
| Purpose | Fixed list | No |
| Max Results | Number | No |
Find File2 fields
| Field | Type | Required |
|---|---|---|
| File Name | Text | Yes |
| Purpose | Fixed list | No |
Delete File1 fields
| Field | Type | Required |
|---|---|---|
| File ID | Text | Yes |
List Models1 fields
| Field | Type | Required |
|---|---|---|
| Name Contains | Text | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
429 quota error.
Add credit or check your OpenAI limits; if it is a speed limit, add retries or delays.
401 invalid key error.
Create a new key and update the connection.
Truncated answer.
Increase "Maximum Tokens" or ask for shorter output.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
