Macha

How Do You Turn Past Zendesk Tickets into an AI Knowledge Base?

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published June 12, 2026

Updated September 24, 2026

Your best support answers usually sit in a year of resolved tickets, not in your help center. Macha can read those tickets for you and turn the resolutions into knowledge your AI agents search.

Key takeaways

  • To turn past Zendesk tickets into an AI knowledge base, run a Macha Study over solved tickets and push the resulting rows into a Knowledge Source that linked agents search.
  • A single Macha Study run is capped at 20,000 tickets, so larger ticket histories are split into several runs by date range.
  • A knowledge-base schema in Studies uses four columns: question as short text, answer as long text, and category and product_area as single choice.
  • Macha test runs sample 10 to 50 records, and the Review screen shows the matched ticket count and estimated cost before a full run starts.
  • Studies are included on every Macha plan, which starts at $299/mo for 750 tickets, and also run on the $50 free trial.
How Do You Turn Past Zendesk Tickets into an AI Knowledge Base?

To turn past Zendesk tickets into an AI knowledge base in Macha, run a Study over your solved tickets with a four-column schema (question, answer, category, product_area), then push the results into a Knowledge Source your agents search. The next customer with the same question gets answered from how your team actually solved it last time. There are no CSV exports and no scripts, and the tickets never leave your connected Zendesk.

If you want finished help-center-style articles rather than Q&A rows, Macha's AI Knowledge Builder does the same job from the same wizard shape and merges near-duplicates for you. Both routes are compared below.

StepWhat you setDefault or limit
1. SourceZendesk Tickets and the connected Zendesk accountZendesk must be connected under Connectors
2. ScopeDate range, optional Zendesk search filter, fields the AI readsUp to 20,000 tickets per run
3. ExtractSchema columns, model, optional instructionsSix answer types, from Yes/No to Long text
4. ReviewTest run, cost estimate, confirmationTest runs sample 10 to 50 records
5. PushSend the finished run to a Knowledge SourceEvery row becomes a searchable document

Why are past tickets worth turning into knowledge?

Every resolved ticket is a small piece of documentation: a real question, the context around it, and an answer that worked. Across a year that adds up to a large, tested FAQ, and it covers the messy edge cases your help center never will, in the words your customers actually use.

The problem has always been scale. Nobody reads 20,000 tickets or hand-writes an article for each one. Once a good answer is sent, it sinks to the bottom of the queue. The knowledge exists; it just can't be retrieved in that form.

Reading a large pile of text and pulling out the useful parts is work AI handles well, provided you can run it across every ticket at once.

How is this different from exporting tickets and scripting it yourself?

You can do this by hand. Export tickets to CSV, write a script that calls an LLM on each row, clean the output, then work out where to store it so something can use it. We've seen technical teams do exactly this in a coding environment, downloading tickets and running AI over them offline.

Macha does it on the platform, over your live Zendesk data, with no export and no code. You connect Zendesk once, describe what you want extracted, and Studies runs the analysis and can drop the results straight into a knowledge source your agents search. The data and the AI sit in the same place.

What is a Study?

A Study (labelled AI Analysis in the sidebar) runs an AI model over a set of records, such as your Zendesk tickets, and fills a structure you define: one row of results per record, one column per field. You can sort and filter the grid, export it to CSV, open a report view, or push it into your agents' knowledge.

Macha Studies — run an AI model over your tickets and get structured results, one row per ticket.
Macha Studies — run an AI model over your tickets and get structured results, one row per ticket.

The flow is a four-step wizard, Source → Scope → Extract → Review, with a push to knowledge at the end.

Step 1: which source do you pick?

Start a New Study and choose Zendesk Tickets, the source available today (Zendesk has to be connected first, under Connectors). If you have two Zendesk accounts connected, each shows up separately.

Step 1 — Source: pick the connected source Macha runs your analysis over.
Step 1 — Source: pick the connected source Macha runs your analysis over.

This is where the mental model clicks: a Study isn't a chat or a single prompt. It's a batch job that treats every ticket as a row and fills in the columns you define.

Step 2: which tickets does the AI read, and which fields?

This step does two jobs: it decides which tickets get processed (which also sets your cost), and what the AI may read from each one.

Step 2 — Scope: a date range and optional filter choose the tickets; the checklist chooses what the AI reads per ticket.
Step 2 — Scope: a date range and optional filter choose the tickets; the checklist chooses what the AI reads per ticket.

Date range. Defaults to the last 30 days. Widen it to cover more history, but a bigger range means more tickets and more cost, and a single run is capped at 20,000 tickets. To go bigger, split the history into several runs by date. For a knowledge base, a 6 to 12 month window of resolved tickets is a good starting size.

Filter (optional). Any Zendesk search query, for example tags:wismo status:solved priority:high. Leave it blank to include every ticket in the range. This is the most useful lever for both quality and cost: scoping to status:solved (tickets that actually have answers) and one topic at a time gives you a clean, cheap first run. The estimate you see later is calculated from this exact query.

What the AI sees per ticket. You tick which fields the AI reads: Subject, Description (first message), Status, Priority, Type, Tags, Created/Updated dates, Requester/Assignee/Group IDs, Custom fields, and the Full comment thread. Macha flags Custom fields and the Full comment thread as expensive, because each adds an API call per ticket and the thread grows the prompt. For most classification jobs Subject and Description are enough. For a knowledge base, Subject + Full comment thread is usually the right pair, because the resolution lives in the replies.

Step 3: how do you define what to extract?

You define a schema: the columns you want filled for every ticket, like a spreadsheet, plus the model and any guidance.

Step 3 — Extract: add a column per field you want, pick the answer type, choose a model, and add optional guidance.
Step 3 — Extract: add a column per field you want, pick the answer type, choose a model, and add optional guidance.

Model. Studies use the same model line-up as agent chat. Extraction is usually simple work, so a fast model such as GPT-5.4 Mini is often enough. Step up to a heavier model only when the columns need judgement.

Instructions (optional). Free-form guidance on how to fill the fields: tone, edge cases, what to ignore, examples. Each column can also carry its own guidance. For a knowledge base, something like: "Write each answer as a clear, self-contained solution a new customer could follow without seeing the original ticket. Ignore internal-only chatter."

Fields to extract. Add one column per piece of information, each with a Column label and an Answer type:

  • Yes/No: true/false flags (refund_requested, bug_report).
  • Single / Multiple choice: the AI picks from a fixed list you type in (category, product_area).
  • Number: counts or scores.
  • Short / Long text: free-form answers (question, answer, summary).

For turning tickets into a knowledge base, a good starting schema is:

ColumnTypeWhat it captures
questionShort textWhat the customer was actually asking
answerLong textThe resolution, written as a reusable answer
categorySingle choiceBilling · Shipping · Technical · Account…
product_areaSingle choiceSo agents can scope to the right area

Those four columns turn a raw ticket into a clean Q&A entry.

Step 4: how do you check the cost before running?

The Review step summarizes the source, account, scope, fields and model, and shows the number of tickets the query matches and the estimated cost before anything runs. A Study is a saved configuration, so you can re-run it later.

Step 4 — Review: confirm the setup and get a cost estimate before running anything.
Step 4 — Review: confirm the setup and get a cost estimate before running anything.

Two safety nets matter here:

  1. Test run first. A test takes a small sample (typically 10 to 50 records) and runs the same extraction, so you see how well the AI fills your schema before committing. If the answers aren't clean, go back to Step 3, tighten the column guidance, and test again. Iterate on a handful of tickets, not on 10,000.
  2. Confirmation gate. Clicking Run study opens a second confirmation that repeats the record count, the estimate and the model. During the run you see live progress, and you can cancel at any time: you only pay for records actually processed. Each run keeps a frozen snapshot of its config, so editing the Study later never rewrites history.

Step 5: how do the results reach your AI agents?

When the run finishes, push it into a Knowledge Source. Every row becomes a searchable document, indexed like any other knowledge. Link that source to an agent and it answers from your real, historical resolutions alongside your help center.

A year of resolved tickets becomes an FAQ your agents search. The next "how do I change my billing date?" gets answered from the dozen times your team already answered it. (See how to connect a knowledge base to an AI agent for the linking step.)

Should you use Studies or the AI Knowledge Builder?

The AI Knowledge Builder lives under Sources and follows the same Source → Scope wizard, but it writes finished articles instead of schema rows. Its scope defaults to the last 90 days and a status>=solved filter, a Skip low-value tickets toggle drops auto-replies, spam and thin threads, and each new article is compared with existing ones so a similar ticket updates or attaches to an article instead of creating a duplicate.

  • Use a Study when you want control over the exact columns, or want the same run to feed analysis as well as knowledge.
  • Use the Knowledge Builder when the goal is only a clean, deduplicated knowledge base.

What else can a Study pull out of old tickets?

The same wizard extracts anything you can describe. Change the schema and you get analysis of a year of support data:

  • Sentiment and CSAT drivers: add sentiment and frustration_reason columns and see what's making customers unhappy.
  • True contact reasons: a category column shows why people really write in, which often differs from your existing tags.
  • Risk and revenue signals: flag refund_requested, bug_report, cancellation_risk or upsell_opportunity across every ticket.
  • Knowledge gaps: a column for "was this answerable from existing docs?" tells you what to write next.

The report view charts every Yes/No, choice and number column, so an admin can read the pattern without a BI project.

Which Macha plans include Studies?

Macha sells one plan priced by monthly ticket volume, starting at $299/mo for up to 750 tickets, and Studies is included on every tier. Studies also run on the $50 free trial, so you can connect Zendesk, build agents and run your first Study before you pay.

What are the best practices for a first run?

  • Start narrow. One topic or product area, status:solved, a few months. Get the schema right, then widen.
  • Pick the model that fills the schema well. A fast model handles simple extraction; a heavier one earns its place only when the columns need judgement.
  • Iterate with the test run. Don't run the full set until a sample looks clean. Inconsistent answers are usually fixed in the column guidance, not by changing the model.
  • Choose fields deliberately. The full comment thread gives the richest context for answers; trim fields you don't need.
  • Refresh quarterly. Re-run on recent tickets so the knowledge stays current. Each run is a snapshot, so you keep the history.

Frequently asked questions

What is Macha Studies? A feature that runs an AI model over a set of records (like Zendesk tickets) and extracts a structured result for each, which you can analyze, export to CSV, or push into your agents' knowledge base.

Do I need to export tickets or write code? No. Studies run on the platform over your connected Zendesk data, with no CSV exports and no scripts.

How much does a run cost? The Review screen shows the matched record count and the estimated cost before you confirm, and you only pay for records actually processed. Studies are included on every Macha plan, which starts at $299/mo, and on the free trial.

How many tickets can I analyze at once? Up to 20,000 records per run, processed in parallel with live progress. Split larger histories into several runs by date range.

What should the AI read from each ticket? Pick fields in Step 2. For a knowledge base, Subject + the Full comment thread captures the question and the resolution; trim the rest to save cost.

Can my agents actually use the results? Yes. Push a completed run into a Knowledge Source and any linked agent can search it, the same way it searches your help center.

Can I run a Study on the free trial? Yes. The $50 trial covers agents, tickets and Studies; a run draws on that usage.

Put your past tickets to work: connect Zendesk, build your first agent on $50 of free usage with no credit card, and run a Study on your solved tickets once you're on a paid plan. Start free.

Macha

About Macha

Macha is an AI agent platform that works on top of the help desk you already use (Zendesk, Freshdesk, Gorgias, Front, Intercom or HubSpot) and connects to the rest of your stack, even your own internal systems. It is done for you: the Macha team analyzes your past tickets, builds the knowledge base and the agents, and runs them in safe mode until the drafts are right. Pricing is about $0.40 a ticket, and that includes setup and a dedicated success manager who handles your changes. Learn more about Macha →

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Get your AI agents set up for you.

Book a 20-minute call with our team. We'll show you where we would start on your Zendesk and how the setup works. Setup and a dedicated success manager come with the trial and every plan.

Live in under a week
Safe mode until you approve
About $0.40 a ticket