Skip to main content

// developers · automation

Your agents, in the workflows you already run.

Magistry for Zapier, Make and n8n: start a workflow when an agent needs a person, an alert fires, an order lands or a dispute opens, and answer from the same workflow. Every step is one call to the REST API, under the same scopes, approvals and audit log.

// connect

One API key, three platforms.

Create a key in Magistry under Settings → Developers and paste it into the Magistry connection in Zapier, Make or n8n. Give the key the read bundle plus the write scopes of the steps you use: automation:write to approve or reject, admin:write for the kill switch, cs:write to draft replies.

The connection test lists the stores the key reaches. Every step takes an optional store; left empty, it acts on your default store. In n8n, install the community node n8n-nodes-magistry; its action node can also be used as a tool by an n8n AI agent.

what each step calls
curl -X POST https://app.magistry.io/api/v1/tools/approvals_pending_list \
  -H "Authorization: Bearer mag_sk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "limit": 5 }'

// triggers

What starts a workflow.

New item waiting for approval
approvals_pending_list · every store the key reaches
New alert
get_alerts · open alerts
New order
orders_list · any connected sales channel
New payment dispute
get_disputes · chargebacks and inquiries

// actions

What a workflow can do.

Approve a proposal
brain_proposal_get, then brain_proposal_approve with its row hash
Reject a proposal
brain_proposal_reject
Turn on the kill switch
set_kill_switch: no autonomous job acts for the store until you release it in Magistry
Draft a customer service reply
cs_suggest_reply: nothing is sent or saved
Get KPI summary
get_orders_summary: orders, revenue, refunds, ad spend, ROAS
Get store overview
get_store_overview
Call any Magistry tool
any operation from the REST reference, by name

A write answers with its outcome. applied: true means it ran. applied: false with status: proposed means an approval card is waiting in Magistry, with a link to it: the write grants on your key decide which of the two you get, so an automation can never do more than the key allows. Triggers poll every few minutes and only pass on what is new since the last run.

Build on the same tools the product uses.

Create a sandbox key on demo data, or start free and connect a real store.

MCP + REST · OAuth 2.1 or API keys · every call audited