Shapes

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.

  1. ShipEngine
  2. Wait for event
  3. Twilio

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.
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Wait for event under Logic, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.