Handle chat support and escalate unresolved tickets with Google Gemini and Gmail
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Gmail, Google Gemini Chat Model and Google Docs.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- User Facing Support Agent / Escalator (AI Agent): runs an AI agent, with model: FallBack, Google Gemini Chat Model; 1 tool (KnowledgeBase); memory: Simple Memory; output parser: Human Escalate Flag
- User Response (Respond to Webhook): sends the response back to the webhook caller
- If: checks a condition and branches into true / false
- Chat Summarize and Email Draft (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; memory: Simple Memory; output parser: Email Subject and Body Parser
- Escalation_Email (Gmail): uses Gmail
- User Response (Respond to Webhook): sends the response back to the webhook caller
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 (9)
- Respond to Webhook
n8n-nodes-base.respondToWebhook - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - If
n8n-nodes-base.if - Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - Google Docs Tool
n8n-nodes-base.googleDocsTool
From the author
Quick overview This webhook-based customer support workflow uses Google Gemini and a Google Docs knowledge base to answer chat messages, remembers conversation context, and escalates unresolved issues by summarizing the chat and sending a support email via…