Advanced Features
Conditional Triggers
Filter which messages or requests activate a Step using condition functions on triggers
Triggers can include a condition function that determines whether the Step should execute. The condition runs before the handler — if it returns false, the Step is skipped entirely.
Queue Trigger Conditions
Filter queue messages based on their content:
HTTP Trigger Conditions
Filter HTTP requests before the handler runs:
Multiple Triggers with Different Conditions
Each trigger in a multi-trigger Step can have its own condition:
Use Cases
| Pattern | Description |
|---|---|
| Amount thresholds | Only process orders above a certain value |
| Priority routing | Route high-priority items to fast-track processing |
| Feature flags | Enable/disable Steps based on input flags |
| Content filtering | Skip messages that do not match expected criteria |
| User verification | Only accept requests from verified or authorized users |
Condition Function Signature
input— The trigger input (request body for HTTP, message data for queue)ctx— Context with trigger information- Returns
trueto execute the handler,falseto skip