Gorgias Apply Macro
A macro in Gorgias is a reusable set of actions that can be applied to one or more tickets at once — for example, adding tags, changing status, replying with a predefined message, or assigning a ticket to a team.
This action allows you to apply a Gorgias macro asynchronously to one or more existing tickets using the Gorgias Jobs API.
When triggered, the action will create a background job in Gorgias that runs the specified macro on the selected tickets.
The job will execute independently of the flow and process all the listed tickets.
If the job is successfully created, the action will return the job object with its ID and metadata. You can later use this ID to track the job’s progress or verify completion via the Gorgias API.
If a rate limit (HTTP 429) is hit, the action will automatically retry after a short delay before failing gracefully.
Action Inputs
Name | Type | Description |
---|---|---|
Domain | String | Your Gorgias sub-domain (without https://). Example: mycompany for mycompany.gorgias.com . |
User | String | Email of the Gorgias agent whose credentials are used to authenticate the API request. |
Key | String | The Gorgias API key associated with the user. Learn how to find it. |
Macro ID | String | The unique ID of the macro you want to apply. You can find it in your Gorgias dashboard under Macros → Edit Macro → URL. |
Ticket IDs | Array of Strings | A list of ticket IDs to which the macro should be applied. |
Action Outputs
Name | Type | Description |
---|---|---|
Success | Boolean | Whether the macro job was successfully created in Gorgias. |
Job | Object | The full Gorgias Job object returned by the API, including job ID, type, and ticket references. |
Updated about 3 hours ago