- Home
- Resources
- Integrations
- Mistral AI
Mistral AI n8n integrationAutomate Mistral AI with n8n.
Scanned paperwork holds data nobody wants to retype. The Mistral AI n8n integration exposes 1 resource and 1 operation, Extract Text, which reads a document or an image with OCR and hands the text to the next node. No trigger ships with it, so a schedule or another app starts the run.
Verified Trustpilot reviews · AI, automation & growth agency
What does the Mistral AI n8n integration actually do?
The Mistral AI n8n integration wires a workflow to Mistral's OCR API through a single node. One resource, Document. One operation, Extract Text. You point it at a PDF or an image, and it returns the readable text of that file inside the workflow. OCR stands for optical character recognition, the step that turns a scan into characters a workflow can search, parse or store.
Take supplier invoices piling up in a shared folder. A schedule picks up the new files, the Mistral AI node reads each one, and a parsing step writes the amounts into Google Sheets. The accounting export stops being a retyping job and becomes a row that already exists when someone opens the file.
Expense receipts work the same way, with a shorter loop. A photo of a receipt reaches the workflow as binary data, Extract Text pulls the merchant and the total out of the image, and a message in Slack tells the person who submitted it that the claim went through. Nobody opens an attachment to read four numbers.
Recruiting is the third obvious one. CVs arrive as PDFs, the node turns each one into plain text, and the text feeds whatever scoring or sorting logic you already run before a reply goes out through Gmail. Same for contracts and reports that need to be searchable rather than filed away as images.
The node stops at OCR. Mistral's API does more than read documents, and none of the rest is exposed here: chat completions, for example, live outside this node. When you need them, the HTTP Request node calls any endpoint of the API and reuses the same Mistral Cloud credential through predefined authentication, so you are not managing a second key. Extracted text that has to change language goes to a dedicated node such as DeepL rather than back to Mistral.
Two limits are worth knowing before you build. A file sent as binary data stays under 50 MB, which n8n reminds you in the field itself, and the model is fixed: mistral-ocr-latest is the only choice offered. There is also no Mistral AI trigger, so the workflow always starts somewhere else. If you are still deciding which platform runs this kind of pipeline, the n8n review covers hosting and cost in detail.
How do you connect Mistral AI to n8n?
- 01
Create the API key in Mistral
Sign in to your Mistral account and open the API Keys page of the console. Before a key does anything, payment information has to be added in Workspace > Billing and payments activated on the account: Mistral only issues working keys to accounts set up for billing. Select Create new key, then copy the value straight away and keep it somewhere safe for the next step.
- 02
Store the Mistral Cloud credential in n8n
In n8n, open the Credentials menu and create a Mistral Cloud credential. It asks for one thing, the API Key you just copied. A credential is saved once and reused by every workflow on the instance, and this one also authenticates the Mistral Cloud chat model and the Embeddings Mistral Cloud sub-nodes, so a single key covers your OCR and your language model calls.
- 03
Run a first document through the node
Drop a Mistral AI node into a workflow and pick the credential from its dropdown list. Leave the resource on Document and the operation on Extract Text, set Document Type to Document for a PDF or Image for a photo, then choose how the file arrives with Input Type. Execute the node on one real file and read the output before you build anything around it.
What the Mistral AI node can do
The Mistral AI node exposes 1 operations across 1 resources. For each one: the node as you configure it in n8n, the required fields, and our field notes.
Operations index
Document
1 operationExtract text
document.extractTextWhat you see in n8n
Notes & use cases
Extract Text sends a file to Mistral's OCR engine and returns its text to the next node.
Key parameters
- Model:
mistral-ocr-latest, the only value offered. - Document Type: Document for a PDF, Image for a photo or a scan.
- Input Type: Binary Data reads a file already carried by the workflow, URL lets Mistral fetch it.
- Input Binary Field: the name of that binary field,
datain most workflows, under50 MBand1,000 pages. - URL: the file address, often
{{ $json.field }}from the node before. - Enable Batch Processing: several documents per call, sized by Batch Size.
Need help automating Mistral AI with n8n?
A person reads every message.

