List macros

Your macros with name, text and the actions each one runs.

MCP tool gorgias_read → list_macros

read

Returns macros in the order Gorgias lists them, with their reply text and actions such as add tags, set status, assign a team or set priority. Archived macros are included only when you ask. Every role can read the list.

Parameters

Parameters: list_macros
NameTypeDescription
query string string Words to search for in the macro name or text.
include_archived boolean boolean Default: false.
cursor string string Next page cursor from the previous call.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gorgias_read",
    "arguments": {
      "operation": "list_macros",
      "arguments": {}
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "macros": [
      {
        "macro_id": 3018,
        "name": "Order status",
        "actions": [
          "Add tags",
          "Set status"
        ],
        "archived": false,
        "preview": "Hi {{ticket.customer.firstname}}, your order is on its way..."
      }
    ],
    "next_cursor": null
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.