What macros do
A macro is a saved sequence of actions — assign a label, send a message, change status — that runs on a conversation in one click. Use them for workflows you repeat often.
A macro can send a message. The Send a message and Add a private note actions accept the same variables as canned responses, for example {{contact.first_name}} or {{order.name}}. The one exception is {{contact.phone}}, which is not available in macros. Canned responses are different: they are text you insert into a reply and send yourself.
Creating a macro
-
Go to Settings → Macros

-
Click Add a new macro

-
Add action steps in order (e.g., assign an agent → add a label → add a private note)

-
Add the macro's name and choose its visibility. A Public macro is available to all agents. A Private macro is available only to the person who created it. Managers and administrators can choose either. A macro created by an agent is private.

-
Click Save
A macro built by an AI assistant connected through MCP can have a step the editor doesn't offer, such as Change status. The editor shows it locked, with the note "This step isn't editable here yet. It will stay as it is." Saving keeps it.
Running a macro
Open a conversation, find the macro option in the right side actions menu. You can click on Preview to see the macro's actions and Execute to activate it. All actions activate in sequence.

Refunding an order with a macro
Refund the customer's last order in full refunds the newest Shopify order that can still be refunded. With more than one store, it picks the newest order across all of them. Unlike the Refund button, it doesn't restock items, email the customer or log the refund in the conversation. To tell the customer, add a Send a message step after it.
Anyone can add this step in the macro editor. Administrators can always run it. Managers and Agents can run it when Agent can refund and edit orders is switched on for them. Anyone else sees "Only agents who can refund orders can run this macro. Ask an administrator for access." and the conversation doesn't change. An AI assistant can't add this step or run a macro that has it.
Before step 1, the macro looks for the order. If no store is connected, the customer has no email address, no order can be refunded or Shopify can't load the orders, no step runs, and a private note says why.
If Shopify doesn't accept the refund, the macro stops there. Steps before the refund stay done, and the steps after it don't run. A private note lists the skipped steps. Check the order in Shopify before you run the macro again. A second run repeats the steps before the refund.