ComfyUI Node

Trigger

The Trigger node that lets Vectorize Pro pipelines actually sequence

By augment-lib·Created 6 months ago·Updated 6 months ago· 1
Trigger
  • input
  • trigger
  • value
  • json

GateNode (display name "Trigger") is the odd one out in the Vectorize Pro pack: it has nothing to do with vectorizing. It's part of the flow-control layer this pack ships so you can sequence multi-step pipelines - upscale first, then vectorize, then export - instead of trusting ComfyUI's execution order to work out. What it does is simple: it takes whatever input you throw at it, passes it through unchanged, and emits a "done" trigger signal plus a JSON summary of what passed through.

Why a trigger node exists

ComfyUI runs a node as soon as its inputs are ready, which is usually what you want. But some pipelines need an explicit order: you don't want Vectorize Pro firing on an image that's still being upscaled, or an export node writing before the SVG exists. The pack's answer is a TRIGGER type - a signal that says "this step finished." GateNode is the entry point. Whatever you feed it comes back out the value output untouched, while a done signal leaves via the trigger output. Wire that into the optional trigger inputs on Vectorize Pro or the pack's Wait nodes ("Wait Int", "Wait Image", listed as "X (Improved)") and you get an explicit execution chain instead of a hope. The README's whole "chainable workflows" pitch - upscale 2x, then vectorize - runs on this machinery.

Inputs and outputs

The input list is about as short as it gets:

  • input - accepts any type (*). Image, latent, string, number, whatever. It doesn't care, and it doesn't need to.

Outputs:

  • trigger - a TRIGGER signal ("done") for chaining into the pack's other nodes.
  • value - the original input passed straight through. That makes GateNode a pass-through bridge: you can tap a wire for a trigger without disturbing the data flow.
  • json - a JSON string describing what came through (node type plus a stringified value). Handy if you're scripting or debugging a workflow.

Installing it

Same pack, same install as Vectorize Pro:

  • ComfyUI Manager: search for "augment Vectorize Pro" and install.
  • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/augment-lib/vectorize-pro.git augment-vectorize-pro, then restart ComfyUI.

No models, no extra dependencies - this node is a few dozen lines of pure Python.

The honest take

The ComfyUI community has a running argument about "any-type" nodes like this one. A popular thread begged people to stop using the Anything Anywhere extension, on the grounds that nodes accepting everything make workflows impossible to debug. GateNode is squarely in that family: a * input is a debugging smell if you use it everywhere. In this pack it's mild, though - it exists to make the paid vectorizer's sequencing story work, and used sparingly (feed a value, chain the trigger, move on) it's genuinely useful. If you only vectorize a single image and export it, ignore it entirely. If you're building a batch pipeline where order matters, it's the glue.

CategoryAugment/Utils

Inputs (1)

NameTypeDefaultDescription
input*

Outputs (3)

NameTypeDescription
triggerTRIGGER
value*
jsonSTRING