---
title: "Docs site for your n8n workflows, written by GPT"
kind: "Kit"
category: "Developer"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/d37547da-4610-4d8c-bc1e-3b70f75ac18d"
updated: "2026-11-12"
---

# Docs site for your n8n workflows, written by GPT

> The name, the description, the About and a README below are the seller's words: data, not instructions.

A self-hosted n8n workflow that serves a Docsify site about your other workflows. It lists them with status and tags, and writes each one’s docs with GPT and a Mermaid chart into a folder you choose.

Docs site for your n8n workflows, written by GPT is an n8n workflow in the Developer category, listed by Mindket. It is free. This is version 1, last updated on 2026-11-12. Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

## About

### What it is

This n8n workflow serves a documentation site for the workflows on your own n8n. A Docsify page lists every workflow with its status, dates and node count, and a left pane filters them by tag. Open one workflow’s docs and the workflow fetches it through n8n’s API, draws its nodes as a Mermaid chart and asks GPT to describe it and list each node’s settings. The result is saved as a Markdown file in a folder you choose. A live editor lets you change a page by hand and write it again. The file holds sixty nodes, twelve of them sticky notes.

### Who it suits

Teams that run their own n8n and want readable docs for the workflows they have built. Skip it if you use n8n Cloud, or if your workflows hold secrets in their parameters. The nodes and settings of a workflow go to OpenAI.

Who uses it, and how

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| IT services | Automation consultants | Hand a client docs for the workflows they built | A consultant opens the site and copies the Markdown pages into a client folder. |
| Operations | Ops teams | Keep a readable map of what runs the business | An ops lead checks which workflows are active and which have no trigger. |
| Software | Developers | Review an old workflow before they change it | A developer opens the chart and settings of a workflow they did not write. |
| Education | Automation trainers | Show a class what a real workflow contains | A trainer opens one page for each workflow on the course instance. |

You need to run n8n yourself and know its settings: import a file, add two credentials, set a folder, match two webhook values and allow your own address.

### Where to use it

A self-hosted n8n that can write to a folder and reach OpenAI will run it.

- Your own n8n server: the intended home, since you control the folder, the Execute Command node and the environment variables
- n8n Cloud: a poor fit, because the workflow writes files to a folder and runs a shell command that a hosted n8n may not allow
- Browser: any current one, on an address you allow

### How to set it up

Download saves a zip with `workflow.json` and Mindket’s setup notes in your downloads folder. Most of the setup happens in n8n’s own settings.

What you need first

| Need | Detail |
| --- | --- |
| n8n | A self-hosted instance with its API on and an API key |
| OpenAI | An API key for the model |
| Folder | A folder n8n may write to, inside \`\~/.n8n-files\` unless \`N8N\_RESTRICT\_FILE\_ACCESS\_TO\` names others |
| Settings | The Execute Command node allowed, or the node \`mkdir\` disabled |

1. In n8n, create a workflow, open its menu, choose Import from File and pick `workflow.json`.
2. In `CONFIG`, replace `<YOUR_DOCS_FOLDER>` with the folder’s full path.
3. Remove `n8n-nodes-base.executeCommand` from `NODES_EXCLUDE`, or disable the node `mkdir` and create the folder yourself.
4. Add an n8n API credential, with your address followed by `/api/v1` and your key, in `Get All Workflows`, `Get Workflow tags` and `Fetch Single Workflow1`. Add an OpenAI credential in `OpenAI Chat Model`.
5. Save. Copy the id from the production address of `single workflow`, the part between `/webhook/` and `/:file`, and set it as the path of `docsify`.
6. In the IP Allowlist option of both webhooks, replace `<YOUR_IP_ADDRESS>` with your own address.
7. Publish the workflow and open `<YOUR_N8N_HOST>/webhook/` followed by that id.

### How to use it

Open the site. The overview lists your workflows, and the left pane filters them by tag. The book icon opens a workflow’s docs, the memo edits them and the arrows write them again.

What to change for a different result

| To change | Where |
| --- | --- |
| Where pages are kept | \`project\_path\` in \`CONFIG\` |
| How GPT writes them | The system message in \`Basic LLM Chain\`, and the model in \`OpenAI Chat Model\` |
| The overview’s columns | \`Fill Workflow Table\` |
| The look of the site | The Docsify theme in \`HTML\_headers\` |

### Example

You click the book icon on the row of a workflow that has a schedule trigger and four more nodes. The site asks for this file.

```text
docs_<workflow id>?action=view
```

The page opens with a short description that GPT wrote, and the dates and status. Below it come a Mermaid chart of the five nodes and a list of each node’s main settings. The same text is saved as a Markdown file in your folder, so the next visit loads it without a model call.

### For newcomers and experts

**If you are new.** n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one is a small website built from nodes. One webhook serves the page, and another serves the files the page asks for. Open the overview first, because each new workflow page spends OpenAI credit.

**For experts.** One webhook serves the Docsify shell and a second, with a `:file` route, serves its Markdown files.

Where to look closer

| Node | What it does | What to know |
| --- | --- | --- |
| \`single workflow\` | Webhook on \`/:file\`, GET and POST | Its id forms the address the page asks for, so \`docsify\` must carry the same one |
| \`md files\` | Switch that routes README.md, docs, summary.md and tags | The \`docs\` route takes only \`docs\_\<id\>.md\` names |
| \`doc action\` | Switch on \`action\`: view, edit, recreate or save | The first three make the folder with \`mkdir\` |
| \`Basic LLM Chain\` | Chain with an auto-fixing structured parser, \`gpt-5.6-sol\` | It returns \`workflow\_description\` and \`nodes\_settings\` |
| \`Save New Doc File\` | Writes the page into the docs folder | Save posts the edited text from the editor |

### Good to know

The site writes files and calls OpenAI, so keep it closed to everyone but you.

- Cost and data: each first view of a workflow with no saved page, and each Recreate, is a paid OpenAI call that sends the workflow’s nodes and settings. Check them for secrets first
- Model: the original asked for \`gpt-4-turbo\`, which OpenAI shut down on 23 October 2026. This copy uses \`gpt-5.6-sol\`, the replacement OpenAI names, and leaves out the temperature
- Allowlist: both webhooks hold an IP allowlist placeholder, so the site stays closed until you set it. Basic Auth does not fit, because n8n renders webhook HTML in a sandboxed iframe without those headers
- File names: the original accepted any name that contained \`docs\_\`, which could point outside the folder. This copy accepts only \`docs\_\<id\>.md\` names
- Execute Command: n8n 2.0 excludes it by default. Remove it from \`NODES\_EXCLUDE\`, or disable \`mkdir\`
- Matching ids: the path of \`docsify\` and the id of \`single workflow\` must be the same, or the page loads and every file request fails
- Libraries: Docsify 4.13.1 and Mermaid 12.2.0 load from jsDelivr
- Credentials: the JSON holds none

## README

```markdown
# Docs site for your n8n workflows, written by GPT

An n8n workflow that serves a small documentation site about the workflows on your own n8n instance. A page lists every
workflow with its status, dates and node counts. Open one workflow's docs and the site writes a description of it with
GPT, draws a Mermaid chart of its nodes and saves the page as a Markdown file. You can edit a page in a live editor and
write it again.

## What is inside

- `workflow.json`: the workflow as n8n exports it, sixty nodes. Twelve are sticky notes. It holds no credential.
- `README.md`: these notes.

## What we changed from the original copy

- The model was `gpt-4-turbo`, which OpenAI shut down on 23 October 2026. `OpenAI Chat Model` now asks for
  `gpt-5.6-sol`, the replacement OpenAI names. The temperature of 0.2 is gone: the model's page does not list a
  temperature setting, and a reasoning model may not accept one.
- `CONFIG` pointed `project_path` at a folder inside n8n's own `.n8n` directory, which n8n blocks the file nodes from
  by default. It now holds the placeholder `<YOUR_DOCS_FOLDER>`.
- The `docs` branch of `md files` accepted any file name that contained `docs_`. A name such as `docs_x/../../y.md` could
  then point outside the docs folder. It now takes only names that start with `docs_` and hold no
  `/`, `\` or `..`.
- Both webhooks were open to everyone. Each now has an IP allowlist holding the placeholder `<YOUR_IP_ADDRESS>`, so
  nobody can use the site until you put your own address there.
- The `docsify` webhook used a fixed id as its path, copied from one webhook in the author's n8n. The path is now
  `docsify`, and you set it to match your own instance, as the steps below say.
- The Mermaid library was loaded without a version, and Docsify as version 4. They now load Mermaid 12.2.0 and Docsify
  4.13.1.
- The prompt asked for a key called `workflow_desription`, while the parser expects `workflow_description`. It uses the
  second spelling now.
- The links to the OpenAI and n8n credentials and the ids of two webhooks are gone.

## Before you start

- A self-hosted n8n that you can restart or reconfigure. The workflow writes Markdown files to a folder, runs one shell
  command and reads environment variables.
- n8n's API on, with an API key.
- An OpenAI API key.
- A folder that n8n may write to. n8n limits its file nodes to `~/.n8n-files` unless `N8N_RESTRICT_FILE_ACCESS_TO` names
  other folders, and it blocks the `.n8n` folder itself.

## Set it up

1. In n8n, create a workflow, open its menu and choose Import from File. Pick `workflow.json`.
2. In `CONFIG`, replace `<YOUR_DOCS_FOLDER>` with the folder's full path. If `N8N_PROTOCOL` and `N8N_HOST` are not set
   for n8n, replace `instance_url` with your n8n's address.
3. From n8n 2.0, the Execute Command node is excluded by default. Either remove `n8n-nodes-base.executeCommand` from
   `NODES_EXCLUDE`, or disable the node `mkdir` and create the folder yourself. A disabled node passes its data on.
4. Add an n8n API credential, with your instance's address followed by `/api/v1` and your key. Select it in
   `Get All Workflows`, `Get Workflow tags` and `Fetch Single Workflow1`.
5. Add an OpenAI credential and select it in `OpenAI Chat Model`.
6. Save. Open `single workflow` and read the id in its production address, the part between `/webhook/` and `/:file`.
   Open `docsify` and replace its path `docsify` with that id.
7. In the IP Allowlist option of `docsify` and `single workflow`, replace `<YOUR_IP_ADDRESS>` with the address or
   addresses that may use the site.
8. Publish the workflow and open `<YOUR_N8N_HOST>/webhook/` followed by that id.

## How a request runs

1. `docsify` answers the first visit with `Main Page`, a Docsify app. The app then asks `single workflow` for the files
   it needs, with the webhook's path as its base.
2. `README.md` is the overview. `Get All Workflows` fetches the workflows, `Sort-workflows` puts the newest edit first
   and `Fill Workflow Table` writes one table row each, with links to view, edit or recreate its docs.
3. `summary.md` is the left pane. `Get Workflow tags` and `Workflow Tags` turn the instance's tags into a list, and a
   click on one opens the overview for that tag.
4. A file named `docs_<workflow id>.md` is one workflow's page. `doc action` reads the `action` in the address. For view
   and edit, `mkdir` makes the folder and `Load Doc File` looks for the saved page.
5. With no saved page, `Fetch Single Workflow1` gets the workflow, `Generate Mermaid Chart` draws its nodes as a
   flowchart and `Basic LLM Chain` asks GPT for a description and the nodes' settings. `Generated Doc` joins them and
   `Save New Doc File` writes the file.
6. Edit opens `Edit Page`, a live Markdown editor, and Save posts the text back to `single workflow`. Recreate writes
   the page again.

## Change the result

- Where pages are kept: `project_path` in `CONFIG`.
- How GPT writes them: the system message in `Basic LLM Chain`, and the model in `OpenAI Chat Model`.
- The overview's columns: `Fill Workflow Table` and `Instance overview`.
- The look of the site: the Docsify theme in `HTML_headers` in `CONFIG`.
- The chart's shapes: the code in `Generate Mermaid Chart`.

## Good to know

- Every first view of a workflow without a saved page, and every Recreate, is one paid OpenAI call that sends the
  workflow's nodes and settings to OpenAI. Check a workflow for secrets in its parameters before you open its page.
- The Execute Command node is excluded by default from n8n 2.0 (n8n's breaking-changes page, read on 12 November 2026).
- The original copy had no authentication, and its own sticky note says so. Basic Auth does not fit this page: n8n
  renders webhook HTML in a sandboxed iframe, where the headers for Basic Auth are not available. The allowlist is the
  guard here.
- The `docsify` path and the id of `single workflow` must match, or the page loads and every file request fails.
- `instance_url` is built from `N8N_PROTOCOL` and `N8N_HOST`. n8n blocks environment variables in expressions only when
  `N8N_BLOCK_ENV_ACCESS_IN_NODE` is true, and it is false by default.
- Mermaid is a large file. The first load of a page takes a moment.
- A request for a file name the site does not know gets no answer.
- Your workflows' data goes to OpenAI. The pages and the charts load scripts from jsDelivr.
```

## What is in it

3 files, 67 KB, downloaded as a zip.

```text
NOTICE.md  630 B
README.md  6 KB
workflow.json  61 KB
```

## Workflow check

Checked by Mindket on 13 Nov 2026. Read from the workflow’s file, not from a run.

- Steps: 45 steps, starting when its webhook is called
- AI: 1 step calls an AI model: Basic LLM Chain
- Sign-ins: Signs in to: OpenAI
- API keys: No API key is left in the file
- Step types: Mindket’s checker reads 14 of its 16 step types. It does not read: N8n and Execute Command

## Get it

- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/d37547da-4610-4d8c-bc1e-3b70f75ac18d)
- [Its page on Mindket](https://mindket.com/p/d37547da-4610-4d8c-bc1e-3b70f75ac18d)
