Shapes

Control the run

Respond

Answers the caller of the webhook or API operation that started the run, while the run goes on.

Nodes › LogicOpen in Neblex
Good for
Answering early
Role
Works on the records in a flow
Find it in
Nodes › Logic

When to use it

  • The caller should get an answer before slow work finishes.
  • The answer needs its own status and headers, such as 202 Accepted.
  • The rest of the flow should keep running after answering.

Reach for something else when

Example

Accept an order, answer 202 with the order number, then create it in the ERP.

  1. When an API operation is called
  2. Respond
  3. NetSuite

How it works

Settings
Status; Headers, one Name: value per line.
Output
Its records, unchanged; they are also the body of the answer.
Behaviour
The first Respond step that records reach answers, wherever it is in the flow; the caller does not wait for the steps after it. Example: accept an order, answer 202 with the order number, then create it in the ERP.
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Respond 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.