AI SQL Agent for Querying n8n Workflow Credentials

Enables natural language searches over n8n workflow credentials using an AI SQL agent, safely analyzing metadata without decryption.

n8n
AI SQL Agent for Querying n8n Workflow Credentials

This n8n workflow empowers users to query and search credentials across all workflows on their n8n instance via an intelligent AI SQL agent. It fetches comprehensive workflow data using the n8n API, extracts credential references, reformats the information, and stores it in a SQLite database for efficient querying. The AI agent is equipped with a custom SQL tool to interpret user questions and generate precise database queries.

Key benefits include rapid identification of credential usage without manual inspection, ensuring data safety as no decryption occurs, and scalability for large n8n instances. Use cases range from auditing integrations (e.g., 'Which workflows use Slack and Google Calendar?') to dependency mapping (e.g., 'Workflows with AI in name not using OpenAI?') and troubleshooting.

Customization is straightforward: extend the SQLite schema with fields like workflow status for advanced queries on active/inactive flows. Requirements are minimal—an n8n API key scoped to workflows. Ideal for n8n power users managing complex automations, saving hours of manual credential hunting.

$17.99
Last updated November 14, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Customer Support workflows

More from Fred Garcia

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.