Zammad macros for agents: one click instead of repeated steps
A support team that closes the same kind of ticket fifty times a week often makes the same five changes each time: set the state, move the ticket to the right group, add tags, send a standard reply and maybe note an internal article. A Zammad macro collapses those steps into a single button in the ticket view. In Zammad, a macro is a saved set of actions that an agent applies to the open ticket. According to the Zammad documentation, the actions can set the ticket state, group, owner, tags and priority, add an article such as a reply or internal note, and, in releases that support it, start an AI agent on demand. A macro runs only when an agent clicks it. Nothing fires in the background, which is what separates macros from triggers that react to every matching change.
Teams usually need macros when the same handling sequence repeats often enough that manual variation starts to cost time or create inconsistent records, such as duplicate-request closures, billing hand-offs or known-issue responses. Before building them, confirm in your own instance which actions your Zammad version offers and which roles can see and run each macro, because group scoping determines who gets the button. Plan the macro set with the owners of each queue, and check that any macro sending an article uses the correct email address on the group, since outbound mail depends on it.
Macros are a productivity tool, not an enforcement control. An agent can skip a macro, edit its result, or change the same fields by hand, and a macro does nothing to stop an agent from doing so. If a rule must always hold, such as escalating a regulated complaint or setting a required state before closing, the control belongs in a trigger, core workflow or scheduled job, and your review should test that the enforcement path works without relying on the agent clicking the macro. Treat macros as the fast path for correct handling and the other mechanisms as the guarantee.
What a Zammad macro can set on a ticket
A macro runs several ticket changes in one click, so an agent does not repeat the same steps across every ticket of a kind. The cards below cover the actions a macro can perform, and each one needs a check against the running Zammad version before you build on it.
Ticket state and priority
A macro can change the state of a ticket, for example moving it to pending reminder or closed, and set its priority in the same step. This suits repeat cases such as a confirmed duplicate or a known outage that should be marked high priority. Check which state values your instance exposes, because custom states and the pending state need a matching choice when the macro is saved.
Zammad requirementsGroup and owner assignment
A macro can move a ticket to another group and, where the documentation allows it, set the owner. Use this for a clear handover, such as billing questions that belong to finance. Confirm whether the macro can assign an owner who is not a member of the chosen group, because that combination can leave a ticket that agents in the group cannot see.
Tags for reporting and routing
Tags let a macro mark a ticket with labels such as a product name or an incident reference, which later supports searches, overviews and reports. Keep tag names consistent across agents, since a macro that adds a near-duplicate tag fragments the data. Confirm how your version handles adding and removing tags in the same macro.
Article or reply content
A macro can add an article, which is the reply or internal note the customer or agents see on the ticket. Use it to send a standard acknowledgment or leave an internal checklist. Check whether the article is public or internal before you build the macro, because an internal note written for agents sent to a customer is a data exposure risk.
On-demand AI agent start
Some Zammad versions let a macro start an AI agent on the selected ticket, for example to summarize the thread or draft a reply. This action depends on the AI features you have enabled and the provider you connected. Confirm in your running version that the option appears, and review where ticket content is sent before agents use it on customer data.
How to scope macros to groups and roles
Admins decide which macros exist and which groups they serve. A macro is offered to an agent in the context of the ticket they are viewing, so the group the ticket belongs to and the agent's own permissions shape what appears in the macro list. Plan this before building macros, because a macro that is useful to one team can be clutter or a risk for another. Write down each macro's purpose, the group that owns it and the state, group, tag and reply changes it makes, then check that the scope matches the team that will use it. Confirm the exact visibility rules for your Zammad version in the admin documentation before you promise the result to stakeholders.
- Name the owning group: Record which team each macro is for so that scope decisions follow the team's work, not individual preferences.
- Keep actions narrow: Macros that change group or state on many tickets are easier to misfire, so limit them to one team's workflow.
- Review overlaps with triggers: A macro and a trigger can both change the same field, so list the triggers that act on the same tickets.
- Document the decision: Keep a short register of macros, owners and scopes that the operations team can audit.
- Ask your vendor or partner for the rules in writing: Confirm how group and role permissions interact with macros in your release.
Before rollout, confirm the scope with a non-admin test account in each group.
An agent who works in one group has the simplest case. The macros they see should be the ones built for their queue, and the reply text, tags and state changes should match how that team closes tickets. Problems usually come from macros that were created for a different team but shared more broadly than intended, or from macro wording that assumes a process the group does not follow. Review the macro list from this agent's point of view, not from an admin view, because admin accounts can see more than agents do.
- Match macros to the queue: Each macro should map to a step the group performs on tickets it owns.
- Check the reply wording: Confirm that any reply in a macro matches the group's tone, language and signature.
- Confirm the state and tag changes: Verify that the states and tags a macro sets are the ones the group reports on.
- Test with a real ticket in a test group: Run each macro on a sample ticket and inspect the result, including notifications sent to the customer.
- Watch for leftover macros: Remove macros that no longer match the group's process so the list stays short.
After a pilot, ask one or two agents to name any macro they would not trust under pressure.
Agents who belong to several groups face the most visibility questions. A macro built for one group may or may not appear when they open a ticket that belongs to another group they also serve, and the right behavior depends on how your roles and group permissions are configured. Treat this as a test case rather than an assumption. Build a test account with the same group memberships as a real agent, open tickets in each group, and record which macros appear and what each one changes. Do not assume that a macro is hidden from agents outside its group unless you have verified it in your environment.
- Map memberships first: List which agents belong to which groups, including those who cover several queues.
- Test each combination: Open a ticket in each group an agent serves and note the macros offered.
- Watch for cross-group changes: A macro that moves a ticket to another group can remove it from the queue where the agent expects to see it.
- Combine with text modules carefully: Confirm that text modules inserted by a macro are scoped so agents from other groups do not receive wording written for a different team.
- Record the results: Keep the test matrix with the macro register so changes can be retested after upgrades or role changes.
Repeat these tests after any change to group membership, roles or the macro list.
Testing macro visibility with an admin account proves very little, because admins see more than agents. The reliable method is to create non-admin test accounts that mirror the roles and group memberships of real users, sign in with them, and check what they see. Use a separate test environment or a clearly named test group so that test tickets do not reach customers or reporting. This step belongs before rollout and again after each upgrade or permission change, because visibility rules can shift when roles or the release change.
- Build one account per role: Create a test agent for each distinct combination of role and group membership.
- Use a test environment: Run the checks where email and customer notifications cannot reach real customers.
- Record what appears: Capture the macro list for each account and compare it with the expected scope.
- Check the effects, not only the visibility: Confirm the state, group, tag and reply changes on each test ticket.
- Retest after changes: Repeat the check after upgrades, role edits and new macros.
Remove or lock the test accounts once rollout is complete, and confirm that the approval record shows who ran the checks and when.
Macro configuration options and when each fits
This table compares four macro designs an agent can click, from single-action closures to AI agent macros. Read each row for the situations where it fits and the risk it carries, since most problems come from macros that overwrite fields an agent was expected to review.
| Configuration | When it fits | Main risk | What to confirm before rollout |
|---|---|---|---|
| Single-action macro | Common closures such as marking a password reset as solved or setting a known tag and state in one click | Closing or tagging a ticket that still needs a customer check, because the agent has no review step | Which fields the macro sets, and whether the group scope limits it to the team that owns those tickets |
| Multi-step macro | Triage and handoff, such as setting group, priority and owner together when a ticket moves between teams | Reassigning the group or owner without the agent noticing, which can override an assignment another agent made | Whether the macro sets owner or only group, and how it interacts with auto-assignment and triggers |
| Reply-bearing macro with text modules | Recurring answers where the wording is approved and the same reply goes out every time | Sending a customer-facing reply the agent did not read, especially when variables resolve to empty or wrong values | Which text module the macro inserts, who maintains it, and whether the agent sees the draft before sending |
| AI agent macro | Starting an AI agent on demand for a ticket that needs classification, summary or a draft, while the agent keeps control | Acting on AI output without review, and sending ticket data to the configured AI provider | Which AI provider receives ticket content, what the agent may change automatically, and the agent's permissions |
Combining macros with text modules
The point of this section is that a macro can carry a reply body, so agents click once and receive standard wording instead of retyping it. The wording itself should live in text modules, which are the place where a team maintains reply language once and reuses it. Keep the macro responsible for the actions (state, group, tags and the reply) and the text module responsible for the words. When a policy changes, such as a new refund window or a revised outage notice, the team edits one text module rather than hunting through every macro that repeats the sentence. Decide before rollout who owns each text module and who may publish changes to it.
Before you build the macros, confirm in your Zammad version how text module variables behave when a text module is inserted through a macro. Variables such as customer or ticket placeholders depend on the context in which the text is rendered, and a placeholder that resolves in the agent's editor may not resolve the same way when a macro fills the article body. Test each variable with a sample ticket in a staging instance, and record which ones render correctly. Also confirm how group scoping of text modules interacts with macros: a macro scoped to one group should not depend on a text module that a different group's agents cannot see, or the macro will insert content that some agents cannot use or edit. The Zammad admin documentation is the place to confirm the current behavior for your release.
Consistency also depends on review. Assign a named owner for the text module library, agree a short change process, and check periodically that macros still point to current modules after renames or deletions. Review text modules for language and tone as well as accuracy, since macros often send them to customers without a second read. Treat the library as controlled content: keep a record of who changed each module and when, so that a dispute about what a customer was told can be traced. Confirm with your own team how much of this process your support leads want to enforce in the tool and how much they will handle through documented standards.
How a macro click flows through triggers and scheduler jobs
The flow starts when an agent clicks a macro on a ticket. The macro writes its fields and article in one update, and that change becomes an event that triggers evaluate against the ticket. A trigger whose conditions match can overwrite a field the macro just set, so the conflict check belongs at the point where macro actions and trigger actions touch the same attribute. Scheduler jobs run later against whatever state the ticket ends in, so check the final state after a test click, not only the state the macro was meant to set.
Macro writes, triggers react to the changed ticket, and scheduler jobs act on the stored result.
Setting up and testing macros before agents use them
This sequence turns a set of ideas about one-click actions into macros that are scoped to the right groups, tested against the triggers that run after them, and released to agents with a clear briefing. Each step ends with a check, so a macro only reaches agents once its result and visibility are confirmed.
Inventory existing triggers and core workflows
The administrator who owns Zammad's configuration lists every active trigger, core workflow, auto-assignment rule and scheduler job, noting the object, the conditions and the fields each one changes. This list matters because a macro sets state, group, tags or a reply, and any trigger that reacts to those changes will run again. The step is done when the team can point to each rule that touches tickets in the groups that will use macros, and can say which fields those rules overwrite.
Define the macros each group needs
Working with team leads, the administrator writes one short specification per macro: the trigger for its use, the state, group, priority and tags it sets, the reply it sends, and the groups allowed to see it. Requests that would need a different ticket state or an AI agent start should be listed separately so they can be reviewed on their own. The step is done when every macro has a written owner, a purpose and a group scope, and any overlap with an existing workflow is recorded.
Build the macros in a test environment
The administrator creates the macros in a non-production Zammad instance that mirrors the production triggers, core workflows and group structure, using the same text modules and tags. Mirroring the configuration is the step that often gets skipped, so the team should confirm that the test instance has the same rules before building. The step is done when every specified macro exists in the test instance and the configuration differences from production are listed and explained.
Check results after triggers run
For each macro, a tester applies it to a sample ticket, saves the ticket and then reloads it, comparing the stored state, group, priority, tags and articles with the specification. The tester also looks at the ticket history to see which triggers fired after the macro, because a trigger that changes the state or group can silently undo the macro's result. The step is done when each macro's final stored result matches the specification, or when each mismatch has a recorded cause and a fix, such as an adjusted trigger condition or a changed macro order.
Verify group visibility with a non-admin test user
The tester signs in as a regular agent from each group that should use macros, not as an administrator, and confirms which macros appear in the ticket view for tickets in that group and in other groups. Administrators see more than agents, so this check is the only reliable way to confirm scoping. The tester also tries to run a macro on a ticket outside the scope to confirm it is not offered. The step is done when the visible macro list for each test user matches the group design written in step two.
Confirm the AI agent and reply steps separately
Any macro that starts an AI agent or inserts a reply is tested on its own, using the features enabled in the environment. The tester confirms that the agent starts only on the intended tickets, that the reply text uses the expected text module variables, and that the resulting article is visible or internal as designed. Where a feature or provider is not enabled in the environment, the team should confirm its availability and settings with the Zammad documentation before accepting the macro. The step is done when each such macro has been run once with a recorded result.
Roll out with a short agent briefing
The administrator adds the approved macros to production, notes the change in the team's change record, and gives agents a short briefing that lists each macro by name, what it does, which group can use it and what it does not do. The briefing also tells agents to report any macro that produces an unexpected state so the trigger check can be repeated. The step is done when the production macro list matches the test-approved list and the briefing has been delivered to every group that received macros.
Avoiding conflicts between macros and triggers
A macro and a trigger can both react to the same change, and when they do, the ticket ends up in a state the agent never chose. A macro that sets a state or adds a tag is a change like any other, so a trigger watching for that state or tag will fire on it. If the trigger then reassigns the group, changes the state again, or sends an email, the agent sees the final result without knowing which rule produced it. The macro and the trigger must be designed as one behavior, not as two separate settings. Before you publish a macro, list every active trigger whose conditions could match the values the macro writes, and decide which of them should run for that case.
The most reliable fix is to write the trigger conditions so they exclude the values your macros set. For example, if a macro moves a ticket to a pending state and adds a tag such as waiting-for-customer, a trigger that sends a reminder on that state should also check that the tag is absent, or that the ticket was not changed by the macro. Keep the exclusion narrow so that normal agent edits and customer replies still trigger the rule. Execution order also affects the outcome, but the rules for how Zammad orders triggers are covered in the trigger topic, so check them there before relying on any sequence. Confirm in your own instance how the conditions evaluate on the macro's changes rather than assuming them.
Test the combined result on real ticket examples before rollout, using a staging instance with copies of representative tickets from each group. For each macro, run it on a new ticket, a pending ticket, a ticket already assigned to another agent, and a ticket from an organization with a custom escalation, then record the final state, group, tags, articles and notifications. Compare that record with what the macro description promises the agent. Repeat the test after any trigger change, since a new rule can break a macro that worked last month. Ask the administrator who owns triggers and macros to sign off on the test results, and keep the test cases so they can be rerun during upgrades.
Security and operational risks of macros
Macros are one-click actions, so a single mistake or unreviewed change can reach many tickets and many agents at once. The cards below cover the main risks in Zammad macros for agents, with a mitigation and a check for each.
Visibility and ownership changes
A macro can set the group, owner or state of a ticket in one click. If a macro moves a ticket to a group that cannot see it, or clears the owner, customer data can end up in front of the wrong team or be left unowned. Limit which roles can run each macro by scoping it to groups, and keep ownership-changing actions out of macros that agents from other groups can trigger. Confirm in your environment which roles can create and edit macros, and whether group permissions match the groups the macro touches.
Internal wording reaching customers
Reply text in a macro is sent to the customer as written. Internal notes, escalation wording, or references to internal systems placed in a reply template can leak to the customer if an agent sends it without reading it. Keep internal context in internal notes, have a named owner review reply text before a macro is published, and separate customer-facing text from internal instructions. Confirm that macro replies and internal notes are distinguishable in your agent interface and that your reviewers check each reply text before publication.
Ticket data sent to AI providers
A macro that starts an AI agent can pass ticket content, customer details and attachments to whichever AI provider the agent is configured to use. Where that provider sits outside your approved data location, the macro creates a data transfer you did not plan. Before enabling any AI-triggering macro, confirm the configured provider, where it processes data, and which groups may run it. Document the decision in your data handling records, and ask your AI provider how it retains inputs.
Admin changes that affect all agents
Macros, text modules and related settings are shared objects, so an edit made by one administrator takes effect for every agent who uses the macro on their next action. A wrong condition or a broken reply can disrupt the whole support queue within minutes. Keep a change log of macro edits, test changes on a staging instance, and restrict who holds admin rights. Confirm that your audit logging records configuration changes and who made them, and that admin roles are granted to a small named group.
Conflicts with triggers and workflows
A macro runs alongside triggers, so it can set a state or group that a trigger then overrides, or fire a trigger that sends notifications or changes the ticket again. These conflicts are hard to see from the agent screen and produce tickets that appear to change on their own. Map each macro against the triggers and core workflows that match the same tickets, and test the combined result with a sample ticket before release. Confirm the execution order of your triggers in the environment before writing macros that depend on it.
Credentials and API access in macros
Macros that call external services or webhooks can carry endpoint details or tokens that become visible to every agent who can open the macro. Store credentials in the protected configuration of the integration rather than in macro text, and limit API tokens to the minimum permissions they need. Review who can view macro definitions and confirm that API tokens used by integrations are rotated and scoped to their purpose.
Questions buyers ask about Zammad macros and outside help
Do Zammad macros require a license?
No license fee applies to self-hosted Zammad, and macros are part of the standard application, so building them does not add a license cost. The pricing page lists paid self-hosted support subscriptions called Business, Enterprise and Corporation, priced per year at 2,999 EUR, 5,999 EUR and 9,999 EUR respectively. A support subscription is optional and covers vendor support, not the macros themselves. Confirm the current terms on the Zammad pricing page before you budget, since support tiers and their response times are the only recurring vendor cost you will see for the self-hosted edition. Hosted plans are billed per agent per month, which is a different cost model entirely.
What drives the effort to build Zammad macros?
Effort rises with the number of groups that need their own macros, the number of triggers and core workflows that already run on the same tickets, and how many macros depend on text modules or AI actions. Each group adds scoping decisions, review and testing. Triggers can silently change state, group or tags after a macro runs, so every macro needs a check against the existing trigger set. Testing across roles, from agent to admin, usually takes more time than the build itself. Ask any partner to list these inputs in the written scope so you can see what each one costs.
How long does a macro rollout take?
Duration depends on scope: how many groups are involved, how many macros are in the first release, whether macros start AI agents, and how much trigger cleanup is needed first. A small set of macros for one group is a short exercise. A multi-group rollout with conflict review, role testing and agent training takes longer. No fixed duration applies across these cases, so ask for a timeline tied to a written list of macros, groups and test cases. Fixed-scope engagements at DeployOpen are agreed in writing before work starts, and the timeline follows from that scope.
What does our team need to provide for a macro project?
You will need a named owner for each group, a current list of the replies, states, tags and escalation paths agents use today, and access to a non-production Zammad instance for testing. Your team should also supply the existing trigger, scheduler and core workflow definitions, plus any AI provider settings if macros will start an AI agent. Someone must approve the final wording of each text module and reply. Agree on who signs off on production changes before the work begins. Missing inputs are the most common cause of delay in macro projects.
Can an internal Zammad admin build macros without outside help?
Yes, an experienced internal admin can build macros alone if they understand group permissions, how macros interact with triggers, and how text modules are scoped. The main risks are conflicting triggers, macros that expose a group's tickets to the wrong agents, and changes that are never tested against real role settings. Outside help is most useful for reviewing the design before build, checking conflicts across the full trigger set, and providing a test plan. Decide early which parts your team will own after go-live so that the handover is clear.
What goes wrong when macros conflict with triggers?
The most common problems are a trigger that overwrites the state, group or tags a macro just set, and a macro that fires an action the trigger then repeats. Some conflicts appear only when a ticket is updated by a second agent or a scheduler job. Check execution order, the conditions on each trigger, and whether the macro should fire on tickets already handled by automation. Test each macro with a ticket that matches the trigger conditions, not only with a clean test ticket.
Does DeployOpen issue a certification for our macro setup?
No. DeployOpen configures, tests and documents Zammad, and prepares the evidence your compliance team needs, but independent auditors and certification bodies issue any audit report or attestation. If your helpdesk falls under a regulatory assessment, ask your assessor which macro and access records they expect, and confirm those requirements before the design is finalized.
How DeployOpen scopes and supports Zammad macro work
DeployOpen plans Zammad macro sets inside your own infrastructure, as part of a fixed scope agreed in writing before any build starts. The scope names which macros exist, which groups can run each one, which fields they set (state, group, tags, articles and text modules), and whether any macro starts an AI agent. Because Zammad runs on infrastructure you control, the macro configuration, test environment and change records stay where your security and compliance teams already review systems. The written scope also fixes the deliverables, so the macro set you receive is the one you approved, with a list of each macro's purpose, owner group and rollback steps.
Macros rarely fail alone. A macro that sets a state or group can fire a trigger, and that trigger can reassign the ticket, send a notification or overwrite a field the agent just chose. DeployOpen tests the combined behavior of macros and triggers in a staging instance that mirrors your production groups, roles and trigger set, and records what each agent action produces. Testing also covers the agent's permissions, so you can confirm that a macro scoped to one group cannot be run or edited by agents outside it. Ask any partner to show the test cases and the results, and to explain how they handle a trigger that runs before or after a macro.
After go-live, macro sets need upkeep as queues, products and staff change. DeployOpen offers ongoing support as a retainer, which can cover reviews of macro usage, updates when triggers or groups change, retesting after Zammad upgrades, and changes to text modules that macros insert. Before you sign anything, confirm with the partner what the retainer includes, how changes are requested and approved, and how quickly they respond to a broken macro in production. Those terms should be written into the scope, not left to the first incident.

