wait_for_event
Block until the next matching event arrives on a bucket, or until the timeout. Use this to turn "go click Send test webhook in Stripe" into a synchronous step: call it, tell the human to trigger the event, and it returns as soon as one arrives. Filters (provider, type) mean unrelated traffic does not wake it. Returns the event, or nothing if it times out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Only resolve on this event type. | |
| timeout | No | Seconds to wait (1–55, default 30). | |
| provider | No | Only resolve on an event from this provider. | |
| bucket_id | Yes | The endpoint id. |