Skip to main content
A lot of running a shop is the same move, over and over. A chargeback comes in, so you blacklist the buyer. A product sells out, so you hide it. A big first order lands, so you give it a second look before it turns into a dispute. Automations do those moves for you, the moment they are needed and every time. Every automation reads like a sentence:
When a chargeback is opened, if the disputed amount is over $50, then blacklist the buyer and tell me on Discord.
There is no AI guessing involved. An automation does exactly what you set up, costs nothing to run, and shows you every run afterwards. You find it in the dashboard under Automations (/automations). The first time you open it, you get a short introduction and a few templates to start from.
The Automations page before any automation exists: a No Automations Yet card with Browse Templates and Create Automation buttons, followed by six template cards such as Blacklist chargeback buyers, Review large first orders and Low stock alert

Automations and AI Agents

The dashboard calls these rules Automations; the Developer API calls the resource workflows. Automations are also available through the Developer API and the Shoppex MCP server. An AI agent such as Claude or Codex can read your automations, draft new ones, test them and report on their runs. An automation created that way always starts as a draft, so nothing goes live until you, or the agent on your explicit instruction, turns it on.

How an Automation Works

1

When: the trigger

What starts the automation. That is either something that happens in your shop (an order is paid, a chargeback is opened, a ticket comes in), a number that crosses a line (stock runs low, revenue drops), or a time on a schedule.
2

If: the conditions

Optional checks on the event, such as “the order total is at least 150” or “it is the buyer’s first order”. Match all of them or any of them. Without conditions, the automation runs every time the trigger fires.
3

Then: the steps

What the automation does, in order: notify you, email the buyer, blacklist, tag, create a coupon, add store credit, change a product, give a Discord role, post in Discord, or call your own webhook. Steps can wait between each other and check again before they continue.

Start from a template

The fastest start is a template. Each one is a complete automation for something sellers automate most. Pick one, adjust the numbers and texts to your shop, and turn it on.
The Templates page with category tabs (Orders, Payments, Chargebacks, Customers, Products, Subscriptions) and template cards such as Blacklist chargeback buyers, Flag repeat chargebacks, Review large first orders, Low stock alert and Put sold-out products on hold
Some of the templates:
  • Blacklist chargeback buyers: block the buyer’s email, IP and Discord account the moment they open a chargeback, and tell you about it.
  • Review large first orders: ping you when a first-time buyer pays a lot, so you can check the order before it becomes a dispute.
  • Put sold-out products on hold: when a product sells out, hide it so nobody can start a checkout, and tell you.
  • Payment method down: alert you everywhere the moment a connected payment method fails its health check.
  • Reward loyal buyers: on a buyer’s third paid order, tag them as VIP and email them a 15% coupon.
  • Daily sales digest: yesterday’s revenue and orders, every morning at the time you choose.
If nothing fits, choose Create Automation and start with the trigger.

Build an Automation

The editor is one page, from top to bottom: When, If, Then. There are no boxes to connect and no diagram to arrange. On the right, In Short repeats the whole automation as plain sentences, so you can read back what you built.
The automation editor for 'Review large first orders': a When section with the Order paid trigger, an If section with two conditions (Buyer's first order is true, and Order total is at least 150 USD), a Then section with one step that notifies the merchant on the dashboard and Discord with a title and message using variables, and a Settings section. On the right, an In Short summary and a Test card

Triggers

Order shipped runs once, when you first mark an order as shipped, with its tracking number and link. Turn on Also on tracking updates if it should run again when you correct the tracking number. Metric triggers are checked every five minutes. They fire once when the number crosses the line and again only after it has recovered. A revenue drop alerts you once, not every five minutes.

Conditions

Pick a field, a comparison and a value: Order total is at least 150. The fields you can pick depend on the trigger. A chargeback has a disputed amount and a reason, an order has a total, a country, a payment method and its products, and a customer has their paid orders, total spent, tags and past chargebacks. A condition on a value the event does not have never passes. An automation never runs by accident because a field was empty.

Steps

Wait and Only continue if make follow-ups simple. For example: give a Discord role when an order is paid, wait 30 days, then remove it again. Titles and messages can use variables such as {{order.total}} or {{customer.email}}. Choose Insert Variable next to a field to pick one, and the Preview under the field shows the text as it will be sent.

Where notifications go

Send me a notification reaches you where you are:
  • Dashboard inbox: the bell in the dashboard.
  • Phone: a push notification from the Shoppex app. Sign in to the app on your phone and allow notifications.
  • Discord: your Store health webhook from Settings → Notifications, or a channel of your server when the Shoppex bot is installed there.
  • Telegram: your connected Telegram bot.
  • Email: the shop owner’s email address.
Post in Discord is for your community rather than for you: announce a restock in #drops, or celebrate a big sale in #sales. It posts through the Shoppex bot, so the bot has to be installed on your server first.

Test before you turn it on

The Test card shows what the automation would do, without doing it. Nothing is sent, created or blocked. Test against the latest real event, against an order you pick, or against example data.
The Test card after a test run against the latest event: 'This would be skipped' for an order, with both conditions marked as not met (Buyer's first order is true, actual false; Order total is at least 150, actual 22) and the notification step marked as not reached
The result lists every condition with the actual value it saw, and every step with what it would have done. When a step could not work in your shop yet, for example Discord is not connected, the test says so.

Turn it on

A new automation is a draft until you turn it on. Drafts may be unfinished. To turn an automation on, every required field has to be filled in. If something is missing, the editor takes you straight to it. A few settings keep an automation in check. Most shops never change them:
  • Run: every time, once per customer, or once per order.
  • Most runs per hour: a flood guard. Past the limit, runs are skipped and shown in the history, so a sudden burst of events cannot send you a hundred messages.
Changes to an automation that is on apply to new runs. Runs that are already waiting in a Wait step keep the version they started with. When you pause an automation, you choose whether to cancel those waiting runs as well.

See what happened

Automations → Runs lists every run: which automation, for which order or customer, how far it got and whether it worked. Open a run to see the event that started it, how each condition was evaluated, and what each step did.
A run of 'Blacklist chargeback buyers' marked Succeeded: the chargeback that triggered it with its reason, disputed amount and order, no conditions, and two finished steps (blacklisted the buyer's email permanently, and sent a notification to the dashboard inbox)
A failed run shows the error in plain words and what to fix. Once it is fixed, Retry picks the run up at the failed step. Steps that already worked are not repeated.
Automations protect themselves. If an automation fails five times in a row, for example because a Discord role was deleted, Shoppex pauses it and tells you, instead of failing silently on every order. An automation also never triggers itself, and chains of automations that trigger each other stop after three levels.

The overview

The Automations page shows how your automation is doing: how many automations are on, how many runs the last seven days had, the success rate and any failed runs. Each automation shows its trigger, what it does, its latest run, and a switch to turn it on or off.
The Automations page with four summary numbers (4 of 5 automations on, 14 runs in 7 days, 100% success rate, 0 failed runs) above a table of five automations with their trigger, the steps they run, runs in the last 7 days, last run and an on/off switch; one is still a draft with a Finish Setup link

Good to know

  • Email flows send email sequences to your contacts and live in Email → Email Flows. An automation can tag a customer, and a broadcast can target that tag.
  • A shop can have up to 100 automations, each with up to 20 conditions and 20 steps. A single wait can last up to 90 days.
  • Team members need the Read Automations permission to see automations and their runs, and Manage Automations to change them. Neither comes with another permission, because an automation can blacklist buyers and issue coupons.