Templates / Process invoices & engineering emails with Gmail, AI analysis & Telegram alerts

Process invoices & engineering emails with Gmail, AI analysis & Telegram alerts

Ready for 3.0

by Limbraj More · 977 views · created 2025-07-30 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs on Gmail events. Along the way it connects Gmail, OpenRouter Chat Model and Telegram.

How it runs

Trigger: On Gmail events.

  1. Filter: keeps only the items that match a condition
  2. Get a message (Gmail): get
  3. Edit Fields (Edit Fields (Set)): sets 2 fields: attachments, message_id
  4. Edit Fields (Edit Fields (Set)): sets 2 fields: attachments_metadata, message_id
  5. Merge: merges the data from its input branches
  6. Debugged code to find attachment (Code): runs custom JavaScript code
  7. Split Out: splits a list into separate items
  8. Split Out: splits a list into separate items
  9. Extract from File: extracts data from a file (pdf)
  10. Convert Names to download files (Code): runs custom JavaScript code

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

Services it uses

GmailOpenRouter Chat ModelTelegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).

Nodes used (14)

From the author

Automate admin tasks for manufacturing companies by processing emails, extracting key data from invoices & purchase orders, and delivering instant alerts via Gmail and Telegram. 📝 Description This workflow automatically: Fetches incoming emails from Gmail…

Excerpt from Limbraj More'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.