What it is
HubSpot is used for CRM workflows and operational automation.Why we use it
HubSpot owns CRM objects (contacts, deals, and custom objects) and runs workflows that keep Revive systems in sync.Data flow
- Inbound: HubSpot workflows/webhooks call
revive-api. - Outbound:
revive-apicalls HubSpot APIs for CRM reads/writes and transactional email workflows.
Owner repo(s)
revive-apirevive-adminrevive-dashboard
Relevant modules/endpoints
Webhook endpoints:/v1/webhooks/hubspot/createCompany/v1/webhooks/hubspot/updateCompany/v1/webhooks/hubspot/updateContractor/v1/webhooks/hubspot/invite-realtor/v1/webhooks/hubspot/production/v1/webhooks/hubspot/report-reminder/{emailId}/v1/webhooks/hubspot/revive-team/v1/webhooks/hubspot/updateRealtorEdgeUrl
revive-api/src/utils/hubspotV2/hubspot.jsrevive-api/src/utils/hubspot.jsrevive-api/src/utils/transactional-emails.jsrevive-api/src/webhooks/webhooks.routes.js
Operational notes
- Webhook handlers typically update Firestore and may fan out internal notifications.
- When changing HubSpot field mappings, treat it as a backwards-compatible contract change.

