> ## Documentation Index
> Fetch the complete documentation index at: https://docs.refold.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Delay Node

The Delay node in Refold allows users to introduce delays in workflow execution for a specific time period. By adding a Delay node to the workflow, users can control the timing of subsequent actions.

## Node Functionality

Delay node can:

* Pause workflow execution for a fixed duration; &
* Control when the next step occurs;

## Delay Node Actions

The Delay node offers two types of actions:

<Accordion title="Wait for">
  Specifies that the workflow should wait for the specified duration before proceeding.
</Accordion>

<Accordion title="Wait till ">
  Specifies that the workflow should wait until the specified time period is reached before proceeding. Wait Till has 2 additional Input fields, `Before or After Base Date` and the `Base Date` field.
</Accordion>

## Steps to Use Delay Node

To incorporate a Delay node into a workflow, follow these steps:

<Steps>
  <Step title="Create Workflow ">
    Begin by navigating to the respective app and creating a new workflow. Add an event and publish the workflow to activate it.

    <Tip>Learn more about Workflows [here](https://docs.gocobalt.io/build/workflow/overview).</Tip>
  </Step>

  <Step title="Add Delay Node ">
    Within the workflow, add a Delay node as per your requirement along with other nodes to define the workflow flow.
  </Step>

  <Step title="Configure Delay Action ">
    In the Delay node, select the action type as either **Wait for** or **Wait till** depending on the desired behavior. Specify the duration of the delay by entering the desired values for **Days**, **Hours**, **Minutes**, and **Seconds**. By default, the values will be set as 0 for all the input fields.

    <Note>
      Currently Refold supports only integral values for the Input fields in Delay Node.
    </Note>

    <img height="200" src="https://mintcdn.com/cobalt-55/vPGojg1WCLHlMpWZ/images/Guides/Workflow/delay-node.png?fit=max&auto=format&n=vPGojg1WCLHlMpWZ&q=85&s=1461365a4dd53d5316ea6e9a4d8a936e" alt="Delay Node in Refold" data-path="images/Guides/Workflow/delay-node.png" />
  </Step>
</Steps>

During workflow execution, the Delay node introduces a pause in execution for the specified time period before proceeding to the next action.

If the rule condition is specified for the Delay node and it is met, then the workflow will execute as per the defined delay duration else the Delay node will be skipped.
