How to view a list of workflows that use a subworkflow

Describe the problem/error/question

I use subworkflows.

I often refactor subworkflows, which often result in degradation.

Ideally, type checking would be effective, but it would be easier to check if I could display a list of dependencies on the subworkflow.

Is this possible with n8n or the n8n community node?

What is the error message (if any)?

no error

Please share your workflow

any sub workflow

Share the output returned by the last node

any

Information on your n8n setup

  • n8n version: 1.107.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Ubuntu 22.04

Hey @ampcpmgp hope all is well.

If you want to list workflows which use a given subworkflow, you could do something like this

In the subflow to search (Edit fields) node, you can type the name of the subworkflow and the last node will tell you which workflows use it (via either the execute sub-workflow or call n8n workflow tool).

A feature request to indicate a list of parent workflows in a subworkflow is welcome.

3 Likes

It worked as expected! Thank you very much!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.