Control the run
Wait for event
Pauses the run until a matching event arrives, then continues with its data.
Nodes › LogicOpen in Neblex
- Good for
- Asynchronous confirmations
- Role
- Works on the records in a flow
- Find it in
- Nodes › Logic
When to use it
- A partner confirms later, such as a payment or shipment callback.
- A long process must resume when an outside step completes.
Reach for something else when
Example
Request a shipment label, then wait for the carrier's event keyed by the order id before notifying the customer.
How it works
- Settings
- Correlation key: a fixed value or one taken from the data, such as the order id.
- Output
- The delivered event's JSON body.
- Delivering the event
- While a run is waiting here, the step on the canvas shows the delivery call and a Send event now button. Delivery is an authenticated workspace request: it needs a signed-in member with permission to run flows. It resumes every run waiting on that key.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Wait for event under Logic, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Control the run
LoopRepeats a group of steps for each record, a set number of times, or while or until a condition holds.Nodes › LogicRun another flowRuns another flow as a reusable sub-flow and continues with its result.Nodes › LogicWaitPauses for a set time before passing records on.Nodes › LogicSet valueSaves a named value that later steps in the same run can read.Nodes › LogicAssert Data QualityChecks the batch against your rules and stops with precise details when one fails.Nodes › LogicValidate RecordsChecks each record against a JSON Schema and tags it valid or invalid.Nodes › Logic