Analyze your n8n instance dependency structure. This n8n workflow automatically generates a visual dependency graph and applies tags to subworkflows based on their callers, streamlining maintenance.
Download this n8n workflow template and start using it instantly.
Managing a growing number of interconnected n8n workflows often leads to maintenance nightmares, especially when dependencies are opaque. This advanced n8n workflow solves this critical operational challenge by automatically discovering and documenting subworkflow relationships. By utilizing the n8n API, the system identifies every instance where one n8n workflow calls another (a subworkflow). It then proceeds to automatically tag these subworkflows with the unique IDs of their 'caller' workflows. This auto-tagging feature ensures that when you view a subworkflow, you instantly know every other n8n workflow that relies on it. Furthermore, the workflow generates visual dependency graphs and usage charts, providing indispensable monitoring and visualization capabilities for any large-scale n8n deployment. This complete n8n solution turns workflow maintenance into an efficient, documented process.
The n8n automation is designed to run via multiple n8n trigger mechanisms: manually via a webhook, on a schedule (every Sunday), or upon activation of the n8n workflow itself.
Execute Workflow or Langchain toolWorkflow nodes. It then maps the caller workflow ID to the called subworkflow ID, establishing the dependency graph.To deploy this comprehensive n8n workflow template and enable auto-tagging and visualization for your instance, follow these steps:
GET all workflows, Update workflow tags).https://n8n.example.com) with the actual base URL of your n8n instance. This is crucial for the HTTP Request n8n node operations to manage tags and workflows.YOURN8N_URL/webhook/dependency-graph).n8n node types that execute other workflows, building the dependency relationships (callers map).PUT request to the n8n API (/api/v1/workflows/{id}/tags). This is the final step in the auto-tagging loop, where the subworkflow is updated with a list of tag IDs corresponding to its callers.Use this foundational n8n workflow template to understand core logic, utilizing the Interval n8n trigger, Function n8n node, and Set n8n node for scheduled data generation and transformation.

Secure your AI agents against jailbreaking, PII leakage, and toxic content. This advanced n8n workflow implements multiple security guardrails using specialized n8n node logic, ideal for enterprise deployments.

Deploy an advanced customer support chatbot using an n8n workflow. It uses GPT-4o agents and n8n node tools to check Google Sheets inventory and process sales orders automatically.

Use this robust n8n workflow to capture and log all execution errors to Google Sheets, instantly notify your team via Telegram, and send comprehensive alerts via Gmail. This powerful n8n template ensures high reliability and quick incident response.

Use this powerful n8n workflow template to manage your n8n workflows externally. Execute remote workflows and retrieve workflow status data using a single, authenticated webhook n8n trigger.

If you have any questions about any of the templates I've built, please reach out to me on LinkedIn (https://www.linkedin.com/in/ludwiggerdes) or via my website down below. 👇







































