Document parsing & data extraction with Mistral OCR, AI processing, and multi-channel delivery
Needs changesWhat this workflow does
This AI workflow has 18 nodes and runs when someone submits an n8n form (plus 1 other trigger). Along the way it connects Mistral Cloud Chat Model, Gmail, OpenAI Chat Model and Telegram.
How it runs
Trigger: When someone submits an n8n form (plus 1 other trigger).
- Telegram: uses Telegram
- Download File (HTTP Request): calls an HTTP API
- Code: runs custom JavaScript code
- send pdf to Mistral (HTTP Request): calls an HTTP API
- mistral - get signed url (HTTP Request): calls an HTTP API
- Get Parsed Invoice (HTTP Request): calls an HTTP API
- AI Agent: runs an AI agent, with model: Mistral Cloud Chat Model
- Edit Fields (Edit Fields (Set)): sets or maps fields
- Markdown: converts between Markdown and HTML
- Edit Fields (Edit Fields (Set)): sets or maps fields
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- HTTP Request
n8n-nodes-base.httpRequest - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Markdown
n8n-nodes-base.markdown - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Telegram Trigger
n8n-nodes-base.telegramTrigger - Telegram
n8n-nodes-base.telegram - Code
n8n-nodes-base.code - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
Tired of manual data entry? Drowning in paper documents? The Sentinel OCR & Workflow Hub is your ultimate solution for transforming physical documents into actionable digital data, seamlessly and intelligently. This isn't just an OCR machine; it's a…