How to import support tickets from Intercom and classify difficulty on a scale from “very easy” to “very hard.”
Support tickets are chock full of valuable information that you can use across every department in your business. For example, we use support tickets to catalog bugs, reference recurring issues, find support article topics, and identify Fin AI (Intercom’s AI agent) success rate.
But in this specific Claybook, we’re going to show you how to import support conversations and classify the complexity of a ticket as “very easy,” “easy,” “medium,” “hard,” or “very hard.”
Scoring support tickets by difficulty might sound like overkill—but it’s actually a game-changer.
When you classify tickets from very easy to very hard, three big things happen:
In short: it’s not just about labeling tickets—it’s about leveling up your entire support operation.
How it works:
First, copy this template in Clay.
If you’re already a user, you’ll be directed to your workspace. If not, you’ll be prompted to create a free Clay account.
The interactive demos on the right will walk you through each step of this Claybook.
This happens in two phases: first, connect to Intercom via webhook (column one) and import conversation IDs from Intercom; second, using HTTP API and the conversation IDs, import all support ticket transcripts into Clay too.
Next, we analyze all support responses and clean them of any irrelevant information that doesn’t directly address the customer’s issue, like “Happy to help!” or “Can you send the table link?”
This leaves you with a “Cleaned Support Response” column focused only on useful, issue-solving content. It helps reduce noise and avoid AI hallucinations later on.
Next, we use formulas to calculate:
Add, delete, or customize the formulas and AI prompts in this step (all blue-colored columns) to fit your business and industry.
Next, we extracted client messages into CLIENT_RESPONSE, counted them, and ranked their volume—more messages often meant higher complexity. We then flagged frustrations, troubleshooting attempts, and topic count to identify harder tickets. Last, we used AI to infer client experience and receptiveness, which impact resolution time.
Add, delete, or customize the formulas and AI prompts in this step (all yellow-colored columns) to fit your business and industry.
Next, we used only the support agent’s messages (SUPPORT_AGENT_RESPONSE) to detect bugs, avoiding false flags from clients mislabeling issues. The Bug Detection column flags the bug and shows the triggering message. If flagged, Bug Functionality reads the full convo to identify the broken enrichment and summarize what the client was doing. Splitting this into two steps reduced hallucinations and improved accuracy.
Customize the AI prompt and outputs in this step (all green-colored columns) to fit your business and industry.
Last, we used ChatGPT-4 and Claude 3.7 to rate ticket difficulty (Ticket Complexity 1 and 2). If their ratings were close, we averaged them. If they differed by 2+ levels—or disagreed on “medium”—we flagged it. Binary Response Complexity forced a choice between the two. If confidence was low, Ticket Difficulty Reasoning Model reviewed both explanations and chose the stronger one.
Add, delete, or customize the formulas and AI prompts in this step (all violet-colored columns) to fit your business and industry.
Start classifying support ticket difficulty so you can level up your entire support organization.
Simply copy this template, follow the steps above, and let Clay work its magic.
If you have any issue, you can ask for help in Slack or schedule time with a Clay expert.
Check out Clay University, read our GTM blog, or try out our top templates to transform your growth ideas into outreach in minutes.