Skip to main content

Timer Node KJ

KJNodes/misc
TimerNodeKJ

Example

JSON Example
{
  "class_type": "TimerNodeKJ",
  "inputs": {
    "any_input": [
      "node_id",
      0
    ],
    "mode": "start",
    "name": "Timer"
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
any_input*required--
modeENUM
2 options
  • start
  • stop
required--
nameSTRINGrequired-"Timer"
timerTIMERoptional--

Outputs

IndexNameTypeIs ListConnection Reference
0any_output*No["{node_id}", 0]
1timerTIMERNo["{node_id}", 1]
2timeINTNo["{node_id}", 2]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this TimerNodeKJ node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • any_output (*): ["5", 0]
  • timer (TIMER): ["5", 1]
  • time (INT): ["5", 2]
Was this page helpful?