In software development, this is known as the DRY (Don’t Repeat Yourself) principle. Right now in n8n, if you have 20 workflows that all use the exact same sequence of nodes, and you need to make a change, you have to manually edit all 20 workflows.
The idea is:
I’m proposing a system where a master (blueprint) dictates the structure, and any child workflows inherit that structure. When the Master is updated, the changes cascade down to all the linked child nodes automatically.
- The inheritance feature can be a choice and inherited workflows can be standalone workflows without any connection to master workflow.
- There should be also a choice to push changes automatically or manually so we can chose which child nodes should receive changes and what not.
- There should be also a choice to update only the nodes we want.
My use case:
I’m currently handling 15+ workflows that are almost identical as we use them to generate SEO content for different clients. The differences are in trigger webhooks (that differentiate clients) and different Pinecone setups which are unique to each client. Also, as we expect to scale, and if we decided to use somehow one workflow for all clients, we would eventually hit 200 concurrent runs limitation and would need to have the master-child logic at some point.
I think it would be beneficial to add this because:
This would save a lot of time on workflow maintenance and improvement.
Are you willing to work on this?
Yes, I am!