A step-by-step guide to building a real-time identity-to-CRM pipeline using Auth0 Inbound SCIM and Event Streams. The tutorial walks through configuring Okta as a SCIM source, receiving provisioning events in Auth0, and using an Event Streams Custom Action (~60 lines of JavaScript) to automatically create, update, and archive contacts in HubSpot CRM. No external middleware, Lambda, or Vercel functions are needed — all transformation logic runs inside Auth0's serverless runtime. The pattern is extensible to Salesforce, Segment, Braze, Amplitude, and other downstream systems, enabling B2B SaaS companies to turn identity lifecycle events into real-time business signals.
Table of contents
Why This Matters: Two Stories from the Real WorldThe Event-Driven PathInbound SCIM and Event Streams in Auth0Step 1: Inbound SCIM: Bridging the Directory to Auth0Step 2: Event Streams: Broadcasting Lifecycle EventsStep 3: HubSpot CRM SetupStep 4: See It WorkStep-by-Step Setup VideoThe Bigger PictureKey TakeawaysResourcesSort: