How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
Hi HubSpot Community,
I have created an app in HubSpot and am trying to set up a webhook to monitor when new contacts or companies are added to a specific list. However, I am having trouble finding a suitable webhook subscription for this purpose.
Could anyone provide guidance on the following:
Is there a specific webhook subscription available for tracking new contacts or companies added to a list?
If not, what would be the recommended approach to achieve this functionality?
Any workarounds or alternative methods to monitor list membership changes effectively?
Examples of webhook configurations or payloads that could help in this scenario.
How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
The only way I can think of offhand is you can create a webhook subscription that looks for a change in a property of an object. So theoretically you could add a custom property to the contact and/or company object and a workflow could then change that property when the contact or company is added to the list. The webhook would then fire automatically. I do not know of any way you can create a webhook subscription based on a list change directly.
Scott Marion Senior Developer @ Thread Connected Marketing
How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
Thank you for your suggestion!
My app is currently trying to integrate with HubSpot, and I want users to be able to monitor events by selecting the event type after authorizing my app via OAuth, without having to set up workflows in HubSpot themselves. Therefore, I need to handle the webhook configuration on behalf of the users.
Do you have any recommendations or examples on how to achieve this? Specifically, I'm looking for a way to programmatically set up webhooks to monitor list membership changes.
How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
The only way I can think of offhand is you can create a webhook subscription that looks for a change in a property of an object. So theoretically you could add a custom property to the contact and/or company object and a workflow could then change that property when the contact or company is added to the list. The webhook would then fire automatically. I do not know of any way you can create a webhook subscription based on a list change directly.
Scott Marion Senior Developer @ Thread Connected Marketing
How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
Thank you so much for your detailed suggestion! I really appreciate the time and effort you put into explaining the approach. However, this method might increase the complexity for some users, especially if they are not familiar with HubSpot's workflow functionality.
How to Use Webhook to Monitor New Contacts or Companies Added to a Specific List?
SOLVE
Yes, these types of solutions are much easier using a private app and managing the workflows yourself. I'm afraid I don't have much to say to help with public OAuth apps and workarounds for situations like this.
Scott Marion Senior Developer @ Thread Connected Marketing