Need a clear view of where AI models are used in your automations? This build scans every n8n workflow, finds nodes that reference a modelId, and records the details in a Google Sheet. It helps teams plan model upgrades, reduce risk, and keep documentation current.
When you click Test workflow, it calls the n8n API to pull all workflows. The Google Sheet is cleared first to give a fresh snapshot. Workflows are filtered to keep only those that mention a modelId. Items are processed in batches. The nodes array is split so each node can be checked. If a node contains a modelId, key fields like node name, model value, workflow name, and workflow id are set. Each match is then appended as a row to Google Sheets. A note warns that very large instances may run slower, so the batch loop helps manage load.
You will need an n8n API connection and Google Sheets OAuth. Set your n8n base URL and point the sheet to the right document and tab. Expect a clean inventory table after each run that you can share with your team. It is useful for audits, cleanup before model changes, and tracking usage by project or owner.