Macha
Macha Concepts

Triggers (Macha)

Definition

In Macha, a trigger is the event that wakes an agent up without anyone typing — a new ticket, a Slack mention, an inbound webhook, or a schedule. Attaching a trigger is what promotes an agent from interactive chat to autonomous mode.

Also known as: agent triggersautomation triggers

Kinds of triggers

Macha supports several trigger types, and an agent can have more than one:

  • Event triggers — fire on things happening in a connected tool (Zendesk ticket created / comment added / status changed, Freshdesk ticket events, Slack app mentions and DMs, Gorgias and Front conversation events)
  • Custom webhooks — a unique URL and signing secret you call from any external system Macha has no connector for (GitHub, Linear, an internal tool)
  • Macha custom triggers — a universal, connector-free webhook you can hit from a script or CI/CD pipeline
  • Scheduled triggers — recurring cron-style runs on an interval you set

Autonomous mode & safety

Once a trigger is attached, the agent runs on its own when the event fires — and write actions execute immediately, without the confirmation gate that interactive chat has. The recommended flow is always configure → test in chat → attach a trigger, so the first unattended run is one you've already seen behave.

Event triggers can be debounced to batch rapid-fire events (a burst of messages on one ticket) into a single run, and Macha manages the underlying connector webhooks for you — pausing an agent deactivates its triggers rather than deleting the webhooks, so your Zendesk setup keeps working across pause/resume.

Frequently asked

Do triggered agents ask for confirmation before writing?

No. That confirmation gate only exists in interactive chat. A trigger-driven run is autonomous, so write actions execute immediately — which is why you test in chat first.

Can I trigger an agent from a system Macha doesn't have a connector for?

Yes. Use a custom webhook or a Macha custom trigger — both give you a URL you can call from any external service or script.

Put these ideas to work

Macha is an AI agent layer that sits on top of the help desk you already run — Zendesk, Freshdesk, Front, Intercom, or Gorgias.

Start Trial