Skip to main content
A small app that watches your orders and tells the right person about the ones that matter: large orders, deliveries, and orders that never made it to the till. Rules are yours to edit from a settings page — no redeploy to change a threshold.
If you only want every order posted to a Slack channel with no rules, you do not need to build anything: storekit’s webhooks portal can post straight to Slack. See Slack Notifications. Build this recipe when you need filtering, texts, or different people for different events.

How It Works

  1. storekit sends order.created and order.pos.dispatch.failed to your app.
  2. Your app checks each event against the rules you set (order value, order type, keywords in notes) and picks a channel.
  3. It posts to Slack through an incoming webhook, and optionally sends a text through Twilio.

What You Need

  • Webhooks enabled on your storekit plan (SettingsDevelopers).
  • A Lovable or v0 account. Both need a backend for the webhook endpoint — the prompt asks the builder to deploy one and give you its URL. Replit also works and is the simpler choice if the builder struggles with the backend step.
  • A Slack incoming webhook URL for the channel you want alerts in (create one from the “Incoming Webhooks” app in Slack’s app directory, choose the channel and copy the URL).
  • Optional, for texts: a Twilio account with a phone number. Texts cost money per message; Slack is free.

Step 1: Build the App

Paste the whole block into the builder in a single message. Change the example rules under MY RULES to match your business first.

Either button opens the builder with the whole prompt below already filled in. Nothing starts until you press send, so read it through and edit the parts marked as yours first.

Open /settings, press “Send test” on the “Big order” rule and check the message lands in Slack before connecting storekit.

Step 2: Connect storekit

1

Open the webhooks portal

In the dashboard sidebar, go to SettingsDevelopers and click Manage Webhooks (it reads Enable Webhooks the first time). Webhooks are a subscription feature — if you see Upgrade to enable webhooks, contact support first.
2

Add your app as an endpoint

In the embedded portal, add a new endpoint, paste the webhook URL your app builder gave you, and tick only the event types the recipe needs.
3

Copy the signing secret into your app

Open the endpoint you just created and copy its signing secret. In your app builder, save it as the environment variable STOREKIT_WEBHOOK_SECRET (builders call this “secrets” or “environment variables”). Redeploy if the builder asks you to.
4

Send a test event

Use the portal’s test option on the endpoint to send a sample event. The delivery log shows the response code from your app. A 2xx means your app accepted it; anything else, read the response body in the log — it is usually a missing secret.
Tick order.created and order.pos.dispatch.failed for this endpoint.

Step 3: Test With a Real Order

Place an order on your own storefront above the “Big order” threshold (or lower the threshold to £1 in /settings for the test). The Slack message should arrive within a few seconds of the order confirmation. Put the threshold back afterwards. To test the till-failure alert without breaking your till, use the test option in the webhooks portal and pick order.pos.dispatch.failed as the event type.

Ideas

  • Different channels per shift: add a day-of-week condition and route weekend alerts to a different Slack channel.
  • Daily count: a rule with no conditions that increments a counter, and a 10 pm summary message.
  • Low ratings: add order.rating.updated and alert the GM when a rating is 2 stars or lower.
  • Printer offline: add printer.status.offline and text whoever is on shift; the payload has the printer’s name.

What This Does Not Do

  • It does not replace storekit’s own alerts. Order sounds in the dashboard, printer-offline emails and POS failure handling carry on as before.
  • It cannot accept, reject or fix an order. Webhooks are one-way. The alert tells a person; the person acts in the dashboard.
  • Texts depend on Twilio, including its sign-up checks and per-message pricing. Slack is free and immediate, which is why the starting rules use it.
  • It is your service. storekit support can confirm an event was delivered to your URL and the response code; the rules and messages are yours.

Slack Notifications

Every order straight to Slack with no code.

Writing a Prompt That Works

The structure behind this prompt, and what to say when the builder gets it wrong.

order.pos.dispatch.failed

The payload behind the till-failure alert.

Managing Live Orders

What to do in the dashboard once the alert arrives.