How do you analyze Zendesk tickets with ChatGPT or Claude?
Short answer
ยท 6 min read
What are the exact steps to analyze Zendesk tickets with ChatGPT or Claude?
Running a ticket analysis in ChatGPT or Claude follows a five-step procedure.
Pull a bounded sample from Zendesk using the Incremental Exports endpoint, which retrieves tickets created or updated since a given time with cursor-based pagination, per Zendeskโs developer documentation (checked November 2026). A few hundred tickets is enough to check whether a contact reason taxonomy holds up, but not enough to report on volume or seasonal trend.
Flatten each ticketโs subject and comment thread into one text field. Drop attachments; a text classification prompt rarely needs them and they add cost, not signal.
Redact personal data before any text leaves your environment. PII redaction for support tickets means stripping names, emails, phone numbers, addresses, and account or payment identifiers, replacing them with placeholders rather than passing them through. See PII redaction for what a redaction step should remove.
Write a prompt that pins a closed list of contact reasons and forces strict JSON output, for example
{"ticket_id":"string","contact_reason":"string","sub_reason":"string","root_cause":"string","confidence":"number"}. Run it at low temperature in batches, logging raw output against each ticket id.Validate against humans. Have a reviewer independently label 50 to 100 of the same tickets, then compute agreement between human and model labels. Only trust categories where agreement clears your own bar.
A closed contact reason taxonomy buys comparability across runs, at the cost of an โotherโ bucket that quietly absorbs issues you havenโt named yet.
How do you connect Zendesk to Claude or ChatGPT without copy-paste?
You connect Zendesk to Claude or ChatGPT without copy-paste by pulling tickets through an API script, or by wiring up a connector that lets the model call Zendesk directly. One term is worth pinning down first: Model Context Protocol (MCP) is an open protocol, published by Anthropic in November 2024, that lets a model client call tools and read resources exposed by a server, so the assistant queries tickets directly instead of reading pasted text.
Path | What it does | Where data is processed | Best for |
|---|---|---|---|
Zendesk REST API, own script | Pulls tickets via endpoints like incremental exports, feeds them to a model API | Wherever your script runs, plus the model API you call | Scheduled, repeatable batch jobs |
Zendesk MCP server (reached through Zendesk Bridge, in early access by enrollment since November 10, 2026, with general availability referenced for 2027, per Zendeskโs help center Bridge FAQ) | Exposes Zendesk tools and resources to an MCP client | Zendesk-hosted server plus the connecting client | Interactive agent access; not yet generally available as an external-facing server at publish date |
Claude connectors / remote MCP | Lets Claude call external tools over MCP as a client, through custom connectors to a remote MCP server, per Anthropicโs help center (November 2026) | Anthropicโs infrastructure plus the connected server | Ad hoc exploration inside Claude |
ChatGPT connectors | Lets ChatGPT call tools on a custom MCP server, with read and write actions on Business and Enterprise/Edu plans and read/fetch only on Pro, per OpenAIโs help center (November 2026) | OpenAIโs infrastructure plus the connected server | Ad hoc exploration inside ChatGPT |
The mechanical difference that matters is determinism. An API script gives you a batch job: same query, same time window, same output structure, rerunnable on a schedule and diffable against last weekโs run. A connector gives you an agent that decides its own queries in the moment, useful for a weird ticket cluster but a poor fit for a report you need to reproduce identically next month.
Where does DIY ticket analysis break once you run it every week?
The failure modes a one-off sample hides become structural once the pipeline runs weekly, unsupervised, on full volume.
Ticket taxonomy drift. Each fresh prompt run invents its own wording for new tickets, so โbilling disputeโ one week becomes โpayment issueโ the next, and a trend line silently compares different categories. The fix is a pinned label list checked against prior runs, which is a small classification service you now have to maintain.
Cost at full coverage. Model API usage is billed by the token, so cost grows with every ticket. At an illustrative planning figure of 4,000 tokens per ticket that you should recompute against your own ticket corpus, 10,000 tickets a week means about 40 million input tokens alone, before output tokens, retries, or a second channel like voice.
No repeat-contact join. A per-ticket prompt only sees one ticket, so it canโt know the same customer wrote again four days later about the same issue. Without that join you canโt tell a resolved issue from one that was merely deflected.
No audit trail. Ad hoc runs leave no record of which prompt version, model snapshot, and sample produced last monthโs number, so the result isnโt reproducible when challenged.
Personal data in prompts. Anything not redacted before the call sits in a vendorโs logs under whatever retention terms apply at that date. Review your security posture against something like enterprise security controls before sending anything.
Model version churn is a quiet sixth cause: the same prompt against a newer model snapshot can return a different label distribution with no code change on your side, defeating Zendesk ticket analysis automation that assumes a fixed model behind the API.
When is a prompt enough and when do you need a Zendesk app?
A prompt is enough for a single question answered once. A Zendesk app earns its keep once the same question has to run every week or cover every ticket.
Job to be done | What works | Operating cost |
|---|---|---|
One-off question | A redacted export plus a single prompt | An afternoon; no repeat run means no drift to manage |
Weekly or monthly reporting | A pinned taxonomy, stored label history, a rerun you can defend against last monthโs numbers | Viable only if someone owns it; the real cost shows up once the model version changes underneath you |
QA on every ticket plus resolution verification | 100 percent coverage, a cross-ticket repeat-contact join, an audit trail | This is where an installed Zendesk app replaces the script |
The middle and bottom rows carry maintenance line items a one-off prompt never does: taxonomy versioning, an evaluation set kept current as ticket language shifts, a redaction pipeline that doesnโt quietly degrade, retry handling against API limits, cost monitoring as token prices change, and someone on call for a silently failed run.
The verdict follows from repetition, not from how important the question feels. Answered once, build nothing. Returning every week, the script becomes a product you didnโt plan to own, with its own on-call rotation and its own slow accumulation of edge cases.
How does OnClarity help with this?
OnClarity (www.onclarity.com) is an AI customer experience platform that helps teams resolve, score and understand every customer conversation. In Zendesk it runs as a Marketplace app with Agent QA covering both human and AI agent answers, verified resolution checks, contact reasons and emerging issues.
For every AI agent conversation counted as resolved, it checks whether the customer came back about the same issue within 7 days and scores the answer, producing a verified resolution rate, a false resolution rate, and a repeat contact rate by topic. That check uses ticket evidence only; it does not read refund, order or billing systems.
It works in full on Suite Team and above. A 30-day free trial runs on your own tickets, no card required, starting when a Zendesk admin installs the app. OnClarity is SOC 2 Type II Certified and GDPR & HIPAA Ready.
Install at onclarity.com/zendesk, or ask your Zendesk admin.
Frequently asked questions
Is it safe to send Zendesk customer data to ChatGPT or Claude?
It depends on redaction, not on the vendor. Stripping names, emails, phone numbers, addresses, and account or payment identifiers before text leaves Zendesk is the baseline. Route redacted output through whichever path youโve chosen, API script, Zendesk MCP server, or a connector, and check each vendorโs retention terms for the date youโre reading this.
How accurate is LLM ticket tagging compared with human tagging?
Thereโs no honest answer without a comparison set. Label 50 to 100 tickets by hand, run the same tickets through the model, then measure agreement between the two sets directly, rather than trusting an unverified accuracy claim. Any number quoted without a human-labeled sample behind it should be treated as unverifiable until youโve run that check yourself.
Can Claude or ChatGPT give the same contact reason report every week?
Not reliably through an interactive connector session, where the model chooses its own queries each time. A scripted, versioned pipeline with a pinned taxonomy and logged prompts is the reproducible path. A connector session suits one-off exploration better than a report you need to match identically next month.
Key terms
Text classification
Text classification is the task of assigning a piece of text to one or more predefined categories. In multi-class setups, each text gets exactly one label. In multi-label setups, it can carry several labels at once. Intent recognition, topic assignment, and auto-tagging are all applications of this underlying task. For example, an inbound email might be classified as both "billing dispute" and "churn risk" at the same time. That dual label determines which queue the email enters and whether it triggers an alert. Classification quality depends heavily on label definitions being clear and consistently understood across teams; a vague label like "other" tends to absorb anything that doesn't fit an obvious category. OnClarity's Voice of Customer applies this structure when sorting incoming feedback for routing and reporting.
Intent taxonomy
An intent taxonomy is the structured list of intents a support operation recognises and reports on. A good taxonomy is granular enough to drive different actions and stable enough to trend over time; taxonomies that grow uncontrolled become unusable for reporting well before routing.
Large language model
A large language model is the model class behind modern conversational AI, summarisation, and reply drafting. Trained on broad text corpora, it predicts language fluently but holds no inherent knowledge of a specific business, which is why grounding and retrieval are required before answering customer questions.
Model drift
Model drift is the quiet degradation in AI performance that occurs as products, policies, and customer language change while the model and its knowledge stay fixed. Drift rarely announces itself; it appears as a slow rise in escalations and fallbacks on intents that previously performed well.
More answers on Voice of Customer
How do you find why customers contact you from Zendesk tickets without manual tagging?
Zendesk auto tagging and agent-applied tags can't explain why customers contact you, because agents pick the nearest tag under time pressure. Build a two-level contact reason taxonomy from 3 to 6 months of tickets, classify every ticket against it automatically, validate against a human sample, then track reason volume and repeat contacts weekly.
What does Zendesk intelligent triage do, and what can you use on Suite Team?
Zendesk intelligent triage automatically tags intent, sentiment, language and entities on new support tickets, writing each result to a field that triggers and reports can use. Since July 2026, per Zendesk's help center, it ships with Suite and Support Professional plans and above; triggers need the Copilot add-on. On Suite Team, you need a Marketplace app for the same classification.
How do you export Zendesk tickets for analysis?
Four routes exist, and only two return comment text. Explore and view CSV exports give ticket metadata only; the Admin Center JSON export and the Incremental Exports API include comment bodies. How you export tickets from Zendesk should depend on whether your analysis needs a subject line or the full conversation.
What should a social listening report include?
A social listening report should include seven parts: the headline change, mention volume against a baseline, sentiment and net sentiment, top topics, share of voice, notable posts, and actions with named owners. Without a volume baseline, reports that show only mentions and sentiment make every negative week look like a crisis.
