Short version: in n8n, split every store change into two halves. The first half reads your store and writes a proposal. A Send and Wait for Response step in Slack or Telegram, or a Wait node, pauses the workflow until someone approves. The second half re-checks the store and makes the change through Shopify's Admin API, but only if
approvedis true. Add a timeout, a log and an off switch, and test it on a development store first.
What you'll build
One n8n workflow that:
- Starts on a schedule, a Shopify event or an AI agent's suggestion.
- Reads what it needs from Shopify and drafts a change, like "refund $42.00 on order #1234" or "change the price of the blue mug from $24 to $19".
- Sends that proposal to a person, with Approve and Decline buttons.
- Waits. n8n saves the paused execution to its database and picks it up again when someone responds (Wait node docs).
- On approval, checks nothing changed in the meantime, makes the change and logs who approved it. On a decline or no answer, it stops.
This guide is the hands-on build. For why agents need an approval layer at all, and how to decide which actions need one, read approval queues and kill switches for AI agents.
Step 1: give the workflow its own Shopify app
Give each workflow one app and the fewest scopes it needs. Shopify's access scope docs say any scope that writes a resource also grants read access, so a price-change workflow needs write_products and a refund workflow needs write_orders. read_orders and write_orders only cover orders from the last 60 days unless you add read_all_orders.
How you get a token changed this year. Shopify's Help Center says custom apps are now created in the Dev Dashboard, and custom apps made in the admin before January 1, 2026 are "legacy" apps you can still manage there. n8n's Shopify credential docs still describe the old Develop apps screen, which only helps if you already have one of those apps.
For a new Dev Dashboard app on a store in your own organization, Shopify's client credentials grant gives you a token from the app's client ID and secret. The token lasts 24 hours (expires_in is 86399), so in n8n the simplest pattern is an HTTP Request node at the start of each run:
POST https://your-store.myshopify.com/admin/oauth/access_token
Content-Type: application/x-www-form-urlencoded
grant_type=client_credentials&client_id=…&client_secret=…Pass the returned access_token to later nodes in the X-Shopify-Access-Token header. Shopify notes this grant only works when the app and the store belong to the same organization, and that it ignores any scope you send: the token carries whatever the store granted the app. Keep the client secret in an n8n credential, not in the node itself.
Step 2: read the store and write a proposal
Before anything is sent for approval, build one item that holds the whole proposal. A reviewer should understand it without opening Shopify:
- What: the action and the exact values, such as old price and new price.
- Why: one line from your rule or your agent.
- Money at stake: the refund amount, or the price difference times stock.
- Undo: how to reverse it if it was wrong.
- An ID: a unique proposal ID. Shopify recommends a random UUID for idempotency keys, and you'll reuse this one in step 5.
The built-in Shopify node can get, create, update and delete orders and products. For anything else, such as refunds or variant prices, use the HTTP Request node with Shopify's GraphQL Admin API. n8n lets you reuse a saved credential there through Predefined Credential Type.
Step 3: send it for approval
Pick one of three ways to ask. All three pause the execution until someone answers.
Option A: Slack, with approvals inside Slack
Add a Slack node with Message > Send and Wait for Response and set Response Type to Approval. By default Slack shows link buttons that open an n8n page. n8n's Slack approvals docs point out that anyone with that link can respond and n8n can't tell who clicked. For store changes, switch to in-Slack approvals:
- In your Slack app, add the
users:readandusers:read.emailscopes so the output can include who responded. - Under Interactivity & Shortcuts, turn on Interactivity and set the Request URL to
https://<your-n8n>/webhook-waiting-slack. - Paste the app's Signing Secret into the Signature Secret field of your n8n Slack credential. Without it, the buttons render but clicks don't resume the workflow.
- In the node, turn on Capture Who Responded, list your approvers in Restrict Who Can Approve, and keep After Decision on "Show Outcome and Remove Buttons".
The node then outputs approved, respondedAt and a responder with Slack ID, name, username and email. The approver list controls who can respond, not who can see the request, so post to a private channel or a direct message. Your n8n instance has to be reachable from Slack over public HTTPS.
Option B: Telegram
The Telegram node has the same Send and Wait for Response operation (docs). With the Approval response type you choose approve-only or approve-and-decline buttons and their labels. Turn on Approve Within Chat to approve with one tap in Telegram, record the responder's Telegram ID and name, and restrict who may respond. It needs your n8n instance on public HTTPS on port 443, 80, 88 or 8443.
Option C: a form or link, with the Wait node
For email or your own admin page, use the Wait node. On Form Submitted shows an n8n form, for example a dropdown with Approve and Reject and a notes field. On Webhook Call resumes when a URL is called. The URL is in $execution.resumeUrl, is unique to each execution, and you can protect it with Basic, Header or JWT auth and an IP allowlist. Two gotchas from n8n's docs: a partial (manual) execution changes the resume URL, and the Ignore Bots option stops link previewers from triggering it.
Step 4: decide what silence means
Every option above has Limit Wait Time. Turn it on and set an interval, such as 24 hours for a refund. When the limit passes, the workflow resumes by itself, so the next node must be an IF that continues only when approved is true. Send declines and timeouts down the same "stop and log" branch. Wait times are based on the n8n server's clock, not your workflow's timezone setting.
Step 5: re-check, then make the change
Time passes between the proposal and the tap. Before you write anything:
- Check your off switch. Read one flag, like a cell in a Google Sheet or a row in an n8n Data Table, and stop if it says "off". Now one change blocks every approved write.
- Re-read the store. If the price, stock or order status no longer matches the proposal, stop and send a new proposal instead.
- Write once. Call the GraphQL Admin API with the HTTP Request node.
Refunds need extra care. Shopify's refundCreate reference says that from API version 2026-04 an idempotency key is required, passed with the @idempotent directive. Use the proposal ID from step 2, so a retry can't refund twice:
POST https://your-store.myshopify.com/admin/api/2026-10/graphql.json
X-Shopify-Access-Token: {{ token }}
mutation Refund($input: RefundInput!) {
refundCreate(input: $input) @idempotent(key: "{{ proposal id }}") {
refund { id }
userErrors { field message }
}
}Price changes use productVariantsBulkUpdate, which needs write_products, and the user must also have permission to update product variants. Always check userErrors in the response, which is where Shopify's mutations report why a change didn't go through. If you write queries with an AI coding tool, the Shopify AI Toolkit (Dev MCP) can validate GraphQL against Shopify's schemas before you paste it into n8n.
Step 6: log every decision
Append one row per proposal: proposal ID, action, values, who approved or declined (from the responder output), respondedAt, and Shopify's result or error. That log is how you answer "who refunded this?" a month later. It also tells you which action types are approved every time and could get an auto-approve limit.
If an AI agent proposes the changes
When the change comes from an n8n AI Agent node, you don't need to build the pause yourself. n8n can require human review for specific tools: open the agent's Tools panel, add a Human review step with a channel (Slack, Telegram, Gmail, Microsoft Teams, Discord, WhatsApp Business Cloud, Google Chat, Outlook or n8n Chat), and connect the risky tools to it. In the approval message, {{ $tool.name }} and {{ JSON.stringify($tool.parameters, null, 2) }} show exactly what the agent wants to do. If someone declines, the agent is told. n8n recommends listing the reviewed tools in the agent's system prompt, along with what it should do after a denial.
Keep steps 4 to 6 anyway. The review protects the tool call, but your off switch, re-check and log still belong in the tool workflow that actually writes to Shopify.
Step 7: test it before it touches real orders
- Run it against a development store, or with the write step disabled, for the first week.
- Test all four paths: approve, decline, no answer (shorten the limit to a few minutes), and the off switch on.
- Try to approve the same request twice, for example by opening a link button twice, and check that only one change happens. n8n says the first decision stands.
- Have someone who isn't on the approver list click the button, and confirm the workflow keeps waiting.
Want it pre-built?
Our Approval Queue & Kill Switch (template 09) is this pattern, packaged: refunds, price changes, product edits and customer emails wait for an Approve or Reject tap in Slack or Telegram, with auto-approve limits, a watch-only first week, an audit log and one kill switch. It comes as n8n workflows and Python and is part of the Complete pack.
FAQ
Does n8n have a built-in approval step?
Yes. The Slack, Telegram and other messaging nodes have a Send and Wait for Response operation with an Approval response type, and the Wait node can pause a workflow until a form is submitted or a resume URL is called. For AI agents, n8n can require human review before specific tools run.
Can I limit who is allowed to approve?
In Slack, yes: turn on Capture Who Responded and pick the approvers in Restrict Who Can Approve. Anyone else who clicks gets a private notice and the workflow keeps waiting. Telegram's Approve Within Chat option can also restrict who may respond. With the default link buttons, anyone who has the link can respond and n8n can't tell who clicked.
What happens if nobody answers?
If you turn on Limit Wait Time, the workflow resumes on its own after the interval or date you set. Put an IF node after the approval step that only continues when approved is true, so silence never counts as a yes.
Does the approval step work on n8n running on my laptop?
Slack's in-chat approvals need your n8n instance to be reachable from Slack over public HTTPS, so localhost won't work. Telegram's Approve Within Chat also needs public HTTPS on port 443, 80, 88 or 8443. Use n8n Cloud or a hosted instance for production approvals.
Which Shopify permissions does the workflow need?
Only the scopes for the change it makes, for example write_products for price edits or write_orders for refunds. Shopify says a write scope also grants read access, so you don't need to add the read scope separately. Give the workflow its own app so you can revoke it without touching anything else.
Can the n8n Shopify node issue refunds?
No. n8n lists create, update, delete and get operations for orders and products. For refunds, variant price updates and other actions, use the HTTP Request node to call Shopify's GraphQL Admin API.