APIs & Integrations

ErikOlson
Member

How to detect when somebody monkeys with Deal Stage DEFINITIONS

I already have a webhook that fires when a deal stage changes, that works fine. I want a webhook that fires when someone changes the DEFINITION of a dealstage, or ADDs or REMOVEs a dealstage.

This way I can send an alert to the IT department that someone has just broken the workflow by adding, removing, or editing the meaning of a deal stage.

Since all possible searches on this topic only yield results covering how to detected when the dealstage property of a deal changes, I’m hoping someone can answer this question here.

Thanks

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

How to detect when somebody monkeys with Deal Stage DEFINITIONS

Hi @ErikOlson,

It’s not currently possible to subscribe to web hook updates based on property definition changes. What you might consider doing is periodically getting the deal properties using the endpoint below, and comparing that with your existing deal stages. If the stages differ, you’ll know they were changed.

Get Deal Pipeline | Deal Pipelines API

GET /deals/v1/pipelines/:pipelineId: - Get a specific deal pipeline by ID for a HubSpot CRM portal

0 Upvotes