Macha

Using Zendesk Custom Fields with AI Agents for Smarter Automation

Macha Team

Written by

Macha Team

Last edited May 11, 2026

Zendesk Expert Reviewed

Verified

Most Zendesk accounts store critical data in custom fields — order numbers, product categories, customer segments, brands. When a ticket arrives, this data is often more useful than the message body itself. Until recently, AI agents couldn't read custom fields. They had to rely on the customer typing the information into their message. That's changed.

Using Zendesk Custom Fields with AI Agents for Smarter Automation

The custom fields gap

A typical Zendesk account has 20–80 custom fields. Some are filled by the customer via ticket forms. Others are populated automatically by integrations, bots, or triggers. Fields like "Order Number", "Product Category", "Customer Tier", and "Language" are critical for routing and resolution — but they live in the ticket's field schema, not in the message text.

When an AI agent only reads the ticket subject and description, it misses this data entirely. The customer sends "Where is my order?" and the agent has to ask for the order number — even though it's sitting right there in a custom field.

How Macha reads custom fields

Macha's Zendesk connector includes a dedicated Get Ticket Custom Fields tool. When called, it:

  1. Fetches the ticket's custom field values (the raw {id, value} pairs from Zendesk's API)
  2. Fetches the field schema (field definitions with titles, types, and allowed values) — cached for 5 minutes to avoid redundant API calls
  3. Joins them and returns {id, title, value} for every field — so the agent sees "Bestellnummer: 013724827106" instead of "field_1900003089273: 013724827106"

The agent doesn't need to know field IDs. It gets human-readable labels and can act on the values immediately.

Common use cases

  • Order lookup: extract the order number from a custom field, call a shipping API, respond with status
  • Language detection: read the language field, respond in the customer's language
  • Tier-based routing: check the customer tier field, escalate VIP customers automatically
  • Brand routing: read the brand field, apply brand-specific response templates
  • Form validation: check required fields, ask the customer to fill in missing values

How it works with triggers

In an autonomous workflow, the agent reads custom fields as part of its first action on a new ticket. A typical flow:

  1. Trigger fires on "New Ticket"
  2. Agent calls Get Ticket — reads subject, description, conversation
  3. Agent calls Get Ticket Custom Fields — reads order number, brand, language
  4. Agent uses the custom field data to decide what to do next — look up the order, route to a team, or respond directly

The custom fields tool uses an in-memory schema cache with a 5-minute TTL, so the field definitions are only fetched once per connector — subsequent calls within the window skip the schema fetch and resolve labels from cache.

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

Ready to supercharge your team with AI?

Get started in minutes. Connect your tools, configure your agents, and let AI handle the rest.