Organize Gmail inbox with Groq AI, Google Sheets and Google Tasks
Ready for 3.0What this workflow does
This AI workflow has 13 nodes and runs on Gmail events. Along the way it connects Gmail, Groq Chat Model, Google Tasks and Google Sheets.
How it runs
Trigger: On Gmail events.
- Normalize Email Fields (Edit Fields (Set)): sets or maps fields
- AI Agent: runs an AI agent, with model: Groq Chat Model
- Merge: merges the data from its input branches
- Extract & Clean Category (Edit Fields (Set)): sets or maps fields
- Log data to Google Sheets (Google Sheets): append
- Route Based on Category (Switch): routes items into 4 branches
- Apply Work Label (Gmail): add labels
- Apply Personal Label (Gmail): add labels
- Apply Finance Label (Gmail): add labels
- Apply Newsletter Label (Gmail): add labels
…plus 1 more step. See the full node list below.
Services it uses
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) (Watch Incoming Emails).
Nodes used (9)
- Gmail
n8n-nodes-base.gmail - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Merge
n8n-nodes-base.merge - Google Tasks
n8n-nodes-base.googleTasks - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - Gmail Trigger
n8n-nodes-base.gmailTrigger
From the author
Smart Inbox Organizer using Gmail, Groq AI, Google Sheets & Google Tasks This workflow automatically organizes your Gmail inbox using AI. It reads every incoming email, classifies it into Work, Personal, Financial or Newsletter, applies the correct Gmail…