Preview a Macro Diff on a Ticket
preview_macro_diffPreview exact changes a macro would make to a ticket, showing a before/after diff of only modified fields and canned reply, without committing any changes.
Instructions
Preview the exact changes a macro would make to a specific ticket, as a before → after diff, WITHOUT saving anything. Orchestrates two reads — the ticket's current state and Zendesk's macro-apply preview (which returns the whole resulting ticket) — and returns only the fields the macro actually changes (status, priority, assignee, group, tags, custom fields) plus the canned reply with its public/internal flag; unchanged and identity fields are omitted. Nothing is committed: to apply it, follow up with update_ticket for the field changes and add_public_comment or add_private_note for the reply. This deliberate two-step keeps the mutation explicit and reviewable rather than hidden. Find macro ids via list_macros and the ticket id via search_tickets or list_tickets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macro_id | Yes | Macro ID — the numeric id of the macro to preview. Obtain it from list_macros. | |
| ticket_id | Yes | Ticket ID — the numeric id of the ticket to preview the macro against. Obtain it from search_tickets or list_tickets. |