# AI research agents to automate PDF analysis with Mistral: n8n workflow

> Started by someone submitting a form, and works across Gmail. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/ai-research-agents-to-automate-pdf-analysis-with-mistral (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# AI research agents to automate PDF analysis with Mistral

Started by someone submitting a form, and works across Gmail. It hands the judgement calls to OpenRouter. 23 steps: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-research-agents-to-automate-pdf-analysis-with-mistral)

**23 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 2 Model 13 Logic 4 Service 4

The steps in the order they run, from what starts it.

- 1 **When Executed by Another Workflow** Execute Workflow trigger *Starts it*
- 2 **Mistral_PDF** Tool Workflow *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **Mistral_PDF1** Tool Workflow *Model*
- 5 **Mistral_PDF2** Tool Workflow *Model*
- 6 **On form submission** Form trigger *Starts it*
- 7 **o3-mini** Lm Chat Open Router *Model*
- 8 **o3-mini-3** Lm Chat Open Router *Model*
- 9 **o3-mini1** Lm Chat Open Router *Model*
- 10 **gpt4o** Lm Chat Open Router *Model*
- 11 **Document Understanding** Http Request *Service*
- 12 **Research Leader 🔬** Agent *Model*
- 13 **Project Planner** Agent *Model*
- 14 **Research Assistant** Agent *Model*
- 15 **Mistral Upload** Http Request *Service*
- 16 **Editor** Agent *Model*
- 17 **Title1** Chain Llm *Model*
- 18 **qa_answer** Set *Logic*
- 19 **Delegate to Research Assistants** Split Out *Logic*
- 20 **Merge chapters title and text** Merge *Logic*
- 21 **Mistral Signed URL** Http Request *Service*
- 22 **Gmail1** Gmail *Service*
- 23 **Final article text** Code *Logic*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 23
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail
- **Model:** OpenRouter

## Questions

What does it need to run?

An n8n account, plus your own Gmail account, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 23 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 23 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fai-research-agents-to-automate-pdf-analysis-with-mistral)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automate privacy risk detection, approvals, and audit reports** 23 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/automate-privacy-risk-detection-approvals-and-audit-reports)
- [**Contract extraction, risk analysis & compliance automation** 23 steps · calls a model · Gmail, Postgres](https://millionrounds.com/workflow/contract-extraction-risk-analysis-and-compliance-automation)
- [**Generate comprehensive business analysis reports with Gemini** 23 steps · calls a model · Gmail, Google Docs](https://millionrounds.com/workflow/generate-comprehensive-business-analysis-reports-with-gemini)
- [**IPhone scraping + AI evaluation + Google Sheets & Airtable** 23 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/iphone-scraping-ai-evaluation-google-sheets-and-airtable)
- [**Track competitor prices and email AI insights** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/track-competitor-prices-and-email-ai-insights)
- [**AI-Powered Vendor Policy & RSS Feed Analysis** 22 steps · calls a model · Gmail, RSS](https://millionrounds.com/workflow/ai-powered-vendor-policy-and-rss-feed-analysis)
