beehiiv new subscriber notifications on your phone.

Get a low-priority push notification when someone subscribes to your beehiiv newsletter, with where they came from.

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.created.

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.created 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.created event only and save.
  5. Pick **one** of these events, not both, or you'll get two pushes per subscriber:
  6. `subscription.created` (default): fires as soon as someone signs up.
  7. `subscription.confirmed`: fires when they confirm, if your publication uses double opt-in. The push then says "(confirmed)".
  8. 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.created (new subscriber)
2// Fires when someone subscribes to your beehiiv publication. Also accepts
3// subscription.confirmed, for publications that use double opt-in.
4// Docs: https://developers.beehiiv.com/webhooks/subscription/created
5
6// Events this recipe turns into a push.
7const TYPES = new Set(["subscription.created", "subscription.confirmed"])
8
9// beehiiv sends plain strings; treat blanks as missing.
10function text(value) {
11 return typeof value === "string" && value.trim() ? value.trim() : null
12}
13
14function handleRequest(request) {
15 const body = request.body && typeof request.body === "object" ? request.body : {}
16 const sub = body.data && typeof body.data === "object" ? body.data : null
17
18 // Guard: only new subscriptions, so other beehiiv events on this integration stay quiet.
19 if (!TYPES.has(body.event_type) || !sub) {
20 console.log(`Ignoring beehiiv "${body.event_type ?? "unknown"}" event`)
21 return null
22 }
23
24 const email = text(sub.email) ?? "Someone"
25 // Where they came from: a UTM source beats the referring site.
26 const source = text(sub.utm_source) ?? text(sub.referring_site)
27 const premium = sub.subscription_tier === "premium"
28
29 return {
30 title: premium ? "💎 New premium subscriber" : "📬 New subscriber",
31 message: email + (source ? ` via ${source}` : "") + (body.event_type === "subscription.confirmed" ? " (confirmed)" : ""),
32 topic: "beehiiv",
33 priority: premium ? 0 : -1, // Normal when it's paid, Low for a free signup
34 ...(premium ? { sound: "cashregister" } : {}),
35 }
36}
Payload

The beehiiv subscription.created webhook

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

subscription.created · sample.json
1{
2 "uid": "evt_00000000-0000-0000-0000-000000000001",
3 "data": {
4 "id": "sub_00000000-0000-0000-0000-000000000000",
5 "tags": [],
6 "email": "[email protected]",
7 "status": "active",
8 "created": 1790664000,
9 "utm_medium": "social",
10 "utm_source": "twitter",
11 "utm_channel": "website",
12 "utm_campaign": "launch",
13 "custom_fields": [],
14 "referral_code": "AbC123",
15 "referring_site": "https://example.com/blog",
16 "subscription_tier": "free",
17 "subscription_premium_tier_names": []
18 },
19 "event_type": "subscription.created",
20 "event_timestamp": 1790664000
21}
FAQ

beehiiv new subscriber 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.