# Macros

> Save a reply you send often, with the changes it makes to a ticket, and use it on any ticket in one click.

A macro is a saved reply, a set of changes to a ticket, or both. For example, a **Refund sent** macro can write the refund reply, set the ticket to Pending and add the tag `refund`.

## Make a macro

1. Open **Settings**, then **Macros**.
2. Give it a **Name**: what agents pick from the Macros menu, such as `Refund sent`.
3. Write the **Reply**. Markdown works: **bold**, lists and links. Leave it empty for a macro that only changes the ticket.
4. Under **Also change the ticket**, pick any changes: status, priority, who it is assigned to, and tags to add or take off.
5. Under **Which teams**, keep **Every team** or pick the one team whose tickets it is for, and save.

## Placeholders

Insert a placeholder in the reply and Supportress fills it in for each ticket:

- `{{customer.firstName}}`, `{{customer.name}}`, `{{customer.email}}`
- `{{ticket.number}}`, `{{ticket.subject}}`
- `{{agent.firstName}}`, `{{agent.name}}`: whoever uses the macro
- `{{team.name}}`

A placeholder can say what to use when it is empty, such as `{{customer.firstName | there}}`, which writes "there" for a customer whose name is not known.

## Use a macro

On a ticket, open the **Macros** menu above the reply box and pick one. Its changes are made, and its reply is put in the box, ready to edit. Nothing is sent until you press **Send**.

A macro with a reply sets its status when you send the reply, so a ticket is never Pending or Solved on a reply nobody sent.

You can also use a macro on several tickets at once from the inbox: select them and pick the macro. Only its changes are made: no reply is sent, and a macro with a reply leaves the status as it is.
