Hi,
I’m trying to trigger a webhook when a contact unsubscribes from one or all email types.
If this is possible, what property change should I be subscribed too?
If it isn’t, does anybody have any recommendations on the best way to keep subscriptions/unsubscriptions of contacts synced with systems external to Hubspot? Or am I looking at having to do a regular complete contact sync through the api?
Thanks!
Dave
Hi @sligodave 
As far as I can tell, this is not possible via HubSpot’s Webhook Subscriptions feature. However, you might be able to achieve this via HubSpot Workflows. For example:
- Create new Contact-based Workflow
- Configure Workflow enrollment trigger:
- When an event occurs
- Updated email subscription status
- Make sure to enable re-enrollment
- Configure your workflow action(s) according to your use case (e.g. send a webhook out to an external service, or maybe handle everything via a custom code action).
Your enrollment trigger should look something like this:
I hope this proves helpful. Please let me know if you have any follow-up questions.
Hi Zach,
Thank you very much for the insight. I appreciate you taking the time to break down an alternative route for me too. I’ll give it a go and see how I get on.
Thanks again,
Dave
Hi Jach,
I just wanted to pop back and say that your suggested solution worked perfectly.
Thank you again.
Dave
Hi @sligodave
That’s great, I’m glad it helped 