Timer Node KJ
KJNodes/misc
TimerNodeKJExample
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
| Name | Type | Status | Constraints | Default |
|---|---|---|---|---|
any_input | * | required | - | - |
mode | ENUM2 options
| required | - | - |
name | STRING | required | - | "Timer" |
timer | TIMER | optional | - | - |
Outputs
| Index | Name | Type | Is List | Connection Reference |
|---|---|---|---|---|
0 | any_output | * | No | ["{node_id}", 0] |
1 | timer | TIMER | No | ["{node_id}", 1] |
2 | time | INT | No | ["{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?