Templates / Automate Gmail inbox organization with rule-based categorization and smart actions

Automate Gmail inbox organization with rule-based categorization and smart actions

Ready for 3.0

by Solido AI ✓ · 42,105 views · created 2025-07-01 · Ticket Management, 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 workflow has 7 nodes and runs on Gmail events. Along the way it connects Gmail.

How it runs

Trigger: On Gmail events.

  1. Categorize Email by Content (Switch): routes items into 3 branches
  2. Apply Work Label (Gmail): add labels
  3. Apply Shopping Label (Gmail): add labels
  4. Apply Newsletter Label (Gmail): add labels
  5. Mark Work Email as Important (Gmail): mark as important
  6. Archive Newsletter Email (Gmail): add labels

Services it uses

Gmail

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) (New Email Received).

Nodes used (3)

From the author

- How it works: The organizer continuously monitors your Gmail inbox. It analyzes sender and subject to categorize emails (Work, Purchases, Newsletter) and automatically applies labels. Based on the category, it performs specific actions, such as marking…

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