Find which n8n workflows use which app credentials with a simple chat. Ask plain questions and get fast answers, like which flows use Slack and Google Sheets. This helps IT and operations teams review tool usage, reduce risk, and speed up troubleshooting.
The system runs in two parts. First, a manual run pulls all workflows from the n8n API, maps each workflow id, name, and the credentials referenced in its nodes, and saves that list to a local SQLite database. Second, a chat endpoint lets you ask questions in natural language. An AI agent uses the OpenAI model and converts your question into SQL, runs it against the database, and returns a clear reply. A memory buffer keeps context across messages so follow up questions work.
You need an n8n API key and an OpenAI API key. Run the first step to build the database, then open the chat link to search your inventory. Teams can cut audit time from hours to minutes and find gaps quickly. Common uses include checking which apps are used across all flows, locating workflows with risky tools, and confirming naming and credential standards.