Wait for an event
A workflow may reach a point where the next action depends on something outside the current run. For a refund, you might need a person to approve an exception, an order system to confirm a return, or time to pass before a follow-up is due. Put the pause immediately before the action that depends on that event.
| What the run needs | Use | What lets it continue |
|---|---|---|
| Time to pass after reaching the block | For duration | The configured duration elapses. |
| A particular date and time | Until date | The configured date and time arrives. |
| A response from another system | Until webhook | The system sends a request to the callback URL for that waiting run. |
| A detail from someone on the team | For input | An editor submits an answer. The next block receives the earlier data and the answer. |
| A decision from a reviewer | For approval | An eligible reviewer approves. A rejection stops the branch. |
A timer fits a reminder due after two days. To act only after the return arrives, wait for confirmation from the system tracking the return. After a callback, use the returned data to check whether the next action is appropriate.
Test the pause and the continuation
Section titled “Test the pause and the continuation”Run a sample and check that it reaches the intended pause before the downstream action starts. Then supply the event or use a short test duration. Inspect the next block to see what it received. Timer pauses forward their incoming data. A webhook pause includes the callback alongside the data it was holding.
If the run is still waiting, find what it needs to continue. For the individual block types, see Triggers, approvals, and waits.