Introducing Webhooks

Integrate. Automate. Scale.

With the introduction of webhooks, beehiiv can now seamlessly sync with any platform on the internet in just a few clicks.

  • Want to automatically post your content to LinkedIn when you send a newsletter?

  • Want to add new subscribers to Hubspot or Salesforce?

  • Want newly upgraded readers to be added to your private Discord?

Webhooks on beehiiv make it simple šŸ‘‡ļø 

What are webhooks?

Webhooks are automated messages sent from one app to another, triggered when something happens.

  • Something happened in platform X ā†’ tell platform Y what happened

Within beehiiv, that something could beā€¦

  • when someone subscribes to your newsletter

  • when a subscriber upgrades to premium (or downgrades)

  • when you publish a new post

  • when a subscriber confirms their email

  • when a subscription is removed or deleted

  • and many more coming soonā€¦

And the potential apps on the receiving end of these automated messages could technically be anything.

Really any app, platform, or custom website that has an API is able to send and receive information from other applications.

And with the launch of webhooks today ā€” beehiiv can now seamlessly sync with any platform on the internet šŸ¤Æ.

Getting startedā€¦

As an example, Iā€™m going to create a simple webhook that sends me a Slack notification every time I get a new subscriber šŸ“ˆ.

To begin creating webhooks, just navigate to Settings ā†’ Integrations ā†’ Webhooks.

Webhooks Menu

Click Get Started and beehiiv will walk you through 3 simple steps.

Step 1

Add an Endpoint URL and a Description.

Remember: a webhook takes information about an event in one platform, and sends it to another. The Endpoint URL is a URL provided by the receiving platform that is anticipating information to be sent to it.

In my example, the Endpoint URL is provided by Slack. Most platforms will provide some documentation on how to generate this.

I generated the URL using Slackā€™s Workflow Builder, although Iā€™d typically recommend using Make or Zapier to simplify (more on this below).

Next I just copy and paste that Endpoint URL directly into Step 1 of beehiivā€™s webhook builder.

I added a description as well to make it easier to reference what this webhook is doing.

Step 1 ā€” Endpoint URL

Step 2

Select Event Type

Here you select which event is the something referenced above to trigger the webhook.

You can select multiple events for a single webhook, but in our case weā€™re going to select subscription.confirmed.

Step 2 ā€” Event Type

Note: the distinction between subscription.created and subscription.confirmed is nuanced but important. Weā€™d recommend always using subscription.confirmed unless you specifically want to target readers who havenā€™t yet confirmed their email.

Step 3

Review webhook

The hard work is done, now you just need to review and confirm that everything looks correct prior to publishing.

Step 3 ā€” Review

Just hit save, sit back, and let the dopamine run through your veins Slack channel.

Automated Slack Notifications

Itā€™s worth noting in the above example that Slackā€™s Workflow Builder has some limitations and wonā€™t display the subscriberā€™s email (i.e. nested data). To build more robust and flexible integrations, without any code, Iā€™d recommend looking into Make and Zapier.

Both act as a middleware to connect two platforms together via webhooks, while removing headaches and providing more flexibility.

Hereā€™s a video tutorial showing how to build this same beehiiv āž”ļø Slack integration via Make (and display the subscriberā€™s email) šŸ‘‡ļøšŸ‘‡ļø 

Note: webhooks are only available to users on our Scale or Enterprise plans. You can learn more and/or upgrade here.

Make and Zapier

Webhooks are by definition a bit more technical, and require sending and parsing data between platforms. As alluded to above ā€” both Make and Zapier are platforms that will simplify this process for you and reduce the need to understand any tech jargon.

Zapier

Simply create a new ā€œZapā€ and select the Webhooks trigger, which will generate the Endpoint URL for you.

In this case, Zapier will be the one providing the Endpoint URL (re Step 1 above), instead of Slack.

Creating a Zap with Webhooks

You can then select any platform to sync this data to downstream.

Make

Make is a Zapier alternative with similar functionality and a slightly different UI (and is a bit less expensive).

Instead of ā€œZapsā€ you create ā€œScenariosā€ but will use a Webhook as a trigger and complete the rest of the steps all the same.

Again, in this example Make will provide you the Endpoint URL to add to beehiiv.

Creating a Scenario with Webhooks

Coming soonā€¦

Weā€™ll be launching a native beehiiv app for both Zapier and Make over the next few days to streamline this process even further.

beehiiv Make App

Webhook Dashboard

After creating and publishing webhooks, theyā€™ll be accessible in your dashboard.

Webhooks Dashboard

You can temporarily disable and enable webhooks at any time.

You can also click into a specific webhook to edit it and view additional details, including all previous message attempts.

Webhook Details

This makes testing, managing, and updating webhooks a breeze. As always, we plan to roll out plenty of additional updates here shortly.

Note: webhooks are only available to users on our Scale or Enterprise plans. You can learn more and/or upgrade here.

Examples

The possibilities are literally endless, but to help get your gears turning a bit hereā€™s a quick list of ideasā€¦

  • Slack notifications when subscribers signup, upgrade, or downgrade

  • Adding subscribers to a private Discord or Circle when they pay and upgrade to your premium newsletter

  • Syncing contacts across CRMs like Hubspot and Salesforce

  • Creating new web posts on Webflow or Wordpress when you publish and send a newsletter

  • Updating tables in Google Sheets or Airtable when a subscriber signs up to your newsletter

  • Triggering additional rewards or discounts via Shopify or BigCommerce when a subscriber upgrades to your premium newsletter

  • Automatically posting your newsletter to LinkedIn and X when you publish

Additional Resources

What else is buzzingā€¦

What is your preferred community platform?

Login or Subscribe to participate in polls.

Reply

or to participate.