Magento new customer notifications on your phone.

Get a low-priority push notification when someone creates a customer account in your Magento shop, or one is added in the admin or through the API.

customer.registeredE-commerceSign-ups & users
How it works

Three steps to your first push

STEP 01

Install the recipe

One click in Studio gives you a personal webhook URL.

STEP 02

Paste your URL into Magento

Add it as a webhook for Customer registered.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Magento customer registered webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. Install the JustPush module in your shop: composer require justpush/magento-module-notify, then bin/magento setup:upgrade.
  3. In the Magento admin, open Stores > Configuration > Services > JustPush and set Enabled to Yes.
  4. Paste your webhook URL into the Customer registered field, click Save Config, then click Send test.https://••••••••/•••••••• your personal URL, shown after install
  5. Magento has no outgoing webhooks, so this recipe needs the free **JustPush module** in your shop ([source](https://github.com/JustPush-io/justpush-magento)). Install it once; it serves every Magento recipe:
  6. ```bash
  7. composer require justpush/magento-module-notify
  8. bin/magento setup:upgrade
  9. bin/magento cache:flush
  10. ```
  11. Then open **Stores → Configuration → Services → JustPush** in the Magento admin, set **Enabled** to **Yes**, paste the URL above into the **Customer registered** field and click **Save Config**. Click **Send test**: this recipe answers with a quiet "🔔 Magento connected".
  12. Guest checkouts don't create a customer account, so they don't trigger this recipe.
  13. The module sends from Magento's message queue, so Magento cron has to run (it usually does). Without cron, set **Send immediately (no cron)** to **Yes**.
  14. The **Open customer** button opens the Magento admin. With Magento's default **Add Secret Key to URLs** setting, it lands on the dashboard rather than the page itself.
  15. Requests aren't signed, so keep the URL private.
The code

What runs when the webhook arrives

Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.

transform.js
1// Magento → customer registered
2// Fires when the JustPush module (justpush/magento-module-notify) reports a "customer.registered"
3// event: a new customer account from the storefront, the admin or the API.
4// Docs: https://github.com/JustPush-io/justpush-magento
5
6// The module sends plain strings; treat blanks and nulls as missing.
7function text(value) {
8 return typeof value === "string" && value.trim() ? value.trim() : null
9}
10
11// Only link to real http(s) URLs.
12function link(url, cta) {
13 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
14}
15
16// Which shop sent it, so owners of several websites can tell them apart.
17function shop(store) {
18 if (!store || typeof store !== "object") return null
19 const url = text(store.url)
20 const host = url && /^https?:\/\//.test(url) ? url.replace(/^https?:\/\//, "").replace(/\/.*$/, "") : null
21 return text(store.website) ?? text(store.store_view) ?? host
22}
23
24// The module's "Send test" button; every Magento recipe answers it.
25function testPing(body) {
26 const from = shop(body.store)
27 return {
28 title: "🔔 Magento connected",
29 message: from ? `${from} is sending to this recipe` : "Your shop is sending to this recipe",
30 topic: "Magento",
31 priority: -1, // Low — you just clicked the button
32 }
33}
34
35function pick(table, key, fallback) {
36 return typeof key === "string" && Object.prototype.hasOwnProperty.call(table, key) ? table[key] : fallback
37}
38
39function handleRequest(request) {
40 const body = request.body && typeof request.body === "object" ? request.body : {}
41
42 if (body.event === "test.ping") return testPing(body)
43
44 // Guard: only handle this recipe's event, so other Magento events on this integration stay quiet.
45 const customer = body.customer
46 if (body.event !== "customer.registered" || !customer || typeof customer !== "object") {
47 console.log(`Ignoring Magento event "${body.event ?? "unknown"}"`)
48 return null
49 }
50
51 const name = text(customer.name)
52 const email = text(customer.email)
53 const who = name && email ? `${name} (${email})` : name ?? email ?? "Someone"
54 const group = text(customer.group)
55
56 return {
57 title: "👤 New customer",
58 message: [
59 `${who} created an account`,
60 pick({ admin: "added in the admin", api: "via the API" }, customer.source, null),
61 group && group !== "General" ? `group: ${group}` : null,
62 shop(body.store),
63 ]
64 .filter(Boolean)
65 .join(" · "),
66 topic: "Magento",
67 priority: -1, // Low — nice to know, nothing to do
68 buttons: link(customer.admin_url, "Open customer"),
69 }
70}
Payload

The Magento customer.registered webhook

This is what Magento sends to your URL for customer registered. It is a sample, trimmed to the fields recipes use.

customer.registered · sample.json
1{
2 "event": "customer.registered",
3 "store": {
4 "url": "https://shop.example.com/",
5 "website": "Main Website",
6 "store_view": "Default Store View"
7 },
8 "sent_at": "2026-09-30T14:29:28Z",
9 "version": 1,
10 "customer": {
11 "name": "Jane Doe",
12 "email": "[email protected]",
13 "group": "General",
14 "source": "frontend",
15 "admin_url": "https://shop.example.com/admin/customer/index/edit/id/5/"
16 }
17}
FAQ

Magento new customer notifications: questions

Does this work on iPhone and Android?

Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.

Do I need to write code?

No. Install the recipe in Studio, paste your webhook URL into Magento and you are done. The code is there if you want to change the text, the sound or the buttons.

Can I change what the notification says?

Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.

What does it cost?

JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.

Ready when you are

Magento on your phone in two minutes.

Install the recipe, paste one URL, done. Free for 30 days, no credit card required.