🎫 Triage support tickets with Claude Sonnet, Infini Analytics, and Slack

⚑ 8 views · 🎫 Ticket Management & Triage

Description

Quick overview

Automatically triage incoming support tickets with an AI agent powered by Claude Sonnet. High-confidence responses are sent instantly, low-confidence cases escalate to a human on Slack, and every step is logged in Infini Analytics for full observability.

How it works

  1. A webhook receives the incoming support ticket and generates a unique execution_id to correlate every event of this run.
  2. Infini Analytics logs a START event for the execution.
  3. An AI Agent (Claude Sonnet) reads the ticket, optionally queries a knowledge base data table, and drafts a response with a confidence score.
  4. The agent logs structured ticket data via a data table tool (Infini Analytics records this as an EVENT).
  5. An IF node checks the confidence: high-confidence tickets get an automatic reply and log an EVENT; low-confidence tickets escalate to a human on Slack and log a WARNING.
  6. Infini Analytics logs the final END event, or an ERROR event if any step failed along the way.

Setup

  1. Import this workflow into your n8n instance and open it in the editor.
  2. Create an Anthropic credential with your Claude API key and select it in the AI Agent node
  3. Create an Infini Analytics credential with your Bearer Token, then paste your Automation ID (from analytics.infini.es) into each Infini Analytics node.
  4. Create a Slack credential and choose the channel or user that should receive escalated tickets.
  5. Replace the Webhook trigger with your helpdesk’s outgoing webhook, or trigger it manually to test the flow end to end.

Requirements

Customization

Additional info

All events share the same execution_id, so you can see the full lifecycle of each ticket β€” from START to END or ERROR β€” in one place on your Infini Analytics dashboard.

πŸ”— Nodes Used

Slack, Webhook, AI Agent, Anthropic Chat Model, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup