May 22, 2023

New webhooks

Do you know of webhooks?

They are terrific: a way to extend and supercharge your newsletter, even if you're not a programmer. You can pipe them up to various endpoints in tools like Zapier or IFTTT to do things like:

  • Send a tweet when you publish a new issue
  • Send a Slack message when someone subscribes
  • Send a text message when someone subscribes as a paid user

Today, I'm excited to announce a bit of house cleaning in the world of webhooks.

Gone are some deprecated webhooks:

  • draft.created (replaced by email.created)
  • scheduled_email.created (replaced by email.created)
  • scheduled_email.deleted (replaced by email.deleted)

And in are two new ones:

  • email.status.changed, which fires whenever the 'status' (draft, scheduled, sent) of an email changes
  • subscriber.clicked, which fires whenever a subscriber clicks a link in an email

You might be able to read between the lines on that last one a little bit. Coming soon in the land of automations: a way to, say, set tags or metadata onto your subscribers who click on certain links.