Macha

How to Set Up a Trigger on Your AI Agent (Macha)

Macha Team

Written by

Macha Team

Last edited June 12, 2026

Zendesk Expert Reviewed

Verified

A [trigger](/blog/what-is-a-trigger-on-macha) makes an agent run on its own when an event happens. Setting one up takes about a minute, and the only step people skip — testing that it actually fires — is the one that matters most. Here's the whole flow.

How to Set Up a Trigger on Your AI Agent (Macha)

Watch it

Add the trigger

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.

Open Triggers → Add Trigger and pick the event that should start the agent — from “First Customer Ticket Message” to “Ticket Closed” (here on the Runbook Writer agent).
Open Triggers → Add Trigger and pick the event that should start the agent — from “First Customer Ticket Message” to “Ticket Closed” (here on the Runbook Writer agent).

For example, choose Ticket Status Changed on Zendesk: now, whenever a ticket's status changes, the agent runs. (Other common picks: Ticket Created, Comment Added, Priority Changed. Which one to use is its own decision — see choosing the right trigger.)

Test that it fires

Don't assume — verify. The easiest way to confirm a trigger works:

  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's the confirmation — the status change fired the agent, and you can click in to see exactly what it did.

A good habit when you add a trigger

Adding a trigger makes the agent autonomous, so pair it with a moment of caution:

  • 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).

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 (e.g., 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.

The bottom line

Open the agent's config, add the trigger event under Triggers, then fire that event and check History to confirm. That's all it takes to make an agent run itself — just test it before you rely on it.

Set your first trigger: add a "Ticket Created" trigger and watch your agent run on the next ticket. 7-day free trial, no credit card required. Start free.

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.