AI-powered email support router with Gmail, ChatGPT-4o, and Slack
Ready for 3.0Ready 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 9 nodes and runs on Gmail events. Along the way it connects Gmail, Slack, OpenAI and Supabase.
How it runs
Trigger: On Gmail events.
- Get a row (Supabase): get
- If: checks a condition and branches into true / false
- Message a model (OpenAI): uses OpenAI
- Switch: routes items into 2 branches
- Send a message (Slack): uses Slack
- Send a message (Slack): uses Slack
- Create a row (Supabase): uses Supabase
- Mark a message as read (Gmail): mark as read
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) (Gmail Trigger).
Nodes used (7)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Slack
n8n-nodes-base.slack - OpenAI
@n8n/n8n-nodes-langchain.openAi - Supabase
n8n-nodes-base.supabase - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail
From the author
This n8n template automates your customer support workflow by connecting Gmail, OpenAI, Supabase, and Slack. It listens for new incoming emails, classifies them using AI, routes them to the appropriate Slack channel based on category (e.g., support or new…