Macha

How Do You Set Up a Trigger on a Macha AI Agent?

Abbas, Customer Support & AI, Macha

Written by

Ankeet Guha, Co-founder & CTO, Macha

Reviewed by

Published June 12, 2026

Updated September 21, 2026

A trigger makes a Macha agent run on its own when an event happens in a connected app, and setting one up takes about a minute. The step people skip is testing that it fires, which means firing the event once and checking the agent's History.

Key takeaways

  • To set up a Macha trigger, open the agent's configuration screen, click Add Triggers in the Triggers section, and pick an event from your connected apps.
  • To confirm a Ticket Status Changed trigger works, solve a ticket in Zendesk, then open the agent's History in Macha and look for a run logged for that event.
  • Because a trigger makes an agent autonomous, write actions should stay on internal notes or confirmation for the first runs, then widen once the runs look right.
  • An agent that updates the same ticket its trigger watches should add a unique tag and exclude that tag from the trigger's conditions to avoid loops.
How Do You Set Up a Trigger on a Macha AI Agent?

To set up a trigger in Macha, open the agent's configuration screen, click Add Triggers in the Triggers section, pick an event such as Ticket Status Changed, then fire that event once and check the agent's History for a logged run.

StepWhereResult
1. Add the triggerAgent config, TriggersEvents from connected apps
2. Pick the eventAdd Triggers pickerThe event on the agent
3. Fire the eventYour help deskA matching ticket
4. Confirm the runAgent History in MachaA run logged for that event

What does setting up a trigger look like?

How do I add a trigger to an agent?

On the agent's configuration screen, find the Triggers section and click Add Triggers. You'll see the events available from your connected apps. Pick the one that should start this agent. Events come from whichever help desk you've connected (Zendesk, Freshdesk, Gorgias, Front, HubSpot or Intercom) and from other connected apps.

Triggers → Add Trigger — pick the event that starts the agent, from “First Customer Ticket Message” to “Ticket Closed”.
Triggers → Add Trigger — pick the event that starts the agent, from “First Customer Ticket Message” to “Ticket Closed”.

For example, choose Ticket Status Changed on Zendesk: from then on, whenever a ticket's status changes, the agent runs. Other common picks are Ticket Created, Comment Added and Priority Changed. Which one to use is its own decision, covered in choosing the right trigger.

How do I test that the trigger fires?

Don't assume it works. Verify it with two steps:

  1. Fire the event. For a Ticket Status Changed trigger, go to Zendesk and solve a ticket (that changes its status).
  2. Check the agent's History. Back in Macha, open the agent and go to History. If the trigger worked, you'll see a run logged for that event.

That run confirms the status change fired the agent; click in to see what it did.

What should I do before letting a triggered agent run on its own?

A trigger makes the agent autonomous, so add a few safeguards:

  • Start safe. If the agent takes write actions, keep them on internal notes or confirmation for the first runs, then widen once you trust it.
  • Watch the first real runs in History (and Agent Analytics) to make sure it's behaving.
  • Pick the most specific trigger for your workflow so it doesn't fire more than it should (more in trigger best practices).
  • Stop loops with a tag. If the agent updates the same ticket its trigger watches, have it add a unique tag and exclude that tag from the trigger's conditions.

Frequently asked questions

Where do I add a trigger? On the agent's configuration screen, in the Triggers section. Click Add Triggers and pick an event.

How do I know the trigger is working? Fire the event (for example, change a ticket's status) and check the agent's History for a logged run.

Can an agent have multiple triggers? Yes. You can send several events to the same agent.

Will the agent act automatically once a trigger is set? Yes. On a trigger it runs autonomously, so test it first and start write actions safely.

Set your first trigger: add a "Ticket Created" trigger and watch your agent run on the next ticket. $50 of free usage, no credit card required. 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 help desk 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