Auto-generate Documentation for n8n Workflows with GPT and Docsify
This workflow creates a documentation system for n8n instances using Docsify.js. It serves a dynamic documentation website that allows users to: - View an overview of all workflows in a tabular format - Filter workflows by tags - Access automatically generated documentation for each workflow - Edit documentation with a live Markdown preview - Visualize workflow structures using Mermaid.js diagrams > Check out the [short 2-min demonstration](https://www.linkedin.com/feed/update/urn:li:activity:7276671057992847361/) on LinkedIn. Don't forget to connect! ## Key Components 1. **Main Documentation Portal** - Serves a Docsify-powered website - Provides a navigation sidebar with workflow tags - Displays workflow status, creation date, and documentation links 2. **Documentation Generator** - Uses GPT model to auto-generate workflow descriptions - Creates Mermaid.js diagrams of workflow structures - Maintains consistent documentation format 3. **Live Editor** - Split-screen Markdown editor with preview - Real-time Mermaid diagram rendering - Save/Cancel functionality ## Technical Details ### Environment Setup - Requires write access to the specified project directory - Uses environment variables for n8n instance URL configuration - Implements webhook endpoints for serving documentation ### Security Considerations > Note: The current implementation doesn't include authentication for editing. Consider adding authentication for production use. ### Dependencies - Docsify.js for documentation rendering - Mermaid.js for workflow visualization - OpenAI GPT for documentation generation ## Part of the n8n Observability Series This workflow is part of a broader series focused on n8n instance observability. Check out these related workflows: 1. [Workflow Dashboard](https://n8n.io/workflows/2269) - Get comprehensive analytics of your n8n instance 2. [Visualize Your n8n Workflows with Mermaid.js](https://n8n.io/workflows/2378) - Create beautiful workflow visualizations Each workflow in this series helps you better understand and manage your n8n automation ecosystem!
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $24.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related AI workflows
- Launch Your First AI-Powered Chatbot with Actionable Tools$9.99
- Automate AI Video Creation and YouTube Upload with Google Sheets$14.99
- Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and Imaging$24.99
- Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPress$14.99
- Automate SEO Keyword Generation with ChatGPT from Google Sheets$3.99
- Email Agent$500.99
More from Eduard
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.