Ghost paid member notifications on your phone.

Get a push notification when a Ghost member becomes a paying member, with their tier and price.

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 Ghost

Add it as a webhook for Member updated.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the Ghost member updated webhook

  1. Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
  2. In Ghost Admin, go to Settings > Advanced > Integrations and click Add custom integration (name it JustPush).
  3. Click Add webhook, pick Member updated as the event and paste your webhook URL as the target URL.https://••••••••/•••••••• your personal URL, shown after install
  4. Leave the secret empty (JustPush doesn't check it yet) and save.
  5. Add **two** webhooks to the same custom integration, both pointing at your endpoint URL:
  6. **Member updated**: catches free members who upgrade (the usual case).
  7. **Member added**: catches members who are paid from the moment they're created.
  8. Every other member change (name, labels, newsletters, …) is ignored.
  9. To get a **View member** button that opens the member in Ghost Admin, add your site's address to the target URL:
  10. ```
  11. your webhook URL?site=https://yoursite.com
  12. ```
  13. Ghost can sign webhooks with a secret (`X-Ghost-Signature`), but JustPush doesn't check that signature yet, so leave the secret empty and keep your endpoint 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// Ghost → member.edited (member became paid)
2// Fires when a Ghost member's status changes to "paid": a free member upgrades, or a
3// new member signs up through Stripe checkout. Also accepts member.added for a member
4// who is paid from the start.
5// Docs: https://docs.ghost.org/webhooks
6
7// Stripe (and so Ghost) amounts are in the currency's smallest unit, except for
8// zero-decimal currencies such as JPY, where 500 means ¥500.
9const ZERO_DECIMAL = new Set([
10 "bif", "clp", "djf", "gnf", "jpy", "kmf", "krw", "mga",
11 "pyg", "rwf", "ugx", "vnd", "vuv", "xaf", "xof", "xpf",
12])
13
14function money(amount, currency) {
15 // Don't invent a figure when the subscription doesn't carry one.
16 if (typeof amount !== "number" || !Number.isFinite(amount) || typeof currency !== "string" || !currency) return null
17 const code = currency.toLowerCase()
18 const value = ZERO_DECIMAL.has(code) ? amount : amount / 100
19 try {
20 return new Intl.NumberFormat("en-GB", { style: "currency", currency: code }).format(value)
21 } catch {
22 return `${value} ${code.toUpperCase()}`
23 }
24}
25
26// Ghost sends plain strings; treat blanks as missing.
27function text(value) {
28 return typeof value === "string" && value.trim() ? value.trim() : null
29}
30
31// Only link to real http(s) URLs.
32function link(url, cta) {
33 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
34}
35
36function handleRequest(request) {
37 const body = request.body && typeof request.body === "object" ? request.body : {}
38 const member = body.member?.current
39 const previous = body.member?.previous && typeof body.member.previous === "object" ? body.member.previous : null
40
41 if (!member || typeof member !== "object" || !previous || (body.event && !/^member\.(added|edited)$/.test(body.event))) {
42 console.log(`Ignoring Ghost "${body.event ?? "unknown"}" event`)
43 return null
44 }
45
46 // "previous" only holds the fields that changed, so an upgrade shows up as previous.status.
47 // A brand-new member has an empty "previous".
48 const isNew = body.event ? body.event === "member.added" : Object.keys(previous).length === 0
49 const upgraded = typeof previous.status === "string" && previous.status !== "paid"
50 if (member.status !== "paid" || !(isNew || upgraded)) {
51 console.log(`Skipping member change (status ${previous.status ?? "unchanged"} → ${member.status ?? "unknown"})`)
52 return null
53 }
54
55 const name = text(member.name)
56 const email = text(member.email)
57 const who = name && email ? `${name} (${email})` : name || email || "A member"
58
59 // The newest active subscription says what they pay.
60 const subs = Array.isArray(member.subscriptions) ? member.subscriptions.filter((s) => s && typeof s === "object") : []
61 const sub = subs.find((s) => s.status === "active" || s.status === "trialing") ?? subs[0]
62 const tier = text(sub?.tier?.name) ?? text(sub?.price?.tier?.name) ?? (Array.isArray(member.tiers) ? text(member.tiers[0]?.name) : null)
63 const price = money(sub?.price?.amount, sub?.price?.currency)
64 const interval = text(sub?.price?.interval)
65 const plan = [tier, price ? price + (interval ? `/${interval}` : "") : null].filter(Boolean).join(", ")
66 const trial = sub?.status === "trialing" ? " (free trial)" : ""
67 // ?site=https://yoursite.com adds a button to the member in Ghost Admin.
68 const site = text(request.query?.site)?.replace(/\/+$/, "")
69
70 return {
71 title: "💰 New paid member",
72 message: `${who} ${!upgraded ? "joined" : previous.status === "free" ? "upgraded" : "switched to paid"}` + (plan ? ` — ${plan}` : "") + trial,
73 topic: "Ghost",
74 priority: 0, // Normal — recurring revenue, worth a smile
75 sound: "cashregister",
76 buttons: site && member.id ? link(`${site}/ghost/#/members/${member.id}`, "View member") : [],
77 }
78}
Payload

The Ghost member.edited webhook

This is what Ghost sends to your URL for member updated. It is a sample, trimmed to the fields recipes use.

member.edited · sample.json
1{
2 "event": "member.edited",
3 "member": {
4 "current": {
5 "id": "623199bfe8bc4d3097caefe0",
6 "name": "Jamie",
7 "uuid": "4fa3e4df-85d5-44bd-b0bf-d504bbe22060",
8 "email": "[email protected]",
9 "tiers": [
10 {
11 "id": "62307cc71b4376a976734038",
12 "name": "Supporter",
13 "slug": "supporter",
14 "type": "paid"
15 }
16 ],
17 "comped": false,
18 "labels": [],
19 "status": "paid",
20 "created_at": "2026-03-16T08:03:11.000Z",
21 "subscribed": true,
22 "updated_at": "2026-09-29T07:57:58.000Z",
23 "subscriptions": [
24 {
25 "id": "sub_000000000000000000000000",
26 "tier": {
27 "id": "62307cc71b4376a976734038",
28 "name": "Supporter",
29 "slug": "supporter",
30 "type": "paid",
31 "currency": "USD",
32 "yearly_price": 5000,
33 "monthly_price": 500
34 },
35 "offer": null,
36 "price": {
37 "id": "price_000000000000000000000000",
38 "tier": {
39 "id": "prod_00000000000000",
40 "name": "Supporter",
41 "tier_id": "62307cc71b4376a976734038"
42 },
43 "type": "recurring",
44 "amount": 500,
45 "currency": "USD",
46 "interval": "month",
47 "nickname": "Monthly",
48 "price_id": "6239692c664a9e6f5e5e840a"
49 },
50 "status": "active",
51 "customer": {
52 "id": "cus_00000000000000",
53 "name": "Jamie",
54 "email": "[email protected]"
55 },
56 "start_date": "2026-09-29T07:57:58.000Z",
57 "trial_end_at": null,
58 "trial_start_at": null,
59 "current_period_end": "2026-10-29T07:57:58.000Z",
60 "cancellation_reason": null,
61 "cancel_at_period_end": false,
62 "default_payment_card_last4": "4242"
63 }
64 ]
65 },
66 "previous": {
67 "status": "free",
68 "updated_at": "2026-03-16T08:03:40.000Z"
69 }
70 }
71}
FAQ

Ghost paid member 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 Ghost 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

Ghost on your phone in two minutes.

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