Webhook receiver (paid runtime)
X-HubSpot-Signature (HMAC-SHA256 of {client_secret}{http_body}). The receiver validates the HMAC against the per-tenant client secret.
Setup
- In HubSpot, go to Settings > Integrations > Private Apps (or create a public app for OAuth).
- Create a private app with scopes:
crm.objects.contacts.read,crm.objects.deals.read,crm.objects.companies.read,timeline. - In the app’s Webhooks settings, add a webhook subscription for
https://runtime.myceliumai.co/webhooks/hubspot/{your_tenant_id}. - Subscribe to events: Contact Created, Deal Stage Changed, Company Created, Timeline Event Created.
- Add to the runtime env:
HUBSPOT_CLIENT_SECRET_{TENANT_ID}(for signature validation)HUBSPOT_APP_ID_{TENANT_ID}