Block 1 - Categorize Email
- Type / Role
- @n8n/n8n-nodes-langchain.openAi - openAi
- Config choices
- Version 1.8
Automatically organise your Gmail inbox using AI. This workflow categorises every incoming email and applies Gmail labels, keeping only important emails in your inbox while filing everything else a...
@n8n/n8n-nodes-langchain.openai, n8n-nodes-base.filter, n8n-nodes-base.gmail, n8n-nodes-base.gmailtrigger, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Zac Nielsen.
Original n8n.io sourceAutomatically organise your Gmail inbox using AI. This workflow categorises every incoming email and applies Gmail labels, keeping only important emails in your inbox while filing everything else automatically.
Who is this for? Anyone overwhelmed by email clutter who wants inbox zero without manual sorting.
How it works
Prerequisites
Setup steps
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Categorise and label Gmail emails with GPT-4o and OpenAI |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Ticket Management, AI Summarization |
| Author | Zac Nielsen |
| Published | 05 Feb 2026 |
Use the JSON export at /data/workflows/13221/13221.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Automatically organise your Gmail inbox using AI. This workflow categorises every incoming email and applies Gmail labels, keeping only important emails in your inbox while filing everything else a...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Ticket Management, AI Summarization use case.