Huashu Design
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
An n8n workflow in two steps. One saves which credentials each workflow uses, the other is a chat where an agent answers with SQL. It reads types, ids and names, never secrets.
Chat agent that lists which workflows use which credentials is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.
Chat window
The chat starts when you press Chat on the canvas and send a message with:
A chat answer that names the workflows using the credentials you asked about
What you need before you start.
Workflow list
Returns every workflow the API key can see, with each node’s credential type, id and name.
NeedsAn n8n API key and the API address of your instance
Language model
Runs the agent that writes the SQL and the answer.
NeedsOpenAI API key
Checked by Mindket on 13 Nov 2026
This n8n workflow lets you ask which of your workflows use which credentials. Step one lists your workflows through n8n’s own API and saves each one’s id, name and credential list in a SQLite database. Step two is a chat. An AI agent turns your question into a SQL query, runs it and answers. It reads credential types, ids and names only. No secret is read. Nine nodes do the work, beside four sticky notes.
n8n admins, agencies and teams with many workflows who need to know what breaks when a credential is rotated or removed. It also suits anyone learning how an agent can use a database as a tool. Skip it if your host has no Python runner that allows sqlite3, because both steps depend on it.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| IT operations | n8n administrators | Find every workflow that uses a credential before they rotate it | An admin asks which workflows use the Slack account named Support. |
| Agencies | Automation agencies | Audit a client’s instance and list the apps it touches | An agency asks which workflows use Google Sheets and Airtable together. |
| Security | Reviewers | Check where a sensitive account is used | A reviewer asks which workflows use an OpenAI credential. |
| Software | Developers | Study how a chat agent can query a small database | A developer swaps the table for their own and keeps the agent. |
You need a little n8n and the right to change one setting of its Python runner. Nothing in the file states a setup time.
Any n8n whose Python runner allows json and sqlite3 will run it.
Map Workflows & Credentials and add columns in Save to DatabaseDownload saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two accounts and one runner setting cover every step.
| Need | Detail |
|---|---|
| n8n | With a Python task runner |
| Runner setting | N8N_RUNNERS_STDLIB_ALLOW allowing json and sqlite3 |
| n8n API | An API key and the API address of your instance, which ends in /api/v1 |
| OpenAI | An API key for the chat model |
workflow.json.json and sqlite3 in the Python runner.n8n.OpenAI Chat Model.Workflow Credentials Helper Agent, replace <YOUR_N8N_ADDRESS> with the address of your n8n.Save to Database reports how many workflows it stored.Run step one whenever your workflows change, then chat. Ask in plain words and the agent writes the SQL for you.
| To change | Where |
|---|---|
| Which workflows are read | The options of n8n |
| Which fields are kept | The three assignments in Map Workflows & Credentials |
| What the agent knows | The system message and the description of the tool |
| The model | OpenAI Chat Model |
You ask which workflows use Slack and Google Calendar.
The agent writes a query that looks for both app names in the credentials column, since the table keeps them as JSON text. It runs the query through the tool and lists the matching workflows by name. Ask for a link, and it builds one from the address you set in its system message.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. The top row is a one time import. The row below is the chat. SQL is a language for asking a table questions, and the agent writes it for you.
For experts. The table is a SQLite file that two Python steps share, and the tool accepts SELECT queries only.
| Node | What it does | What to know |
|---|---|---|
n8n | Lists workflows, all of them | It sees the workflows your API key can see |
Map Workflows & Credentials | Version 3.3 with three assignments, the credentials built from each node’s entry | Each entry holds a credential’s type, id and name |
Save to Database | A Code node in Python (Native) | It imports json and sqlite3, which the runner must allow |
Query Workflow Credentials Database | A Custom Code Tool 1.1 in Python | It reads the query from _query and refuses anything that does not start with select |
Workflow Credentials Helper Agent | A Tools Agent, version 1.6 | Its system message holds your n8n address, for links |
It reads credential names, and Python must be allowed to import two modules.
json and sqlite3 allowed, which a stock n8n turns offgpt-5-mini, which OpenAI shuts down on 11 December 2026. Mindket’s copy names gpt-5.6-terraAn n8n workflow in two steps. Step one asks your own n8n for all its workflows, keeps each workflow's id, its name and the
credentials its nodes point to, and saves them in a small SQLite database. Step two is a chat. An AI agent turns your
question into a SQL query and answers from what comes back.
It reads credential types, ids and names. Nothing else about a credential is read. The workflow takes the credentials
entry of each node from n8n's list of workflows, and that entry holds a type, an id and a name. It never calls n8n's
credential endpoints, so no secret, password or token is read or saved. A credential's name is free text, though, and can
carry an email address or a client's name.
workflow.json: the workflow as n8n exports it, 9 nodes beside 4 sticky notes. It holds no credential.README.md: these notes.The copy was written for an older Python runner. Mindket made these changes so it runs on n8n's current one:
_input and used item.json and .to_py(). The current runner gives code only _items and, for a_query. Mindket rewrote both steps to match, and set Save to Database to Python (Native).select, which is what its ownwindow.location. n8n's expressions give a window with nothing<YOUR_N8N_ADDRESS>.gpt-5-mini, which OpenAI shuts down on 11 December 2026. Mindket'sgpt-5.6-terra, the replacement OpenAI gives for it.json and sqlite3 must beN8N_RUNNERS_STDLIB_ALLOW, for example json,sqlite3. For an external runner, n8n's/api/v1.workflow.json.json and sqlite3 in the Python runner, as above.n8n.OpenAI Chat Model.Workflow Credentials Helper Agent and replace <YOUR_N8N_ADDRESS> in its system message with the address ofhttps://n8n.example.com.Save to Database should report how many workflows it stored.Step one runs when you press Test workflow:
When clicking "Test workflow" starts the run.n8n lists every workflow the API key can see.Map Workflows & Credentials keeps three fields for each one: workflow_id, workflow_name and credentials, a listSave to Database makes the table n8n_workflow_credentials if it is missing, then inserts or replaces one row for eachStep two runs when you send a chat message:
Chat Trigger starts a run.Workflow Credentials Helper Agent is a Tools Agent, version 1.6, with OpenAI Chat Model and Window Buffer Memory.Query Workflow Credentials Database is its tool, query_workflow_credentials_database. It runs the SELECT the agentn8n.Map Workflows & Credentials.OpenAI Chat Model.NOTICE.md 608 B README.md 5 KB workflow.json 9 KB
alchaincyf · Skill
Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.
alibaba · Kit
Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…