Triage and route inbound emails with OpenAI, Slack, Gmail, and Sheets
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs when a new email arrives over IMAP. Along the way it connects OpenAI, Slack, Google Sheets and Gmail.
How it runs
Trigger: When a new email arrives over IMAP.
- AI Classify (OpenAI): uses OpenAI
- Confidence Gate (If): checks a condition and branches into true / false
- Human Review Queue (Slack): uses Slack
- Route by Category (Switch): routes items into 2 branches
- Audit Log (Google Sheets): append
- Alert Team Chat (Slack): uses Slack
- Append to Ledger (Google Sheets): append
- Label + Archive (Gmail): add labels
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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.
Nodes used (7)
- Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - OpenAI
@n8n/n8n-nodes-langchain.openAi - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow polls an IMAP inbox, uses OpenAI to classify each email by urgency, and then routes it to Slack, Google Sheets, or Gmail based on category and confidence, while logging every decision to a Google Sheets audit log. How it works 1.…