Macros
Create macros that bundle actions like sending a message, calling an API, changing status and assigning, and run them from the composer, the right panel or on many conversations at once.
A macro bundles several actions an agent often does together into one click. For example, a “Refund approved” macro can call your order system to issue the refund, send the customer a confirmation, set a property, add an internal note and close the conversation.
Agents can run a macro from three places: the lightning icon in the composer, a button in the right panel, or Bulk actions on many conversations at once.
Open it from Settings → Inbox & Productivity → Macros.
Create a macro
Click Create Macro, name it, choose the channel group, add actions, and publish it.
Name it
Click Create Macro and enter a Macro Name that says what it does, for example “Refund approved”. Names must be unique in your workspace.
Choose the channel group
Under Channel Group, choose Chat (Chatbot (Robylon Chat), WhatsApp, Instagram, Facebook, Twilio Text (SMS), YouTube comments, and chats from a connected Intercom, Freshchat or SalesIQ) or Email / Tickets. A macro works across all channels in its group, and only on conversations in that group.
Decide if it blocks replies (chat only)
For chat macros, turn on Blocking macro if agents should not reply while the macro runs, for example when it calls an API whose result you need first. The composer is locked until the macro finishes. Email macros never block.
Add actions
Click Add Action and pick an action. Repeat for each step. Actions run one at a time, in the order listed.
Save or publish
Click Save Draft to keep working on it later, or Publish to make it available to agents. Only published (Live) macros can be run.

Macro actions
| Action | What it does |
|---|---|
| Send Message | Sends a message to the customer. On email, it sends an email reply. |
| Internal Note | Adds a note only your team can see. |
| Update Status | Changes the conversation status, for example to Closed. |
| Update Property | Sets a property value. |
| Assign To | Assigns the conversation to an agent. |
| Call API | Calls one of your APIs, for example to create a return in your order system. It can save values from the response into variables for later steps. |
| Add Intent | Adds an intent to the conversation. |
Run a macro from the composer
Click the lightning icon (Run macro) in the composer, search for the macro and pick it. The list shows only live macros for the conversation’s channel group.
If the macro calls an API, a Run macro panel opens first. It shows the APIs the macro will call and any values the agent needs to fill in. The agent completes the form and clicks Run macro. See how agents fill in values.
Add a macro to the right panel
Add it to the Actions section of the inbox panel. Agents then see the macro as a button in the right panel of every conversation of that type, and run it in one click, with the same input form when it calls an API.
Open the inbox panel settings
Go to Settings → Inbox & Productivity → Inbox Panel and pick the Panel Type: Chat, Email or Reviews.
Add an action group
In the Actions section, click Add Action Group, then pick the macros to show. Only live macros for that panel’s channel group are offered: the Chat and Reviews panels use Chat macros, and the Email panel uses Email / Tickets macros. Each macro can appear once.
Save
Click Save. The buttons appear for agents straight away.
Right panel actions show only to the agent assigned to the conversation, and not while the AI agent is still handling it. The Voice panel has no Actions section. See Inbox panel.
Run a macro on many conversations
Select the conversations in the inbox and choose Run Macro from Bulk actions.
Select the conversations
In the Unified Inbox, tick Click to Select at the top of the list and select the conversations.
Pick the macro
Open Bulk actions, choose Run Macro and pick the macro. If it asks for values, fill them in once. They are used for every selected conversation.
Run it
Click Run. Robylon runs the macro on each conversation in the background, 15 at a time, and notifies you of progress as each batch finishes.
Each conversation is checked on its own. A conversation that is closed, or in a different channel group from the macro, is skipped, and the rest still run. One bulk run uses one macro.
Let agents fill in values
For each parameter of a Call API action, you choose where its value comes from under Value Source:
| Value Source | What happens when the macro runs |
|---|---|
| Fixed Value | Always sends the value you typed. |
| Get from Variable | Sends the value of a variable in the conversation, for example the order ID. |
| Agent enters at runtime | Asks the agent for the value before the macro runs. |
For Agent enters at runtime, set the Input Type: Free Text lets the agent type any value, and Dropdown options gives them a list to choose from. For a fixed or variable value, turn on Agent can edit to show it in the form with its current value filled in, so the agent can check it or change it before running.
The form appears wherever the macro is run: the composer, the right panel and bulk actions.
When an action fails
If a Call API action fails, the macro stops and the actions after it are not run, unless that step is set to continue on error. The macro editor warns you of this on the step. Actions that already ran are not undone.
If any other action fails (Send Message, Internal Note, Update Status, Update Property, Assign To or Add Intent), Robylon records the error and carries on with the next action.
See what a macro did
Every run is recorded in the conversation, so you can see exactly what happened. On email tickets it shows in the ticket’s activity, for example “Priya ran macro Refund approved”, ending “which failed at step 2” or “with errors” when something went wrong. On chats it shows as a message in the conversation.
Open the macro run log on that entry to see:
- The outcome: completed, Completed with errors, or failed.
- Where it was run from: the composer, the right panel or bulk actions, with how many conversations a bulk run covered.
- Each step: done, failed, skipped, or not run because an earlier step failed. Status and assignment changes show what they changed from and to, messages and notes show the text that was sent, and property updates show the old and new values.
- For Call API steps: the request, the response status, how long it took and how many attempts it made, the values sent and the values saved. Values that come from a credential are hidden as
******.
Macro usage
The Macros list shows each macro’s channel group, status (for example Live or Draft) and how many times it has been run. Every conversation in a bulk run counts once.
Choosing between macros, canned responses and automations
- Use a canned response to insert a saved message you can edit before sending.
- Use a macro when an agent decides to run several actions at once, on one conversation or many.
- Use a simple automation when the actions should run automatically on a trigger, with no agent involved.