Templates / Organize Gmail inbox with Groq AI, Google Sheets and Google Tasks

Organize Gmail inbox with Groq AI, Google Sheets and Google Tasks

Ready for 3.0

by WeblineIndia ✓ · 73 views · created 2026-04-22 · Document Extraction, 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 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.

  1. Normalize Email Fields (Edit Fields (Set)): sets or maps fields
  2. AI Agent: runs an AI agent, with model: Groq Chat Model
  3. Merge: merges the data from its input branches
  4. Extract & Clean Category (Edit Fields (Set)): sets or maps fields
  5. Log data to Google Sheets (Google Sheets): append
  6. Route Based on Category (Switch): routes items into 4 branches
  7. Apply Work Label (Gmail): add labels
  8. Apply Personal Label (Gmail): add labels
  9. Apply Finance Label (Gmail): add labels
  10. Apply Newsletter Label (Gmail): add labels

…plus 1 more step. See the full node list below.

Services it uses

GmailGroq Chat ModelGoogle TasksGoogle Sheets

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)

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…

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