beehiiv

Manage subscribers, posts, segments, custom fields, and automations in beehiiv.

v1.0.1Source

Install

Manage beehiiv subscriptions, posts, segments, custom fields, automations, and tiers, and start a workflow on a subscription or post event. Use it to grow and sync a newsletter audience.

beehiiv@zerodot/beehiivInstall
  1. Open System, then Nodes.
  2. Find beehiiv and click Install.
  3. Use the new nodes at once. You do not restart.

How it works

beehiiv (beehiiv.api) is an action node in the beehiiv package (@zerodot/beehiiv): Manage subscribers, posts, segments, custom fields, and automations in beehiiv.

All resources except Publication > Get Many need the Publication ID (starts with pub_). Use Publication > Get Many to find it. The ID is in the node and not in the credential, so one credential can serve many publications.

  • Subscription: create, get (by ID or by email), get many, update (by ID or by email), delete, add tags, remove tags
  • Post: create, get, get many, delete
  • Publication: get, get many
  • Segment: get, get many, get subscribers, delete
  • Custom Field: create, get many, update, delete
  • Automation: get many, add subscriber (by email or by subscription ID)
  • Tier: get many
  • Referral Program: get the milestones and rewards

Lists have Return All (at most 5000 items) and Limit. The node follows the cursor of beehiiv, or the page numbers when an endpoint has no cursor. Use Expand to add data such as stats, custom fields, tags, or post content. Use Additional Fields to set the optional fields of Create and Update. Custom field values go in the Custom Fields list of the Additional Fields: the name is the name of an existing custom field.

Notes:

  • Post > Create uses the Send API of beehiiv. It is only for publications on the Pro and Enterprise plans. The content is HTML in Body Content. beehiiv makes the post in the background, so Post > Get can answer with "not ready". The node waits and tries again a few times.
  • Subscription > Delete cannot be undone. When you can, unsubscribe in Update instead.
  • Add Subscriber needs an automation with an Add by API trigger.
  • Post > Delete archives a post that is sent, and deletes a draft.
  • This node does not create segments. Create them in beehiiv.

When beehiiv gives an error, the node fails with the message, the error code, and a short help text. A rate limit (HTTP 429) gives the time to wait. The limit is 30 (Free), 180 (Lite), 500 (Pro), or 800 (Enterprise) requests each minute.

Logins it can use

beehiiv API key (beehiiv.apiKey): apiKey from Settings > Integrations > API in beehiiv, and the optional webhookSecret for the trigger. Both are secret. The Test button reads the list of publications.

Guides and related hubs