beehiiv post sent notifications on your phone.

Get a low-priority push notification when a beehiiv post goes out, with a button to open it on the web.

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 post.sent.

STEP 03

Get a push on your phone

With the text, sound and buttons from the recipe.

Setup

How to set up the beehiiv post.sent 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 post.sent event only and save.
  5. Select only `post.sent`. Scheduling a post sends `post.scheduled` first; this recipe ignores it and pushes when the post actually goes out.
  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 → post.sent
2// Fires when a post (newsletter issue) is sent or published on your beehiiv publication.
3// Docs: https://developers.beehiiv.com/webhooks/post/sent
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
10// Only link to real http(s) URLs.
11function link(url, cta) {
12 return typeof url === "string" && /^https?:\/\//.test(url) ? [{ cta, url }] : []
13}
14
15function handleRequest(request) {
16 const body = request.body && typeof request.body === "object" ? request.body : {}
17 const post = body.data && typeof body.data === "object" ? body.data : null
18
19 // Guard: only sent posts, so other beehiiv events on this integration stay quiet.
20 if (body.event_type !== "post.sent" || !post) {
21 console.log(`Ignoring beehiiv "${body.event_type ?? "unknown"}" event`)
22 return null
23 }
24
25 // The email subject is what readers see; fall back to the web title.
26 const subject = text(post.subject_line) ?? text(post.title) ?? "Your post"
27 const authors = Array.isArray(post.authors) ? post.authors.map(text).filter(Boolean) : []
28 const audience = text(post.audience)
29 const details = [
30 authors.length ? `by ${authors.join(", ")}` : null,
31 audience && audience !== "free" && audience !== "all" ? `${audience} audience` : null,
32 ].filter(Boolean)
33
34 return {
35 title: "📨 Post sent",
36 message: `"${subject}"` + (details.length ? ` — ${details.join(" · ")}` : ""),
37 topic: "beehiiv",
38 priority: -1, // Low — confirmation that your own send went out
39 buttons: link(post.web_url, "View post"),
40 }
41}
Payload

The beehiiv post.sent webhook

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

post.sent · sample.json
1{
2 "uid": "evt_00000000-0000-0000-0000-000000000003",
3 "data": {
4 "id": "post_00000000-0000-0000-0000-000000000000",
5 "slug": "issue-42-calmer-inboxes",
6 "title": "Issue 42: Calmer inboxes",
7 "status": "confirmed",
8 "authors": [
9 "Ada Lovelace"
10 ],
11 "created": 1790600000,
12 "web_url": "https://example.beehiiv.com/p/issue-42-calmer-inboxes",
13 "audience": "free",
14 "platform": "both",
15 "subtitle": "Four habits that stuck",
16 "content_tags": [
17 "productivity"
18 ],
19 "preview_text": "Plus one tool we stopped using",
20 "publish_date": 1790670000,
21 "split_tested": false,
22 "subject_line": "Issue 42: four habits for a calmer inbox",
23 "thumbnail_url": "https://example.com/images/issue-42.png",
24 "displayed_date": 1790670000,
25 "hidden_from_feed": false,
26 "email_capture_popup": true,
27 "enforce_gated_content": false
28 },
29 "event_type": "post.sent",
30 "event_timestamp": 1790670000
31}
FAQ

beehiiv post sent 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.