Configure Webhook Lead Ingestion
Set up external marketing campaign webhooks to automatically capture leads in the platform without manual data entry.
Prerequisites
- OrganizationAdmin role
- Access to Organization Settings
Steps
- Navigate to Organization Settings → Webhooks.
- Click Add Webhook Source to create a new webhook configuration.
- Configure the unique endpoint URL that the external campaign system will POST to.
- Set up the FieldMapping — map each incoming webhook payload field to the corresponding lead profile field:
- Map required fields (e.g.,
name,email,phone) - Optionally map
clinicIdto route leads to a specific clinic - Map
sourceDetailto capture the campaign ID
- Map required fields (e.g.,
- Click Save to activate the webhook source.
- Test the integration by sending a sample payload to the configured endpoint URL and verifying a lead is created in the platform.
Notes
- Each webhook source has a unique endpoint URL and its own field mapping configuration.
- If a webhook payload is missing a required mapped field, the platform rejects the payload and logs the failure in the AuditLog.
- In
AUTO_ASSIGNmode: leads with a validclinicIdin the payload are auto-assigned to that clinic. Leads without aclinicIdbecome Unassigned Leads. - In
MANUAL_ASSIGNmode: all webhook leads are created as Unassigned Leads pending OrganizationAdmin confirmation, regardless ofclinicIdin the payload. - Only OrganizationAdmins can create, edit, or delete webhook sources — ClinicAdmins and other staff cannot access this configuration.