Generate visual summary & knowledge graph insights for your email
Ready for 3.0What this workflow does
This AI workflow has 27 nodes and runs when someone submits an n8n form (“Generate a Visual Summary of Your Mailbox”) (plus 2 other triggers). Along the way it connects Google Gemini Chat Model, Gmail and Telegram. It also calls infranodus.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Generate a Visual Summary of Your Mailbox”) (plus 2 other triggers).
- Assign Processing Settings (Edit Fields (Set)): sets or maps fields
- Get Messages by Search Criteria (Gmail): get many
- Was label provided? (If): checks a condition and branches into true / false
- Filter: keeps only the items that match a condition
- Should analyze snippets? (If): checks a condition and branches into true / false
- Should analyze snippets from filtered emails? (If): checks a condition and branches into true / false
- Should use AI to filter emails further? (If): checks a condition and branches into true / false
- Get Full Message Content (Gmail): get
- Message text or snippet present? (Filter): keeps only the items that match a condition
- Text field present? (If): checks a condition and branches into true / false
…plus 13 more steps. See the full node list below.
Services it uses
HTTP calls to: infranodus.com
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.
Nodes used (15)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - If
n8n-nodes-base.if - Filter
n8n-nodes-base.filter - Gmail
n8n-nodes-base.gmail - Text Classifier
@n8n/n8n-nodes-langchain.textClassifier - Aggregate
n8n-nodes-base.aggregate - Wait
n8n-nodes-base.wait - Telegram
n8n-nodes-base.telegram - n8n Form Trigger
n8n-nodes-base.formTrigger - Switch
n8n-nodes-base.switch - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
The Ultimate Gmail Analysis and Visual Summarization Template This workflow showcases various useful Gmail search, filter, and AI categorization operations and generates a knowledge graph for your mail using the InfraNodus GraphRAG API, which you can use to…