Example 1. Publicly Hosted Files
Configured with Google Drive, HTTP Request. Review the connections and setup before adapting this template.
Node categories in this workflow
- Web / API
- Trigger
- Files / media
- Transform
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Mistral Upload | Web / API | HTTP Request | POST |
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Mistral Signed URL | Web / API | HTTP Request | See node parameters |
| Import PDF | Files / media | Google Drive | download |
| Import Image | Files / media | Google Drive | download |
| Mistral Upload1 | Web / API | HTTP Request | POST |
| Mistral Signed URL1 | Web / API | HTTP Request | See node parameters |
| Mistral DOC OCR | Web / API | HTTP Request | POST |
| Mistral IMAGE OCR | Web / API | HTTP Request | POST |
| Document URL | Transform | Edit Fields | See node parameters |
| Image URL | Transform | Edit Fields | See node parameters |
| Mistral DOC OCR1 | Web / API | HTTP Request | POST |
| Mistral IMAGE OCR1 | Web / API | HTTP Request | POST |
| Document URL1 | Transform | Edit Fields | See node parameters |
| Document Understanding | Web / API | HTTP Request | POST |
| Image URL1 | Transform | Edit Fields | See node parameters |
| Document Mis-Understanding? | Web / API | HTTP Request | POST |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
googleDriveOAuth2ApimistralCloudApi
Workflow notes
Example 1. Publicly Hosted Files
Example 1. Publicly Hosted Files
The default way to use Mistral OCR is to give it a public URL of the file you want processed. Great for your own semi-private docs or other people's. If you rather not expose files due to privacy concerns, then you'd want to check out example 2.
Example 2. Privately Hosted via Mistral Cloud
Example 2. Privately Hosted via Mistral Cloud
Give Mistral OCR private and secure access to your files by uploading them to Mistral cloud first. Retrieve the file using a signed URL and pass this to Mistral OCR. Benefit of storing via Mistral could be faster cache access and reduced latency for repeat docs.
Document Parsing with Mistral OCR
Document Parsing with Mistral OCR
Up your structured document parsing game with Mistral's latest release... Mistral-OCR!
- Designed to specifically parse PDF and image files.
- Handles multiple-page documents and images up to 10k pixels.
- Each page is conveniently transcribed as markdown only - there is no plain text output.
- Incredible pricing at only $0.001 per page!
Requirements
- You'll need a Mistral Cloud API Key
- This template only works with the Mistral Cloud API for Mistral OCR.
Example 3. No need for Extraction? Talk Directly with the File!
Example 3. No need for Extraction? Talk Directly with the File!
It seems Mistral were also able to integrate OCR capabilities into its text models which allows you to carry out tasks such as document classification and sentiment analysis really quickly. Unfortunately, it doesn't work the same way with images - you have to use Pixtral but the results are really bad!
Example 1. Publicly Hosted Files
Example 1. Publicly Hosted Files
Purpose and structure
This folder contains the Example 1. Publicly Hosted Files workflow. Its executable nodes use googleDrive, httpRequest, manualTrigger, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Http/0778_HTTP_Stickynote_Import_Webhook.json MIT; preserve source notices.