← All N8N workflows
Automation & utilitiesGoogle DriveHTTP RequestManual TriggerEdit Fields

Example 1. Publicly Hosted Files

Configured with Google Drive, HTTP Request. Review the connections and setup before adapting this template.

Workflow preview
Web / APIMistral UploadHTTP RequestTriggerWhen clicking ‘Testworkflow’Manual TriggerWeb / APIMistral Signed URLHTTP RequestFiles / mediaImport PDFGoogle DriveFiles / mediaImport ImageGoogle DriveWeb / APIMistral Upload1HTTP RequestWeb / APIMistral Signed URL1HTTP RequestWeb / APIMistral DOC OCRHTTP RequestWeb / APIMistral IMAGE OCRHTTP RequestTransformDocument URLEdit FieldsTransformImage URLEdit FieldsWeb / APIMistral DOC OCR1HTTP RequestWeb / APIMistral IMAGE OCR1HTTP RequestTransformDocument URL1Edit FieldsWeb / APIDocument UnderstandingHTTP RequestTransformImage URL1Edit FieldsWeb / APIDocumentMis-Understanding?HTTP Request

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Mistral UploadWeb / APIHTTP RequestPOST
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Mistral Signed URLWeb / APIHTTP RequestSee node parameters
Import PDFFiles / mediaGoogle Drivedownload
Import ImageFiles / mediaGoogle Drivedownload
Mistral Upload1Web / APIHTTP RequestPOST
Mistral Signed URL1Web / APIHTTP RequestSee node parameters
Mistral DOC OCRWeb / APIHTTP RequestPOST
Mistral IMAGE OCRWeb / APIHTTP RequestPOST
Document URLTransformEdit FieldsSee node parameters
Image URLTransformEdit FieldsSee node parameters
Mistral DOC OCR1Web / APIHTTP RequestPOST
Mistral IMAGE OCR1Web / APIHTTP RequestPOST
Document URL1TransformEdit FieldsSee node parameters
Document UnderstandingWeb / APIHTTP RequestPOST
Image URL1TransformEdit FieldsSee node parameters
Document Mis-Understanding?Web / APIHTTP RequestPOST

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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

  • googleDriveOAuth2Api
  • mistralCloudApi

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.

More in Automation & utilities