๐Ÿ‡ฌ๐Ÿ‡ง EN
๐Ÿ‡ฎ๐Ÿ‡น IT

โฑ Wait

Pauses workflow execution for a fixed number of seconds before continuing to the next step. Useful for rate limiting, pacing API calls, and giving external systems time to process.

Category: Flow Control  ยท  Type identifier: wait

Overview

The Wait node introduces a deliberate pause in your workflow. When execution reaches it, Flusso holds the run for the number of seconds you specify and then resumes with the next step exactly as if nothing happened. All variables and step outputs from before the pause are still available afterwards.

Common use cases include:

Long waits consume a queue worker. While a Wait node is pausing, the queue worker handling that run is occupied. For waits longer than 60 seconds, consider restructuring your workflow: use a Schedule Trigger on a follow-up workflow, or split the work across two workflows connected by an event.

Configuration

Field Status Description
Seconds Required The number of seconds to pause. Must be an integer between 1 and 3600. Supports {{ variable }} references if you need a dynamic delay. For example, {{ trigger.output.retry_delay }}.

Output Data

Variable Type Description
waited_seconds integer The actual number of seconds the node waited.
resumed_at string (ISO 8601) The UTC timestamp at which execution resumed, e.g. 2026-03-12T14:05:30Z.
// Reference wait outputs in later steps {{ wait_step.output.waited_seconds }} {{ wait_step.output.resumed_at }}

Example Usage

Rate-limited API calls inside a loop

You are sending SMS messages via a gateway that allows a maximum of one message per second.

  1. Add a Loop node iterating over {{ fetch.output.recipients }}.
  2. Inside the loop, add an HTTP Request node that calls the SMS gateway with {{ loop_step.current_item.phone }}.
  3. After the HTTP Request, add a Wait node with Seconds set to 1. This ensures the next iteration does not begin until at least one second has passed.

Poll for a result after triggering a slow job

  1. HTTP Request node โ€” POST to an external service to start a background job. The response contains a job_id.
  2. Wait node โ€” pause for 10 seconds to give the job time to complete.
  3. HTTP Request node โ€” GET the job status using {{ start_job.output.job_id }}.
  4. Logic Gate node โ€” check if {{ poll_job.output.status }} equals complete before continuing.

Tips & Notes

Related Nodes