Slack alerts for high-value Adobe Commerce orders
Every 15 minutes, catch new high-value Adobe Commerce orders and ping fulfillment in Slack with everything they need to pack them fast.
Integrations
Adobe Commerce (Magento)
Slack
Type
Categories
- Operations
- Sales
Every 15 minutes on a cron schedule, watch Adobe Commerce for new high-value orders and post a Slack alert to my fulfillment channel so packers can jump on them immediately. Build this as a code workflow: it is a deterministic pull-filter-post pipeline with no reasoning required.
Use the Adobe Commerce List Orders operation with a searchCriteria filter for orders whose created_at is greater than the timestamp of the last successful run and whose grand_total is greater than or equal to a configurable threshold (default 500 in the store's base currency). Sort by created_at ascending so the oldest qualifying order is processed first, and page through until every match is handled.
Persist the last-seen created_at (or the last-seen increment_id) between runs so each qualifying order fires exactly once and re-runs never double-alert. On the very first run, seed the cursor to the current time so historical orders are ignored.
For every matching order, call the Slack Send a Message operation once to post to a configurable channel id. Format one message per order containing: the increment id (the customer-visible order number), the grand_total formatted with the order's order_currency_code, the customer's first + last name and email from customer_firstname / customer_lastname / customer_email, the ship-to city and country_id from extension_attributes.shipping_assignments[0].shipping.address, every item's sku with qty_ordered from the items array, and a direct link to the Magento admin view page for that order. Build the admin link by stripping the trailing /rest/V1 from the connection's baseUrl and appending /admin/sales/order/view/order_id/{entity_id} so the packer clicks straight into the order.
Top-level knobs the user should be able to edit without touching code: the dollar threshold (default 500), the Slack channel id, and the cron cadence (default every 15 minutes). If no orders match on a given run, complete the run silently — no Slack message, no error.
Use Slack mrkdwn formatting: *bold* for the order number and total, and <url|text> for the Magento admin link. Keep the message compact enough to read on a phone since fulfillment often triages from mobile.
What it does
- Watches your Adobe Commerce store every 15 minutes for new orders at or above your revenue threshold (default $500).
- Skips orders you've already been alerted about, so each big order fires exactly one Slack message.
- Posts a clean alert to your fulfillment channel with the order number, customer, ship-to address, item SKUs, total, and a one-click link into Magento.
- Runs quietly when nothing qualifies, so the channel stays clean and packers only see orders that matter.
What you’ll need
- An Adobe Commerce (Magento) store and an integration access token generated from the Magento admin
- A Slack workspace and the channel you want high-value order alerts to land in
- The dollar amount you consider a high-value order (defaults to $500)
How to customize it
- Raise or lower the threshold to match your average order value and margin
- Point alerts at a different channel like #shipping, #vip-orders, or a fulfillment lead's DM
- Speed the cadence up to every 5 minutes for high-volume stores, or slow it to hourly for calmer shops
Use cases
- Notifications & Alerts