Guides · Shopify
Get a Mac notification for every Shopify order
Shopify's admin can send a webhook per topic, orders/create for instance, to any URL. One EventBar hook per topic gives you a notification per order and a count for the day, week and month.
Needs: the free EventBar app on your Mac, an EventBar account, and a Shopify account with permission to add webhooks. About five minutes. Shopify preset, signature verified.
Steps
- Create the webhook URL. In the EventBar dashboard, open the Webhooks tab, pick the group this belongs to (one group per site or app is the usual shape), choose the provider Shopify, name it, and press Create. Copy the URL; it stays visible and can be rotated any time.
- Paste it into Shopify. In Shopify admin: Settings, then Notifications, then Webhooks, then Create webhook. Event Order creation, format JSON, URL your hook URL; add more webhooks (Order payment, Refund create) with the same URL. At the bottom of that Webhooks page Shopify shows the signing secret: paste it into the hook card in EventBar. The Shopify preset reads the topic header, so one URL covers every topic.
- Trigger one. Most services offer a test delivery; otherwise do the real thing once. It shows up in the dashboard's Events tab within a second and in the menu bar, as an undefined type named after the event. That first one is your proof the wiring works.
- Make it read well. Press Define on the new type and give it a title and a body template. Fields come from the payload, nested ones with dots. The table below is a starting point.
This preset is on Plus and Pro. A free Generic JSON hook can receive these deliveries too, but Shopify sends the event type in a header, so every delivery shows the hook's default type and there's no signature check.
What you'll see
| Type | Title | Body template |
|---|---|---|
orders.create | Order | #{order_number} · {total_price} {currency} · {email} |
orders.paid | Paid | #{order_number} · {total_price} {currency} |
refunds.create | Refund | Order {order_id} |
Every type has its own switch in the menu bar, so a noisy one can be quiet on this Mac and still counted. Counts cover the last hour, 24 hours, 7 days, 30 days and all time.
Worth knowing
- Deliveries are verified with Shopify's
X-Shopify-Hmac-Sha256header once the secret is saved, and duplicates are dropped byX-Shopify-Webhook-Id. - Shopify sends a test notification from the webhook page; it counts once.
- Give
order_createdthe link templatehttps://admin.shopify.com/store/<your-store>/orders/{id}and a click opens the order.
The full contract, including how each preset reads a payload and what the answers mean, is in the API docs. Something about Shopify's payload changed? Tell us and we'll fix the guide.