beehiiv premium upgrade notifications on your phone.

Get a push notification when a beehiiv subscriber upgrades to one of your paid tiers.

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 beehiiv

Add it as a webhook for subscription.upgraded.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the beehiiv subscription.upgraded 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 beehiiv, go to Settings > Webhooks and add a new webhook (Scale plan or higher).
  3. Paste your webhook URL as the endpoint URL.https://••••••••/•••••••• your personal URL, shown after install
  4. Select the subscription.upgraded event only and save.
  5. Select only `subscription.upgraded`. beehiiv sends `subscription.downgraded` when someone drops back to free; this recipe ignores it.
  6. beehiiv delivers webhooks through Svix and signs them (`svix-signature`), but JustPush doesn't check that signature yet, so keep your endpoint URL private. Webhooks need the **Scale** plan or higher.
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// beehiiv → subscription.upgraded (premium upgrade)
2// Fires when a subscriber upgrades to a paid (premium) tier of your publication.
3// Docs: https://developers.beehiiv.com/webhooks/subscription/upgraded
4
5// beehiiv sends plain strings; treat blanks as missing.
6function text(value) {
7 return typeof value === "string" && value.trim() ? value.trim() : null
8}
9
10function handleRequest(request) {
11 const body = request.body && typeof request.body === "object" ? request.body : {}
12 const sub = body.data && typeof body.data === "object" ? body.data : null
13
14 // Guard: only upgrades, so other beehiiv events on this integration stay quiet.
15 if (body.event_type !== "subscription.upgraded" || !sub) {
16 console.log(`Ignoring beehiiv "${body.event_type ?? "unknown"}" event`)
17 return null
18 }
19
20 const email = text(sub.email) ?? "A subscriber"
21 const tiers = Array.isArray(sub.subscription_premium_tier_names)
22 ? sub.subscription_premium_tier_names.map(text).filter(Boolean)
23 : []
24
25 return {
26 title: "💎 New premium subscriber",
27 message: `${email} upgraded to ${tiers.length ? tiers.join(" + ") : "premium"}`,
28 topic: "beehiiv",
29 priority: 0, // Normal — recurring revenue, worth a smile
30 sound: "cashregister",
31 }
32}
Payload

The beehiiv subscription.upgraded webhook

This is what beehiiv sends to your URL for subscription.upgraded. It is a sample, trimmed to the fields recipes use.

subscription.upgraded · sample.json
1{
2 "uid": "evt_00000000-0000-0000-0000-000000000002",
3 "data": {
4 "id": "sub_00000000-0000-0000-0000-000000000000",
5 "tags": [],
6 "email": "[email protected]",
7 "status": "active",
8 "created": 1788000000,
9 "utm_source": "newsletter",
10 "custom_fields": [],
11 "subscription_tier": "premium",
12 "stripe_customer_id": "cus_00000000000000",
13 "subscription_premium_tier_names": [
14 "Supporter"
15 ]
16 },
17 "event_type": "subscription.upgraded",
18 "event_timestamp": 1790667600
19}
FAQ

beehiiv premium upgrade 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 beehiiv 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

beehiiv on your phone in two minutes.

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