What it is for
Mistral AI in flooows gives you access to Mistral's language models to generate or summarize text, create embeddings, upload files and extract text from documents with OCR. Use it to classify emails, draft replies, analyze PDFs or prepare semantic search inside your flows.
Mistral AI has no triggers: it is used as an action inside flows started by other triggers, such as a new email or a form.
Set up the connection
Authentication type: API key or token · Custom credentials
- 1Sign in at console.mistral.ai.
- 2Create an API key in the keys section and copy it.
- 3In flooows, add a Mistral AI step, click "Connect" and paste the key.
- 4If you route traffic through Cloudflare AI Gateway, choose that option and enter Cloudflare Account ID, Gateway ID and Gateway Auth Token; the Mistral API Key is optional if the gateway stores the key.
- 5Save the connection.
| Connection field | Type | Required |
|---|---|---|
| Cloudflare Account ID | Text | Yes |
| Gateway ID | Text | Yes |
| Gateway Auth Token | Secret key | No |
| Mistral API Key | Secret key | No |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Ask Mistral: pick the Model and write the Question with clear instructions and data mapped from earlier steps; tune Temperature (lower = more consistent) and Max Tokens.
- Create Embeddings turns a list of Texts into vectors for search or comparison.
- Run OCR: choose Model, the Document Source (URL or file) and the Document; use Pages to limit which pages are processed.
- List Models shows the models available to your account.
Tips
- •Ask for JSON output if later steps will use the data.
- •Set Random Seed for reproducible results while testing.
- •Remember flooows can anonymize confidential data before it is sent to the AI.
Actions (6)
Operations available as flow steps. Expand each one to see its fields.
Ask Mistral7 fields
| Field | Type | Required |
|---|---|---|
| Model | List (from your account) | Yes |
| Question | Long text | Yes |
| Temperature | Number | No |
| Top P | Number | No |
| Max Tokens | Number | No |
| Random Seed | Number | No |
| Timeout | Number | No |
Create Embeddings2 fields
| Field | Type | Required |
|---|---|---|
| Texts | List of values | Yes |
| Timeout | Number | No |
Upload File2 fields
| Field | Type | Required |
|---|---|---|
| File | File | Yes |
| Purpose | Fixed list | Yes |
Run OCR6 fields
| Field | Type | Required |
|---|---|---|
| Model | Fixed list | Yes |
| Document Source | Fixed list | Yes |
| Document | Dynamic fields | Yes |
| Pages | List of values | No |
| Include Images | Yes / No | No |
| Timeout | Number | No |
List Models0 fields
No fields to configure.
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
401 error
Check the key or generate a new one in the Mistral console.
429 rate limit error
Add retries with a wait or review your plan limits.
Timeout
Increase Timeout or reduce the size of the text or document.
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
