Route and prioritize Gmail support tickets to Notion with Gemini AI and Slack alerts
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail, Google Gemini Chat Model, Notion and Slack.
How it runs
Trigger: On Gmail events.
- Extract email fields (Edit Fields (Set)): sets 4 fields: emailFrom, emailSubject, emailBody…
- Classify ticket with AI (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini
- Parse AI classification (Code): runs custom JavaScript code
- Create ticket in Notion (Notion): work with database page
- Is critical priority (If): checks a condition and branches into true / false
- Alert team on Slack (Slack): uses Slack
- Post ticket summary to Slack (Slack): uses Slack
Services it uses
Other Gmail + Slack templates (957) · Other Google Gemini + Gmail templates (518) · Other Google Gemini + Slack templates (309)
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 for support emails).
Nodes used (8)
- Gmail Trigger
n8n-nodes-base.gmailTrigger - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Code
n8n-nodes-base.code - Notion
n8n-nodes-base.notion - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
From the author
Who is this for Customer support teams and operations managers who receive support requests via email and need automated triage. Works well for small to mid-size teams using Notion as their ticket tracker. What this workflow does This workflow watches a Gmail…