Skip to main content
Use hubspot.onCompanyAssociationRemoved to run when a HubSpot company has an association removed.
automations/on-hubspot-company-association-removed.automation.ts
Optional static account selects a named HubSpot OAuth binding; the project binding is the default. HubSpot triggers require OAuth because Automate.ax manages Journal subscriptions for each installed HubSpot account.

Trigger data

Returns a typed HubSpot CRM event with portalId, objectId, objectType, action, occurredAt, and journalOffset. publishedAt is present when HubSpot includes the Journal publication time. The event includes fromObjectId, fromObjectTypeId, toObjectId, toObjectTypeId, associationCategory, associationTypeId, and isPrimary. Automate.ax consumes HubSpot’s ordered Webhooks Journal and deduplicates replayed events.