Nodes/Subworkflow (reusable workflows)/Subworkflow Modifier Source (from URL)
ComfyUI Node

Subworkflow Modifier Source (from URL)

Same trick, workflow fetched remotely

By eniewold·Created 4 months ago·Updated 12 days ago· 13
Subworkflow Modifier Source (from URL)
      url
      verify_ssltrue

      Subworkflow Modifier Source (from URL) (class SWF_SubworkflowModifierSourceFromURL) is the remote-loading variant of Subworkflow Modifier Source, and it's the thinnest node in the eniewold/ComfyUI-Subworkflow pack. Everything about the modifier/source pair carries over - the source exposes the inner workflow's Subworkflow Modifier boundaries as outputs so you can modify a value and pass it back without a circular reference - with exactly one difference: the inner workflow isn't picked from a local dropdown, it's fetched from a URL.

      You'd use this when the reusable workflow you're tweaking lives on a shared server or a raw GitHub URL rather than on disk. One team member maintains the inner workflow remotely; your Subworkflow Modifier (inside it) and this source node (outside it) line up the same as they would locally. Functionally it behaves identically to the file-based source - there's just no "reload each execution" toggle, because it always fetches fresh.

      The two inputs

      • url - the absolute HTTP(S) URL that returns the workflow JSON. Must be the raw JSON document, not an HTML wrapper.
      • verify SSL (verify_ssl, default on) - toggles HTTPS certificate validation. Turn it off only if you're hitting a certificate error (GitHub raw URLs are a known offender) and you trust the endpoint.

      Outputs are dynamic - one per Subworkflow Modifier in the fetched workflow, labeled by slot_name.

      The usual caveats, now with extra trust

      Everything that applies to Subworkflow (from URL) applies here, amplified: this node executes whatever JSON the URL hands it, so a modifier source pointing at an untrusted URL is a small remote-code-execution footgun. Only use it with sources you control. Pair it with the matching Subworkflow (from URL) node for the inner execution, and remember the whole chain dies if the endpoint vanishes.

      Install is pack-standard: ComfyUI Manager (search "Subworkflow (reuseable workflows)") or git clone https://github.com/eniewold/ComfyUI-Subworkflow.git into ComfyUI/custom_nodes, restart, hard-refresh. No pip dependencies; needs a recent ComfyUI (0.18.x) for the V3 node API. If you're new to the modifier system, start with the local-file version first - debugging a "No Subworkflow Modifier nodes found" error is a lot easier when the file is on your own disk.

      CategorySubworkflow

      Inputs (2)

      NameTypeDefaultDescription
      urlSTRING
      verify_sslBOOLEANtrue

      Outputs (0)

      No outputs