Timer & Delay icon

Timer & Delay

Add delays or measure execution time in workflows

Measure Time

AI-generated

Overview

This node provides two main functionalities: adding a delay before continuing the workflow or measuring execution time by adding a timestamp to each item. It is useful for scenarios where you need to pause workflow execution for a specified duration or track when a particular step was executed. For example, you can use it to throttle API requests by adding delays or log the exact time a workflow step was processed by adding timestamps.

Use Case Examples

  1. Adding a 5-second delay before processing the next step to avoid hitting API rate limits.
  2. Adding a timestamp field named '_executionTime' to each item to record when the workflow reached this node.

Properties

Name Meaning
Timestamp Field Name The name of the field where the current timestamp will be stored in each item's JSON data when measuring time.

Output

JSON

- The field containing the ISO string timestamp of when the node executed, named as per the 'Timestamp Field Name' property.

Troubleshooting

  • If the node is set to 'Measure Time' operation but the timestamp field name is empty or invalid, the output may not contain the expected timestamp field.
  • When using the 'Delay' operation, specifying a very large delay amount may cause the workflow to pause for an extended period, which might be unintended.

Links

Discussion