ConceptsSteps
Event Step
The Event Step lets you define custom logic in response to subscribed events and at the same time trigger other steps by emitting new events. It enables communication between different parts of your flow.
Config
The following properties are specific to the Event Step, in addition to the common step config.
Prop | Type | Description |
---|---|---|
string[] | This is used for input validation. For TypeScript/JavaScript steps, it uses zod schemas. For Python steps, it uses Pydantic models. This validates the input before executing the step handler. |
The following examples showcase how to configure an Event Step
Example
Need help? See our Community Resources for questions, examples, and discussions.