Templates / Classify Gmail finance emails with OpenAI and log results to Google Sheets

Classify Gmail finance emails with OpenAI and log results to Google Sheets

Unknown

by Avkash Kakdiya ✓ · 31 views · created 2026-09-29 · Document Extraction, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 41 nodes and runs on a schedule (every hour) (plus 1 other trigger). Along the way it connects Gmail, OpenAI, Google Sheets and Google Drive and 2 more.

How it runs

Trigger: On a schedule (every hour) (plus 1 other trigger).

  1. Fetch All Gmail Messages (Gmail): get many
  2. OpenAI: uses OpenAI
  3. OpenAI: uses OpenAI
  4. Send Discord Alert (Discord): work with message
  5. Send Gmail Message (Gmail): uses Gmail
  6. Process Email Data (Code): runs custom JavaScript code
  7. Route by Label Type (Switch): routes items into 6 branches
  8. OpenAI: uses OpenAI
  9. OpenAI: uses OpenAI
  10. OpenAI: uses OpenAI

…plus 29 more steps. See the full node list below.

Services it uses

GmailOpenAIGoogle SheetsGoogle DriveDiscordPdfbolt (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-pdfbolt is verified or supports 3.0 (used in Convert to PDF).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

Quick overview This workflow runs hourly to read unread Gmail messages, uses OpenAI to classify them, and then files expenses, sales orders, and settlements to Google Sheets with supporting PDFs stored in Google Drive, while labeling and marking processed…

Excerpt from Avkash Kakdiya's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.