LOW / CODEBlueprints
customer-supportai

AI Ticket Classifier & Smart Router

New support tickets submitted via Typeform are classified by Claude AI into categories (billing, technical, feature request, urgent) and automatically routed to the right Slack channel, with a log in Google Sheets for tracking.

Intermediate~20 minn8nMake.com 366 downloads 731 views

Setup Instructions

1. Create a Typeform with fields: Customer Name, Email, Subject, Description, Priority (dropdown: Low, Medium, High, Critical). 2. Create Slack channels for each support category: #billing-support, #tech-support, #feature-requests, #urgent-escalations. 3. In your automation platform, add a Typeform trigger node connected to your support form. 4. Add an HTTP Request node to call the Claude API (POST https://api.anthropic.com/v1/messages). Set headers: x-api-key: {{YOUR_ANTHROPIC_API_KEY}}, anthropic-version: 2023-06-01, Content-Type: application/json. Use model claude-sonnet-4-20250514. 5. In the request body, send the ticket subject and description. Instruct Claude to return JSON with "category" (one of: billing, technical, feature_request, urgent) and "confidence" (0-1). If priority is Critical, always classify as urgent. 6. Add a Router/Switch node that reads Claude's category output and routes to the corresponding Slack channel node. 7. Add a Google Sheets node to log every ticket: Timestamp, Customer, Email, Subject, AI Category, Confidence Score, Slack Channel, Status. 8. Test by submitting sample tickets with different topics and verifying they land in the correct Slack channels.
Troubleshooting
**Claude classifying everything as one category:** Your prompt likely lacks enough distinction between categories. Add 1-2 example tickets per category in your prompt as few-shot examples to anchor classification. **Urgent tickets not escalating fast enough:** Add a parallel branch that sends an @channel mention or DM to the on-call person when category is "urgent" and confidence > 0.8. Do not rely solely on channel routing for urgent issues. **Typeform webhook delays:** Typeform webhooks can have 1-2 minute delays. If real-time is critical, poll the Typeform API every 30 seconds instead of relying on the webhook trigger. **Google Sheets logging duplicate tickets:** Add a deduplication check using the Typeform response ID. Query the sheet for the response ID before inserting to avoid duplicates from webhook retries.

Need a custom version?

We can build a tailored automation workflow for your specific needs.

New blueprints weekly

Get notified when we publish new automation workflows.