{"site":{"name":"Koji","description":"AI-native customer research platform that helps teams conduct, analyze, and synthesize customer interviews at scale.","url":"https://www.koji.so","contentTypes":["blog","documentation"],"lastUpdated":"2026-11-23T01:15:58.524Z"},"content":[{"type":"documentation","id":"5a71a601-1235-46ec-9baf-63a143fa03bf","slug":"zendesk-research-integration","title":"Zendesk + Koji: Trigger AI Interviews from Support Tickets and Sync Insights Back to Every Conversation","url":"https://www.koji.so/docs/zendesk-research-integration","summary":"The Koji + Zendesk integration works in both directions and needs no native app. From Zendesk into Koji: a Zendesk trigger emails the requester your study link when a ticket is solved, CSAT is low, or a tag like churn-risk is applied; for ticket-level tracking, the trigger's webhook calls your own service, which starts the interview through Koji's Start Interview endpoint with the ticket ID as respondent.external_id and runs the conversation through the message endpoint. For batch follow-ups, Koji can also email the invitation and a reminder itself on paid plans, with sent, opened and started tracking. From Koji back into Zendesk: Koji has no outbound webhooks, so a scheduled worker polls the read endpoint and, once an interview has ended and its analysis is present, calls the Zendesk API to add an internal note with top themes, sentiment, quality score, and a response link, and applies insight and sentiment tags. Three setup paths exist: a trigger with the study link, batch CSV import with personalised links, or the headless API from your own middleware. Studies use Koji's six structured question types so a single_choice root-cause question maps to your ticket taxonomy. The API, API keys and MCP connector are included on the Interviews and Enterprise plans; outbound webhooks are not available yet.","content":"# Zendesk + Koji: Turn Support Tickets Into AI Interviews That Explain the Root Cause\n\n**Answer first:** A Zendesk ticket tells you a customer had a problem; it rarely tells you *why the problem mattered, what they expected, or whether they are now a flight risk*. Koji closes that gap. The integration works in both directions: (1) a Zendesk **trigger** invites the customer to a Koji AI-moderated interview when a ticket is solved, a CSAT rating comes in low, or a specific tag is applied, and (2) once the interview is analyzed, a small worker posts a concise insight summary back onto the ticket as an **internal note and tags**: sentiment, top themes, quality score, and a link to the response. No native Zendesk app is required. Zendesk's own triggers handle the invitation, Koji's headless API ties an interview to a ticket ID, and a Koji webhook handles the way back: each time a customer finishes, Koji sends your small service a signed message carrying the ticket ID you passed in. A first version is live in well under an hour.\n\nThe result is a support org that does not just resolve tickets. It systematically learns from them, at a scale no manual QA or callback program can match.\n\n## Why connect Zendesk and Koji\n\nSupport conversations are the largest, most honest stream of customer signal most companies own, and the least mined. The ticket text captures the *symptom* (\"export is broken\") but almost never the *stakes* (\"I nearly cancelled because I present this to my CEO every Monday\"). Traditional follow-up options are weak: a one-question CSAT survey with no depth, or an agent-initiated callback that does not scale past a handful a week.\n\nKoji's AI moderator interviews the customer conversationally, asks adaptive follow-up questions, and works in text or voice across 30+ languages, so you can follow up on hundreds of tickets a week without adding headcount. Every resolved ticket can become a two-minute \"what really happened\" interview, and every low CSAT score can trigger a structured root-cause conversation instead of a lost customer.\n\n## What flows in each direction\n\n### Zendesk → Koji (invite customers from ticket events)\n- A Zendesk **trigger** fires on an event you choose (ticket solved, CSAT = bad, tag `churn-risk` added, priority = urgent escalated).\n- **Simplest version:** the trigger's email notification to the requester includes your study's interview link. Koji runs and analyzes the interview, but it does not know which ticket it came from, so this suits aggregate learning rather than ticket-level write-back.\n- **Ticket-linked version:** the trigger's webhook calls your own small service, which calls Koji's [Start Interview endpoint](/docs/starting-interviews-via-api) with a `respondent` object: the ticket ID as `external_id`, the requester's name as `display_name`, and anything else useful (ticket tags, locale) in `metadata`. The endpoint returns an `interview_id` and a session token, and your service runs the conversation in your own help-center page or widget through the message endpoint. The study is resolved from the API key, so each key belongs to one study.\n- On the ticket-linked path, Zendesk or your own mailer delivers the invitation. For batch follow-ups, Koji can also send the invitation email itself (see path 2).\n\n### Koji → Zendesk (insights land back on the ticket)\n- Add a webhook to the study (Integrate, then Webhooks). Each time a customer finishes, Koji POSTs a signed `interview.completed` message to your service, retried if it is down and logged so you can resend. Webhooks are on every paid plan, not Free.\n- The message carries the `external_id` you set at start (your ticket ID) and a quality score, so the service knows which ticket to update. It then calls `GET /api/v1/interviews/{id}` for the themes, sentiment and summary. On Free, a scheduled worker polling that endpoint does the same job.\n- The worker calls the **Zendesk API** to add an internal note to the original ticket with the top themes, sentiment, quality score, and a link to the response in Koji, and to apply tags like `insight:pricing-confusion` or `sentiment:frustrated`.\n- Agents and CX leads see the \"why\" attached to the very ticket that prompted it.\n\n## Ticket events worth interviewing\n- **Solved tickets:** a lightweight \"did we actually fix the underlying job?\" check.\n- **Low CSAT / detractor ratings:** a structured root-cause interview while it is fresh (see [churn interview questions](/docs/churn-interview-questions)).\n- **Churn-risk or cancellation tags:** route straight to a [cancel-flow exit interview](/docs/cancel-flow-exit-interview).\n- **Feature-request tickets:** probe the underlying need, not just the asked-for feature.\n- **Repeated escalations:** understand the cumulative frustration a single ticket hides.\n\n## Setup: three paths\n\n**1. Zendesk trigger with your study link (no code).** Create a trigger whose conditions match the event and whose action emails the requester with your Koji interview link. You get themed, aggregated insight in the Koji report within minutes of setup. There is no per-ticket write-back on this path.\n\n**2. Personalised invite links in batches.** Export the requesters you want to hear from (for example, last week's detractors) and import them into Koji as a CSV. Koji creates a personal interview link for each person, and each response is tied to that person in Koji. Send the links from Zendesk or your mailer, or import the requesters into Participants, save them as an audience and let Koji email the invitation and a reminder from the Self-recruit tab of the study. Each person gets their own link, and you can see who received the email, opened it and started the interview. See [Connect Koji to Zapier](/docs/zapier-research-automation) if you want to automate the export.\n\n**3. Headless API from your own middleware (ticket-linked).** If you already run a support-automation service, have the Zendesk webhook call it, start interviews through Koji's [headless API](/docs/headless-api-overview) with the ticket ID as `external_id`, and let a Koji webhook tell it when each interview is done; see [Webhook Setup](/docs/webhook-setup) for the payload and the signature check.\n\n## Design the interview so it maps to your taxonomy\n\nKoji's **structured questions** make the returned data align with how your CX team already thinks. A study can mix six types: `open_ended`, `scale`, `single_choice`, `multiple_choice`, `ranking`, and `yes_no`. A `single_choice` \"which best describes the root cause?\" maps directly to your ticket-reason taxonomy, while `open_ended` probes capture the story. See the [structured questions guide](/docs/structured-questions-guide). Every quantitative answer aggregates into a [real-time report](/docs/real-time-research-insights) you can watch fill in as interviews complete.\n\n## Example: turning CSAT detractors into a save motion\n1. Zendesk trigger: CSAT rating = *bad* → webhook to your service, which starts a Koji interview with the ticket ID as `external_id`.\n2. The customer gets a 3-minute interview: one `single_choice` root-cause question, two `open_ended` probes, one `scale` \"how likely are you to keep using us?\"\n3. When the webhook arrives, your service reads the analysis, tags the ticket `sentiment:at-risk`, posts the summary as an internal note, and alerts the account owner in Slack.\n4. CX now has a ranked, themed view of *why* CSAT dips, and a triggered save conversation for every detractor.\n\n## Identity and privacy\nOn the headless path, pass the Zendesk ticket ID (or user ID) as `respondent.external_id`. The same value comes back when you read the interview, so notes land on the right ticket. Keep email addresses out of `metadata` unless you need them. For sensitive topics, use the plain study link instead: Koji does not know who the person is, and you skip the Zendesk write-back, keeping raw transcripts out of the helpdesk.\n\n## Plans and limits\nThe headless API, API keys, the MCP connector, CSV import with personalised links and voice interviews work on every account, Free included: credits are the gate. Sharing a study link from a Zendesk trigger works on every plan too. Recruitment emails sent by Koji and webhooks come with every paid plan, not Free, and recruitment emails have a monthly allowance with extra emails available when you need more. Credits cost €1 each: a qualified text interview uses 1 credit and a qualified voice interview uses 3.\n\n## The insight note that lands on the ticket\n\nWhen an interview is analyzed and your worker writes it back, the internal note it posts on the ticket is designed to be skimmable by a busy agent. A typical note includes the overall sentiment, the two or three ranked themes, the answer to each structured question, the interview quality score, and a link to the full response. Tags such as `insight:onboarding-gap` and `sentiment:at-risk` are applied to the ticket, so you can build Zendesk views and reports around them, for example a view of every \"at-risk\" customer surfaced by a follow-up interview this week.\n\n## Common pitfalls (and how to avoid them)\n- **Triggering on every ticket.** Volume kills goodwill. Gate interviews to the moments that carry real signal (bad CSAT, cancellation tags, complex solved issues) and cap frequency per requester.\n- **Asking what the ticket already answered.** Do not re-ask the reported issue. Use the interview to probe stakes, expectations, and alternatives considered, which the ticket never captures.\n- **Letting insights die in a note.** Route the highest-severity findings (negative sentiment plus a high quality score) to Slack or a weekly CX review so they drive action, not just documentation.\n- **Ignoring language.** Koji moderates in 30+ languages; pass the ticket's locale when you start an interview so international customers get a native-language conversation.\n\n## From tickets to a continuous voice-of-customer program\n\nHandled this way, Zendesk stops being only a cost center and becomes your largest research panel. Every week, solved tickets and CSAT detractors feed a themed, quantified stream of root-cause insight, the kind of signal product and CS leaders usually pay agencies for. Because Koji analyzes each interview automatically and aggregates structured answers into a live report, the CX team gets a standing \"why customers contact us\" view without running a single manual study, and on the ticket-linked path every new theme is traceable back to the exact ticket and response that produced it.\n\n## Related Resources\n- [Intercom + Koji](/docs/intercom-research-integration)\n- [Webhook Setup](/docs/webhook-setup)\n- [Research Automation](/docs/research-automation-webhooks)\n- [Structured Questions in AI Interviews](/docs/structured-questions-guide)\n- [Churn Interview Questions](/docs/churn-interview-questions)\n- [Customer Success Interview Guide](/docs/customer-success-interview-guide)\n- [Understanding Themes & Patterns](/docs/understanding-themes-patterns)","category":"API Reference","lastModified":"2026-11-18T05:13:17.800572+00:00","metaTitle":"Zendesk + Koji Integration: AI Interviews From Support Tickets","metaDescription":"Trigger Koji AI interviews from Zendesk ticket events like solved tickets and low CSAT, then post themes, sentiment, and transcript links back onto the ticket automatically.","keywords":["zendesk koji integration","ai interviews from support tickets","zendesk webhook research","csat root cause interview","support ticket customer research","zendesk trigger interview","helpdesk voice of customer"],"aiSummary":"The Koji + Zendesk integration works in both directions and needs no native app. From Zendesk into Koji: a Zendesk trigger emails the requester your study link when a ticket is solved, CSAT is low, or a tag like churn-risk is applied; for ticket-level tracking, the trigger's webhook calls your own service, which starts the interview through Koji's Start Interview endpoint with the ticket ID as respondent.external_id and runs the conversation through the message endpoint. For batch follow-ups, Koji can also email the invitation and a reminder itself on paid plans, with sent, opened and started tracking. From Koji back into Zendesk: Koji has no outbound webhooks, so a scheduled worker polls the read endpoint and, once an interview has ended and its analysis is present, calls the Zendesk API to add an internal note with top themes, sentiment, quality score, and a response link, and applies insight and sentiment tags. Three setup paths exist: a trigger with the study link, batch CSV import with personalised links, or the headless API from your own middleware. Studies use Koji's six structured question types so a single_choice root-cause question maps to your ticket taxonomy. The API, API keys and MCP connector are included on the Interviews and Enterprise plans; outbound webhooks are not available yet.","aiPrerequisites":["A Koji account on the Interviews or Enterprise plan for the API path (a study link works on any plan)","A Zendesk account with admin access to create triggers and webhooks","Familiarity with webhooks or a small scheduled script"],"aiLearningOutcomes":["Trigger Koji AI interviews from Zendesk ticket events","Post interview insights back onto the originating ticket as notes and tags","Map structured interview answers to your ticket-reason taxonomy","Build a triggered save motion for CSAT detractors"],"aiDifficulty":"intermediate","aiEstimatedTime":"12 min read"}],"pagination":{"total":1,"returned":1,"offset":0}}