Back to Templates
  • +2

Summarize Google Drive Documents with Mistral AI and Send via Gmail

Created by

Swot.AI

Last update

Last update a month ago

Categories
Share

This workflow automates document summarization directly from Google Drive, processes the content using Mistral AI, and delivers a clean, styled summary via Gmail. It's ideal for professionals who need quick insights from lengthy documents without manually reading through them.

✅ Key Features:

  • Google Drive Integration: Fetches a file (PDF/DOCX) from your Drive.
  • AI Summarization: Uses Mistral AI to extract key points efficiently.
  • Styled Email Output: Delivers a formatted, easy-to-read summary to your inbox with a timestamp.
  • Error Handling: Built to skip corrupted files or missing credentials.

🔧 Nodes Breakdown:
1️⃣ Manual Trigger — Starts the workflow manually for easy testing.
2️⃣ Google Drive Node — Downloads a specified file from Google Drive (supports PDF/DOCX).
3️⃣ Mistral Cloud Chat Model Node — Connects to Mistral AI for summarization.
4️⃣ Summarization Chain Node — Breaks the file into chunks, processes content, and generates a concise summary.
5️⃣ Gmail Node — Sends the styled summary directly to the user’s inbox, with custom formatting and current time in the Lagos timezone.

Extra Features:

  • Dynamic Time Formatting: Supports Lagos timezone (easily adjustable).
  • HTML Styling: Beautiful email formatting with headers, icons, and line breaks for clarity.
  • Custom Email Sender Name: Branded output (e.g., "Swot.AI").
  • Future Expansion: Can extend to WhatsApp or Slack with minor tweaks.

Use Cases:

  • Legal teams summarizing contracts.
  • Content creators extracting highlights from research papers.
  • Business analysts getting insights from reports on-the-go.

Customization Tips:

  • Change the timezone (Africa/Lagos) to match your preferred location.
  • Add error-handling nodes for missing files or API failures.
  • Swap Mistral AI with OpenAI for different summarization behavior.
  • Change the "Send To" address(email to receive the Summarized texts) with your personal preffered address.
  • Change the "Sender Name" from Swot.AI to your preferred Sender Name.

Why To Use This Workflow?
This automation saves hours of manual reading. It’s perfect for personal productivity, legal analysis, content creation, or business reporting.
With clean formatting and a professional email summary — your team will get instant insights in seconds!

I can make this much better and build others, If Interested: [email protected]