ComfyUI Node
WFA Loop Shutdown ⚡ (WFA Suite)
A ComfyUI node in WFA Node Suite/Iterators with 10 inputs and 3 outputs.
WFA Loop Shutdown ⚡ (WFA Suite)
- trigger_signal
- index
- current_loop
- total_loops
◄index0►
◄reset_to0►
◄end_index10►
◄step1►
◄total_loops3►
◄current_loop1►
◄auto_queuetrue►
◄after_runShut Down PC►
◄delay_sec60►
CategoryWFA Node Suite/Iterators
Inputs (10)
| Name | Type | Default | Description |
|---|---|---|---|
| index | INT | 00–999999 | Current INT index output for this generation. Automatically counts up after each completed run. |
| reset_to | INT | 00–999999 | The INT value `index` rewinds to after reaching `end_index` (e.g. 0 or 3). |
| end_index | INT | 100–999999 | The final index in your prompt list to count up to (inclusive) before rewinding to `reset_to`. |
| step | INT | 11–999999 | Amount to increment `index` after each completed generation. |
| total_loops | INT | 31–999999 | How many full passes through the list (`reset_to` -> `end_index`) to run before stopping. |
| current_loop | INT | 11–999999 | Current pass number (1 to `total_loops`). Automatically advances after each full pass and resets to 1 when finished. |
| auto_queue | BOOLEAN | true | When enabled, automatically triggers the next generation in ComfyUI's queue until all passes finish (replaces ImpactQueueTrigger). |
| after_run | COMBO | Shut Down PC | Action to perform AFTER the final generation in the final loop completely finishes saving: • Shut Down PC: Unloads VRAM, closes ComfyUI cleanly, and powers off your PC. • Sleep PC: Closes ComfyUI cleanly and puts your PC into low-power Sleep. • Hibernate PC: Closes ComfyUI cleanly and hibernates your PC. • Close ComfyUI: Closes ComfyUI (dropping GPU power to idle) while keeping Windows running. • Do Nothing: Behaves identically to the standard WFA Loop Iterator. |
| delay_sec | INT | 605–3600 | Safety countdown (in seconds) AFTER the final image finishes saving before power-off triggers. During this countdown, you can click '✖ ABORT SHUTDOWN' right on the node to cancel. |
| trigger_signalopt | * | Optional pass-through signal wire if you want this node to execute after a specific upstream node. Not required. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| index | INT | — |
| current_loop | INT | — |
| total_loops | INT | — |