Automate Summarizing Google Drive PDFs with Mistral AI and Gmail

This workflow automates summarizing PDF documents from Google Drive using Mistral AI and emails the summaries via Gmail, solving time-consuming manual reading and sharing. It’s perfect for busy professionals needing quick insights from lengthy documents.
manualTrigger
googleDrive
lmChatMistralCloud
+2
Workflow Identifier: 2206
NODES in Use: Manual Trigger, Google Drive, LangChain Mistral Cloud Chat Model, LangChain Summarization Chain, Gmail
Automate PDF summaries with n8n and Mistral AI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow fetches a PDF from Google Drive, uses Mistral AI to summarize the content, and sends the summary by email via Gmail.

It solves the problem of spending many hours reading PDFs manually by automating extraction of shorter, easy-to-read summaries.

The user gets a fast, clear email with main points of the document without opening the file.


Who should use this workflow

This workflow is for anyone who regularly handles long PDF documents stored in Google Drive.

It helps users save time by automating document digestion and sharing summaries with their team or themselves.

No advanced technical skills are required to run it after setup in n8n.


Tools and services used

  • Google Drive: Stores PDF files to summarize.
  • Mistral Cloud AI: Processes document text to generate concise summaries.
  • Gmail: Sends the summary email automatically.
  • n8n automation platform: Runs the workflow connecting all nodes.

Inputs, Processing, and Output

Inputs

A PDF file identified by its File ID stored in Google Drive.

User-provided Mistral Cloud API key for summarization.

Gmail account credentials for sending email.

Processing Steps

The workflow first downloads the PDF using the Google Drive node.

The file is sent to the Mistral Cloud Chat Model node to create a summary.

The summary text is parsed and formatted by the Summarization Chain node.

Finally, the Gmail node sends the formatted summary to a specified email address.

Output

The user receives an email with a clean summary of the original PDF content.

The email includes a title, the summarized text formatted with HTML, and a timestamp of processing.


Beginner step-by-step: How to use this workflow in n8n

1. Import the workflow

  1. Download the workflow file using the Download button on this page.
  2. Inside the n8n editor, click on the menu and select "Import from File".
  3. Choose the downloaded workflow file to load it into n8n.

2. Configure credentials and settings

  1. Open the Google Drive Google Drive node and add API credentials if not set.
  2. Replace the fileId in the same node with the desired Google Drive PDF file ID.
  3. Go to the LangChain Mistral Cloud Chat Model node and enter your Mistral Cloud API key.
  4. Set up your Gmail API OAuth2 credentials in the Gmail node.
  5. Check or update the recipient email address in the Gmail node to where summaries should be sent.

3. Test the workflow

  1. Click the manual trigger node and press "Execute Workflow" to run the process.
  2. Watch workflow progress in n8n and check the email inbox for the summary.

4. Activate for production use

  1. Once tested successfully, click "Activate" in n8n to enable automatic runs.
  2. You can later replace the manual trigger with a Cron node for scheduled automation.

If self-hosting n8n is desired, use self-host n8n resources.


Customization ideas

  • Change the Gmail node recipient email to forward summaries to other users.
  • Adjust chunkSize in the Summarization Chain node to control summary length.
  • Replace the Google Drive file ID to process another document.
  • Edit the email HTML message to add branding or change date/time formats.

Common problems and fixes

Google Drive node permission error

Cause: OAuth credentials expired or no access to the file.

Fix: Reauthenticate Google Drive in n8n and verify file permissions.

Mistral Cloud node authentication failure

Cause: Invalid or missing API key.

Fix: Update Mistral Cloud API key in node settings.

Email sending failure in Gmail node

Cause: Expired or missing Gmail OAuth credentials.

Fix: Refresh Gmail OAuth2 credentials and test email connectivity.


Summary of benefits and results

✓ Saves hours by automating PDF summarization.

✓ Sends quick, clear email summaries without manual reading.

✓ Keeps emails professionally formatted with consistent style.

✓ Easy setup and testing inside n8n with manual trigger.

→ Helps teams stay updated faster and avoid missed deadlines.


Automate PDF summaries with n8n and Mistral AI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow is designed for PDFs from Google Drive. Other file types may not work well because AI summarization relies on readable text input.
Mistral Cloud may charge fees based on usage plans. Check Mistral’s pricing and free tier limits to avoid unexpected costs.
Data security depends on Google Drive permissions, API connections, and the security of the n8n setup. Avoid using sensitive info in insecure environments.
Yes. Replace the manual trigger node with a Cron node in n8n to run the workflow on set time intervals.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.