Triage support tickets and draft safe replies with OpenAI, Gmail, and Data Tables
Ready for 3.0What this workflow does
This AI workflow has 63 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects OpenAI and Gmail.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Validate Support Intake Token (Code): runs custom JavaScript code
- Validate Support Approval Token (Code): runs custom JavaScript code
- Find Unsent Support Review Alerts (Data table): get (row)
- Support Intake Authorized? (If): checks a condition and branches into true / false
- Support Approval Authorized? (If): checks a condition and branches into true / false
- Build Unsent Support Review Alert (Code): runs custom JavaScript code
- Normalize Support Intake (Code): runs custom JavaScript code
- Respond Support Intake Unauthorized (Respond to Webhook): sends the response back to the webhook caller
- Normalize Support Approval (Code): runs custom JavaScript code
- Respond Support Approval Unauthorized (Respond to Webhook): sends the response back to the webhook caller
…plus 50 more steps. See the full node list below.
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.
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Respond to Webhook
n8n-nodes-base.respondToWebhook - OpenAI
@n8n/n8n-nodes-langchain.openAi - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick Overview This workflow receives support requests via a webhook, authenticates and redacts the message, matches it to a closed knowledge base, and uses OpenAI to draft a grounded reply for human approval, storing ticket state in n8n Data Tables and…