Actions2
Measure Time
AI-generatedOverview
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
- Adding a 5-second delay before processing the next step to avoid hitting API rate limits.
- 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
- Timer & Delay Node Documentation - Official documentation for the Timer & Delay node in n8n, explaining its operations and usage.