Delay
Learn how to use the Delay node in StackAI workflows to pause execution for a set time.
What is Delay?
The Delay node in StackAI allows you to pause the execution of your workflow for a specified number of seconds. This is useful for scenarios where you need to wait before proceeding to the next step, such as rate-limiting, waiting for external processes, scheduled notifications or reminders, or simulating human-like interactions.

How to use it?
Place the Delay node between two nodes in your workflow where you want to introduce a pause.
Configure the number of seconds to delay.
The Delay node will hold the workflow for the specified duration before passing control to the next node.
Actions and Triggers
The Delay node acts as a passive step in the workflow and does not have active triggers or multiple actions. Its primary function is to introduce a time delay between nodes.
Settings
Delay (integer, required): The number of seconds to pause the workflow.
Example: To wait for 10 seconds, set
delay
to 10.
Output
No output parameters.
The Delay node does not produce any data output. It simply allows the workflow to continue after the delay.
Example Configuration
{
"delay_seconds": 10
}
Example Workflow
Current Time node records the start time.
Delay node pauses the workflow for 10 seconds.
Current Time node records the end time.
Output node displays both times.
This setup helps you measure elapsed time or create time-based automation in your StackAI workflow.
Last updated
Was this helpful?