See Workflows Where Credential In Use

Would be great if we could see all the workflows where a credential is used.

2 Likes

Hello @trijste

Yes, it would definitely be a nice feature.

There is a feature in the n8n API called Audit, it can tell you which credentials are not being used.

However, you can also create a workflow to see workflows where credential in use:
Every workflow JSON object contains a nodes array of objects, and each node has a credentials object that includes information about the credential, such as its name and ID

You can use this to loop through all workflows and apply your own logic..

2 Likes