n8n Subworkflow Dependency Graph & Auto-Tagging

Automated workflow: n8n Subworkflow Dependency Graph & Auto-Tagging. This workflow integrates 17 different services: webhook, filter, httpRequest, stickyNote, code. It contains 52 nodes and follows best practices for error handling and security.

Workflow Structure (27 nodes)
100%
N8n Trigger
When this workflow is activated
Webhook
When viewed in a browser
N8n
GET all workflows
Code
List callers of subworkflows
Filter
Exclude uncalled workflows
N8n
GET workflow(s)
Filter
Exclude missing workflows
Set
Count callers and identify new callers
Split In Batches
Loop through workflows
Aggregate
Combine dependency graph values into labels
Code
Format workflow relationship data for rendering
Quick Chart
Visualize subworkflow dependency graph
Respond To Webhook
Visualize dependency graph with MermaidJS
Schedule Trigger
And every Sunday
If
If any new callers
Http Request
GET all tags again
Set
SET instance_url
Http Request
GET all tags
Split Out
Split out new callers as new tags
Set
Create tag id:name dictionary
Set
Remove existing tags from new_callers list
Http Request
Create new tags
Set
Retrieve tag ids and names from dictionary
Http Request
Update workflow tags
Code
Return original pass through values
Merge
Merge
Set
Return dependency graph data
Node Types:
http
default
code
logic
trigger
transform
Requires credentials

Prerequisites

Required Credentials (1)

N8n

Used by: Update workflow tags, GET all workflows +4 more

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~40 min
Score: 80/100
Custom Code
Conditional Logic
Loops
9 Integrations

When to Use This Workflow

Scheduled Operations

Run automated tasks at specific times - daily reports, weekly cleanups, monthly backups.

Set it and forget it - reliable automation that runs on your schedule.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "P9Jr9s9yfcDXTe9R",
  "meta": {
    "instanceId": "workflow-f2e683f6",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:54.152355",
    "updatedAt": "2025-09-29T07:07:54.152371",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "n8n Subworkflow Dependency Graph & Auto-Tagging",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
40
Trigger
Scheduled
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 20 different services: stickyNote, vectorStoreInMem...

N8n
Http-request
Webhook
Schedule
34 nodesWebhook

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 16 different services: stickyNote, httpRequest, cod...

N8n
Http-request
Github
Schedule
23 nodesScheduled

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 16 different services: stickyNote, httpRequest, cod...

N8n
Http-request
Github
Schedule
25 nodesScheduled

Backup workflows to git repository on Gitea

Automated workflow: Backup workflows to git repository on Gitea. This workflow integrates 9 different services: stickyNo...

N8n
Schedule
Http-request
20 nodesScheduled

Scheduletrigger Workflow

Automated workflow: Scheduletrigger Workflow. This workflow integrates 8 different services: stickyNote, httpRequest, sc...

Schedule
N8n
Http-request
Notion
10 nodesScheduled

Retry Execution Hourly

Automated workflow: Retry Execution Hourly. This workflow integrates 10 different services: stickyNote, httpRequest, sch...

N8n
Http-request
Schedule
13 nodesScheduled