n8n_find_workflows_using_credential
Find all workflows and nodes referencing a specified credential, using credential ID or name. Identifies dependencies before rotating or deleting credentials.
Instructions
Scan workflows and surface every node that references a given credential. Pass either credentialId (exact, preferred) or credentialName (case-insensitive substring fallback). Returns one finding per (workflowId, nodeName, credentialType) plus a per-workflow summary count. Read-only. Bounded-concurrency fan-out; per-workflow fetch errors land in fetchErrors instead of failing the whole scan. Pairs with n8n_run_audit and is the answer to 'I'm rotating creds, where do I need to update?' before calling n8n_delete_credential.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| credentialId | No | Exact credential id to match (preferred). Either this or credentialName is required. | |
| credentialName | No | Case-insensitive substring match on credential name. Either this or credentialId is required. | |
| activeOnly | No | Only scan active workflows. Default false. | |
| includeArchived | No | Include archived workflows in the scan. Default false. | |
| maxWorkflows | No | Cap on workflows INSPECTED (default 250). Counted after the active/archived filter, so the scanner may page through more list rows than this when many archived workflows are skipped, but it will not fetch more than `maxWorkflows` full workflow definitions. | |
| concurrency | No | Parallel getWorkflow requests (default 3, max 8). |