What we do
Tools
Industries
Department
How we workLet's talk →
Home/Zendesk/Zendesk Macros vs Triggers and Automations
Zendesk

Zendesk Macros: How to Build Them, and When a Trigger Should Do It Instead

A macro is a saved set of changes an agent applies with one click: a reply, a status, tags, a group. It only runs when someone chooses it. Triggers and automations run on their own. Here's how to make a macro, the placeholders that personalize it, and how to tell which of the three a job belongs to.

Create and apply a macro

Create: as an admin, open Admin Center and choose Create macro. Agents can make personal macros that only they see.

Admin Center Workspaces Agent tools Macros

Apply: click Apply macro in the ticket's bottom toolbar and pick one, or type / in the comment box in the Agent Workspace and start typing its name.

Check first: hover over a macro and press Shift + Enter to preview the reply and field changes before applying.

Build a macro that does more than paste text

  1. 1

    Name it the way agents search

    Agents find macros by typing, so lead with the topic: "Refund: approved", "Refund: outside window". Add a description saying when to use it.

  2. 2

    Write the reply with placeholders

    Add the comment action and use placeholders such as {{ticket.requester.first_name}}, {{ticket.id}} and {{current_user.first_name}}. A custom field appears as {{ticket.ticket_field_ followed by its ID and }}.

  3. 3

    Add the field changes

    Set the status, add tags, assign a group, change priority. These are what make a macro faster than a saved reply.

    Watch for: a macro can only change a field that's on the ticket's form. If the form hides it, the change silently doesn't happen.

  4. 4

    Choose who can use it

    Use Available for to share it with everyone or only certain groups, so billing macros don't clutter the technical team's list.

Macro, trigger, automation, view or form: which one does the job

Tool Runs when Reach for it when
Macro An agent applies it to a ticket, or to many tickets at once from a view. The agent has to judge the ticket first: approve a refund, decline a request, ask for details.
Trigger Immediately, every time a ticket is created or updated and matches its conditions. No judgment is needed: route by form or email address, notify on a VIP tag, send the receipt.
Automation On an hourly check for tickets that have sat in a state for a set time. Something should happen because nothing happened: nudge after three days pending, close four days after solved.
View Never acts. It's a saved, filtered list of tickets. Agents need the right queue in front of them, such as unassigned urgent tickets.
Ticket form When a ticket is raised or edited, deciding which fields show. Billing and technical requests need different fields, which also gives triggers cleaner conditions.

Why a Zendesk macro didn't do what you expected

The field didn't change

How you'll know: The reply went in, but the status or a custom field stayed the same.

Fix: The field isn't on that ticket's form, or the agent's role can't make that change. Add the field to the form or adjust the role.

Two macros cancelled each other out

How you'll know: An agent applied "Escalate" then "Waiting on customer", and the ticket ended up in neither state.

Fix: Macros apply in order and the last one wins on any field they share. Make macros that shouldn't be combined set the same fields consistently.

A trigger undid the macro

How you'll know: The tag the macro added has gone by the time the ticket saves.

Fix: A trigger fired on the update and removed or swapped it. The ticket's events log shows which one.

Placeholders show the wrong person

How you'll know: On a problem ticket, the reply greets the wrong requester when it copies to linked incidents.

Fix: Escape the placeholder with a backslash, as in \{{ticket.requester.first_name}}, so it fills per ticket.

The agent still types the important part

How you'll know: The macro says "your tracking number is" and the agent looks it up and pastes it in.

Fix: Placeholders can only quote what Zendesk holds. Put the number in a ticket field, and the macro can quote that field.

A retailer whose refund trigger fired, then waited for a person

An online retailer running refund requests through Zendesk

Before

Tagging a ticket as a refund sent a webhook to the order system, but the trigger couldn't use the reply.

An agent still opened the order system to see whether the refund was allowed, then picked a macro.

After

n-frames built the receiving end: it checks the order, decides approve or needs review, and writes that decision onto the ticket through the Zendesk API.

By the time an agent opens the ticket, the decision is there and the matching macro is the obvious next click.

Questions people ask

What is a macro in Zendesk?

A saved bundle of ticket changes, such as a reply, a status, tags and an assignee, that an agent applies in one click. Unlike triggers and automations, a macro never runs by itself.

What's the difference between a Zendesk trigger and an automation?

A trigger fires immediately whenever a ticket is created or updated and meets its conditions. An automation runs on an hourly check and acts on tickets that have been in a state for a certain time, such as pending for three days.

How do I create a view in Zendesk?

In Admin Center, open Workspaces, then Agent tools, then Views, and add a view with conditions such as status, group or tags, plus the columns and sort order agents should see. Views only organize tickets; they never change them.

Can a Zendesk trigger call an outside system?

Yes, by notifying a webhook. It sends the data and moves on, so it can't wait for an answer and branch on it. Anything that needs the reply, like the refund check above, needs a service on the receiving end that writes back through the API.

What are Zendesk ticket forms for?

A ticket form decides which fields appear for a type of request, for example billing versus technical support. Macros also depend on them, because a macro can only change fields that are on the ticket's form.

Can I apply a macro to many tickets at once?

Yes. Select tickets in a view and apply the macro as a bulk update. Check it on one ticket first, because the reply goes to every requester.

Can a Zendesk macro include order or tracking details?

Only if they're already on the ticket. Placeholders read Zendesk fields, not your store. n-frames fills custom ticket fields with the order number, status and tracking link from your order system as tickets arrive, so the macro quotes them.

Let's talk

Tell us the one thing your team does manually that eats up time. We read every message and reply within a day.