Sort and manage your Gmail inbox with Vertex AI and Google Tasks
Ready for 3.0What this workflow does
This AI workflow has 30 nodes and runs on a schedule (every day at 17:00). Along the way it connects Gmail, Google Vertex Chat Model and Google Tasks.
How it runs
Trigger: On a schedule (every day at 17:00).
- Fetch daily emails. (Gmail): get many
- Time Saving Node (Track Time Saved): uses Track Time Saved
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Analyze importance and reply needs via AI (Information Extractor): extracts structured fields from text with AI, with model: Google Vertex Chat Model
- Combine email data: Subject, Snippet & Sender (Aggregate): combines items into one
- Combine email data: Subject, Snippet & Sender. (Aggregate): combines items into one
- removing all previous n8n tags (Gmail): remove labels
- Apply n8n Sorted label (Gmail): add labels
- Rank items by importance (Switch): routes items into 3 branches
…plus 12 more steps. See the full node list below.
Services it uses
Other Gmail + Google Tasks templates (17) · Other Gmail + Google Vertex AI templates (2)
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 Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty (Filter: Reply required., Rank items by importance).
- If/Switch with “Always Output Data”: in 3.0 the empty item only appears when every output is empty, so a branch relying on an empty item may silently stop.
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Track Time Saved
n8n-nodes-base.timeSaved - Gmail
n8n-nodes-base.gmail - Google Vertex Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleVertex - Google Tasks Tool
n8n-nodes-base.googleTasksTool - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Switch
n8n-nodes-base.switch - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
AI Gmail Manager: Sort, Draft & Summarize Transform your chaotic inbox into a streamlined productivity hub! This advanced n8n workflow acts as your personal AI executive assistant. It automatically reads, categorizes, and summarizes your daily emails,…