Docs
Sign in

Timer

Timer measures how long part of your workflow takes, using a start and a stop.

Screenshot to add: The Timer settings panel with Action, Timer name and Output key.

When to use it

Use it to find slow steps. Place one Timer before the step and another after it.

Settings

FieldWhat it doesNotes
ActionWhat this node doesStart Timer (default), Stop Timer (returns elapsed_ms) or Lap (returns elapsed_ms without stopping)
Timer nameNames the timerDefault timer_1. Hint: use the same name for start/stop pairs to correlate them. Placeholder api_call_timer
Output keyWhere the elapsed time is storedDefault elapsed_ms. Used for stop and lap only

Inputs and outputs

  • One input at the top and one output at the bottom.
  • Stop and Lap return the time in milliseconds under the Output key.

Example

Illustrative. Add a Timer set to Start Timer named api_call_timer before an HTTP step. Add another named api_call_timer set to Stop Timer after it. Then send elapsed_ms to a Log node.

Tips

  • Use the same Timer name for the start and the stop.
  • Use Lap to read the time part-way without ending the timer.