Triage and draft support replies using Anthropic and Google Sheets
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: HTTP Request Tool (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| HTTP Request Tool (legacy) Search Documents HTTP Request | HTTP Request node connected to the AI Agent's Tool input |
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - HTTP Request Tool
@n8n/n8n-nodes-langchain.toolHttpRequest - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Sheets
n8n-nodes-base.googleSheets
What it does
Quick overview This workflow receives support tickets via webhook (or manual test), uses Anthropic chat models to triage, research your documentation over HTTP, and draft a reply, then either auto-sends or pauses for human approval, and logs outcomes to Google Sheets. How it works 1. Receives a ticket via a POST webhook (or a manual test run that builds a sample ticket) and normalizes the ticket fields. 2. Uses an Anthropic chat model to classify the ticket (category, severity, sentiment, question vs bug, and whether it contains credentials). 3. If credentials are detected, skips AI drafting and produces a fixed security-hold reply with an internal note. 4. If no credentials are detected, uses an Anthropic chat model to fetch and review relevant pages from your docs site via HTTP and extract key facts, suggested resolution, and any docs gap. 5. Uses an Anthropic chat model to draft a customer reply constrained to the research findings, then checks whether it is safe to auto-send based on severity, research coverage, and draft confidence. 6. If auto-send criteria are not met, posts a review message (with Send/Rewrite/Escalate links) to your configured webhook endpoint and pauses until a human decision resumes the run. 7. Appends a ledger row with classification, research, draft, and routing details to Google Sheets and optionally sends a separate docs-gap notification when research finds no answer. Setup 1. Add an Anthropic chat model credential and select it for the triage, research, and drafting chat model nodes. 2. Configure the values in the Settings step, especially your product context, severity definitions, tone guide, docsBaseUrl, autoSendMaxSeverity, and notifyWebhookUrl for reviewer/docs-gap notifications. 3. Create a Google Sheets ledger with the specified header columns, then connect your Google Sheets account and select the target spreadsheet and sheet in the logging step. 4. If using the webhook trigger, copy the Ticket webhook production URL into your helpdesk (POSTing at least text, email, and subject) and test with a manual run before routing real tickets.