Wait
The Wait component is a simple pause tool.
It lets you insert a short delay into your workflow so that data or messages are held for a set number of seconds before moving on to the next step.
How it Works
When you drop the component into your dashboard, you can give it either a piece of data, a message, or both.
You also set how many seconds it should wait.
The component then pauses for that amount of time and forwards the same data or message to whatever comes next in the flow.
No external services are called – everything happens locally inside Nappai.
Inputs
Input Fields
-
Data: The information you want to hold for a while.
If you connect a previous component that outputs data, that data will be delayed. -
Message: A text message you want to pause before sending on.
Useful when you need a timed delay between notifications or alerts. -
Seconds: The number of whole seconds the component should wait.
Default is 5 seconds, but you can change it to any positive integer.
Outputs
-
Data: The same data that was fed into the component, returned after the pause.
Use this to continue processing the data later in the workflow. -
Message: The same message that was fed into the component, returned after the pause.
Use this to send the message to the next step after the delay.
Usage Example
-
Delay a data step
- Connect the output of a data‑processing component to the Data input of Wait.
- Set Seconds to
10
. - Connect the wait_data output to the next component.
The data will be held for 10 seconds before moving forward.
-
Pause a notification
- Connect a text message to the Message input.
- Set Seconds to
3
. - Connect the wait_message output to a notification component.
The message will be sent after a 3‑second pause.
Related Components
- Timer – A component that triggers actions at regular intervals.
- Delay – Similar to Wait but can be configured with variable delays.
Tips and Best Practices
- Keep the delay short (a few seconds) to avoid blocking the workflow for too long.
- Use Seconds =
0
if you just need to pass data through without any pause. - Combine Wait with conditional logic to create timed retries or back‑off strategies.
Security Considerations
The component performs only a local pause; it does not send data outside of Nappai or call any external APIs.
No special security settings are required.