How can I determine if an association was removed from an object?
I'm working on a script to clone and sync deals in their entirety so I can run a "deal" through multiple pipelines.
I just realized that if I delete an association from one of these deals, and I'm syncing the associations so they always match, then I'll need to delete all associations from each deal in HubSpot for it not to sync.
I need a way to determine if an association has been removed, or if it just hasn't been synced up between deals yet.
I know there is association history in the GUI, is there a way for me to access something similar via the API? If not, is there a way to run a workflow when an association gets deleted?
All associations at the moment will be deal to (object) in this instance.