Triggering workflows via an event
Events from customer data platforms like Segment or direct HTTP webhook integrations trigger workflows.
Event-triggered workflows decouple notifications from your backend systems — enabling non-developers to set up and configure notifications based on business events in your product.
Event-triggered workflows require that you have one or more Sources configured and connected to Knock.
Configuring an event trigger
You can create and manage event triggers for your workflows in the Sources section (under Developers in the sidebar) or directly from the workflow builder when you click the "Trigger" step.
From the Trigger step sidebar, if you have events connected to Knock you'll see the option to switch the trigger type to "Event" from the dropdown menu. Once here, you can select an event that will trigger this workflow when it's received. You can also map the critical fields needed to run a workflow to the fields that will be in the incoming event payload.