Recipe

Shopify Order Notifications in Telegram, or as a Push on Your Phone

Shopify's order emails are fine until there are many of them. If what you want is a short message on your phone for the orders that matter, a webhook, a filter and a Telegram bot will do it, and none of them need installing in your store.

17 November 2026 · 3 min read

What you will end up with

A message like this, in a private chat or a team group, within a second or two of the order:

The Telegram message
🛒 New order #1042
284.00 EUR · 3 item(s)
Maya Okafor · Lisbon
First item: Walnut desk shelf

Step 1: a Telegram bot

  1. In Telegram, message @BotFather, send /newbot and follow the prompts. You get a token that looks like 123456789:AAE….
  2. Send your new bot any message, or add it to a group and send a message there.
  3. Open https://api.telegram.org/bot<TOKEN>/getUpdates in a browser and find chat.id in the reply. That number is where messages will go. Group IDs are negative.

The token lets anyone send messages as your bot. Keep it out of screenshots.

Step 2: a Shopify webhook

  1. Create a webhook.stream URL.
  2. In the Shopify admin open Settings → Notifications → Webhooks and create a webhook: event Order creation, format JSON, and your URL.
  3. Use Send test notification, or place a test order. The request arrives in the inspector with Shopify recognised and the topic shown as orders/create.

Step 3: the automation

Select the captured order, open Automations and choose Notify Telegram. The destination is https://api.telegram.org/bot<TOKEN>/sendMessage with your token in place.

When

FieldOperatorValue
headers.x-shopify-topicequalsorders/create
body.total_priceis greater than200

Shopify sends prices as text, such as "284.00". The comparison treats it as a number. Drop the second condition if you want every order.

Turn it into

Telegram message template
{
  "chat_id": "YOUR_CHAT_ID",
  "text": "🛒 New order {{body.name}}\n{{body.total_price}} {{body.currency}} · {{body.line_items | length}} item(s)\n{{body.customer.first_name}} {{body.customer.last_name}} · {{body.shipping_address.city | default: \"no shipping address\"}}\nFirst item: {{body.line_items[0].title}}"
}

Two details in that template:

  • line_items | length counts the items. Templates cannot loop over them, so the message names the first and says how many there are.
  • There is no parse_mode. With Telegram's Markdown mode, one unescaped full stop or hyphen in a product title makes Telegram reject the whole message. Plain text never fails that way.

Step 4: test and save

Press Send test. Telegram answers with the message it created, or with a description of what was wrong: chat not found means the chat ID is off or the bot has not been messaged yet.

The same thing as a phone push, with ntfy

If you do not use Telegram, ntfy sends push notifications to its phone app from a plain HTTP request. Install the app, subscribe to a topic with a long random name, and choose Push with ntfy with https://ntfy.sh/your-long-random-topic as the destination.

ntfy body template (text/plain)
New order {{body.name}}: {{body.total_price}} {{body.currency}}, {{body.line_items | length}} item(s)
Extra headers
Title: Shopify order
Priority: high
Tags: shopping_cart
Click: {{body.order_status_url}}

Header values are templates as well, so tapping the notification opens that order's status page. Keep customer names in the body: headers only carry plain ASCII reliably. On the public ntfy server, anyone who knows a topic name can read it, which is why the name should be long and random.

Things worth knowing

  • Shopify expects an answer within five seconds and removes webhooks that keep failing. The URL acknowledges immediately, whatever Telegram is doing, so the subscription stays healthy.
  • Deliveries are not retried. If Telegram is briefly unreachable, that message is missed. The order still shows in the inspector with the failed attempt beside it.
  • Orders contain personal data. Captured requests are stored until the URL expires and are visible to anyone with the dashboard link. Send the chat only what it needs, and do not share the link widely.
  • Some fields can be absent. Orders without shipping have no shipping_address. Use default on anything optional.
Keeping it runningA free URL lives for up to 7 days, which is enough to build this and prove it works. To leave it in place, a Pro pass keeps the same URL alive for 30 days ($3) or 1 year ($19). It is a single payment, not a subscription, and nothing has to be reconfigured at the sender.

Variations

  • Cancellations or refunds: create a second Shopify webhook for Order cancellation on the same URL and filter on orders/cancelled.
  • Only tagged orders: body.tags contains wholesale.
  • Team chat instead: the same conditions work with Slack or Discord.

For Shopify's headers, topics and signature, see the Shopify webhook guide.

Start with a test order

Create a URL, add it under Shopify's webhook settings and send a test notification. Build the message from the order that arrives.