What this integration does
The HubSpot connector in VeloCMS uses OAuth2 and listens for member signup and order creation events. When a new blog member signs up, VeloCMS creates or updates a HubSpot Contact using their email and display name. When a paid order is created, VeloCMS creates a HubSpot Deal associated with the customer's Contact (created if it does not exist yet), with the order total as the deal amount. You can optionally pick a deal pipeline and stages in the HubSpot panel so new, refunded and fulfilled deals land in the right stage; otherwise HubSpot uses your account default. When a member account is deleted, VeloCMS archives that member's HubSpot Contact; a newsletter unsubscribe only opts the Contact out of marketing email. All API calls are fail-soft: a HubSpot error never blocks signup or checkout.