Quick overview
Quick overview This workflow receives support questions via a webhook, retrieves relevant context from Pinecone using Voyage AI embeddings, and uses Anthropic Claude to draft a grounded, cited answer. It auto-replies when confidence is high, otherwise escalates to Zendesk and Slack, and logs every interaction to Google Sheets. How it works Receives a customer support query via an HTTP webhook and keeps the connection open for a synchronous response. Normalizes the incoming payload (query text, customer/ticket identifiers, and product line) and generates an embedding with Voyage AI. Searches Pinecone for the most relevant documentation chunks in the matching namespace, then deduplicates/ranks results and builds a numbered context block with retrieval confidence scores. If retrieval confidence is sufficient, sends the question plus context to Anthropic Claude to generate a JSON answer with citations, then validates cited sources and checks confidence and escalation keywords. If the request qualifies for auto-answer, replies to the webhook with the grounded answer and cited sources and tags the Zendesk ticket as auto-resolved. If retrieval is weak or escalation is required, creates an escalation package, opens/updates a Zendesk ticket, notifies the support team in Slack, and replies to the webhook with an escalation notice. Logs the query, retrieval metrics, decision path, and sources used to Google Sheets for auditing and improvement. Setup Add credentials for Voyage AI (HTTP header auth), Pinecone (HTTP header auth), Anthropic (HTTP header auth), Zendesk, Slack, and Google Sheets. Replace the Pinecone query URL with your index host and confirm the namespace strategy matches your productLine values. Connect the Google Sheets node to your logging spreadsheet and worksheet and ensure the target columns exist for the appended fields. Configure Zendesk and Slack targets (ticket fields/tags and the Slack channel) to match your support workflow. Adjust the retrieval threshold and auto-reply/escalation rules in the code steps (confidence thresholds and keyword list) to match your risk tolerance. Copy the webhook URL and configure your chat widget, email-to-webhook, or helpdesk integration to POST queries to it. An n8n automation workflow template by Oneclick AI Squad.
Oneclick AI Squad
web
free
Others in the same category, ranked by how often they are opened.