WorkOS source
Receive WorkOS webhook events in Knock to trigger workflows and automate actions based on directory sync and SSO events.
The WorkOS source enables you to receive WorkOS webhook events directly in Knock. WorkOS sends webhook callbacks when events occur in your enterprise integrations, such as a user being provisioned via directory sync or an SSO connection being activated. Knock verifies each payload using your WorkOS webhook signing secret, identifies the event type, and executes the actions you configure.
This integration is useful for automating provisioning and access workflows: identifying users in Knock when they are provisioned through a directory, notifying admins about SSO configuration changes, or triggering onboarding workflows when new directory users appear.
Prerequisites
#- A Knock account with at least one environment configured.
- A WorkOS account with access to the Webhooks settings in the WorkOS dashboard.
Getting started
#Once configured, WorkOS sends webhook events to Knock in real time. You can verify that events are arriving by checking the event logs on the source environment page.
Pre-configured events
#WorkOS sends events for directory sync and SSO lifecycle changes. Below are common events you might map to actions in Knock. You can enable or disable individual event types from the source environment configuration.
See the WorkOS events documentation for the full list of available events.
Customization
#You can modify the default action mappings or add new ones for any event type Knock receives from WorkOS. For details on how field mapping works with dot-notation paths, see the HTTP source page.
If you need to map WorkOS events to actions beyond triggering workflows, see the full list of available actions in the sources overview.