Triage customer support tickets from Gmail and forms with OpenAI, Slack and Sheets
Ready for 3.0What this workflow does
This AI workflow has 9 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Google Sheets, Gmail, Slack and OpenAI Chat Model.
How it runs
Trigger: On Gmail events (plus 1 other trigger).
- Normalize Channel Inputs (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Parse AI + Merge Ticket (Code): runs custom JavaScript code
- Slack: uses Slack
- Records (Google Sheets): append
- Gmail: uses Gmail
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 (8)
- Google Sheets
n8n-nodes-base.googleSheets - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail Trigger
n8n-nodes-base.gmailTrigger - n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
How it works Listens for new support requests from Gmail and a web form simultaneously, normalizing both into a single ticket schema Routes each ticket through an OpenAI powered triage agent that classifies priority, category, and sentiment Fans the result to…