Templates / n8n subworkflow dependency graph & auto-tagging

n8n subworkflow dependency graph & auto-tagging

Ready for 3.0

by Ludwig ✓ · 2,635 views · created 2025-02-18 · Engineering

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 27 nodes and runs when an HTTP GET request hits its webhook URL (plus 2 other triggers). Along the way it connects QuickChart.

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 2 other triggers).

  1. GET all workflows (n8n): uses n8n
  2. List callers of subworkflows (Code): runs custom JavaScript code
  3. Exclude uncalled workflows (Filter): keeps only the items that match a condition
  4. GET workflow(s) (n8n): get
  5. Exclude missing workflows (Filter): keeps only the items that match a condition
  6. Count callers and identify new callers (Edit Fields (Set)): sets 5 fields: id, name, callers…
  7. Loop through workflows (Loop Over Items (Split in Batches)): loops over the items in batches
  8. Combine dependency graph values into labels (Aggregate): combines items into one
  9. Format workflow relationship data for rendering (Code): runs custom JavaScript code
  10. SET instance_url (Edit Fields (Set)): sets 1 field: instance_url

…plus 14 more steps. See the full node list below.

Services it uses

QuickChart

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (15)

From the author

How it Works As n8n instances scale, teams often lose track of sub-workflows—who uses them, where they are referenced, and whether they can be safely updated. This leads to inefficiencies like unnecessary copies of workflows or reluctance to modify existing…

Excerpt from Ludwig's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.