βοΈ π Visualize your n8n workflows with Mermaid.js!
β‘ 7,549 views Β· βοΈ Engineering
Description
Are you a visual thinker working with n8n?
π¨ View and understand workflow structures at a glance with this template!
Built with mermaid.js, Bootstrap 5 and AXAJ to create an interactive web page displaying n8n workflows as flowcharts.
π Perfect for documentation, presentations, or just getting a clearer picture of your automation processes.
Need customization help? Reach out to Eduard!
Benefits
- π Instant workflow visualization
- π± Responsive design
- π Direct links to n8n workflows
- π§© Special shapes for different node types
- π« Disabled node indication
- π No external dependencies β just paste the workflow and call the webhook
- π οΈ Easily customizable β enhance the JS script or add custom styling
β οΈ Important note for cloud users β οΈ
Since the cloud version doesnβt support environmental variables, please make the following changes in the CONFIG node:
- Update the
instance_urlvariable: Enter your n8n URL instead of{{$env["N8N_PROTOCOL"]}}://{{$env["N8N_HOST"]}} - Change the
webhook_pathto simply βwebhookβ instead of{{$env["N8N_ENDPOINT_WEBHOOK"] || "webhook"}}
π Examples
-
Multiple flowcharts on a single page: image.png
-
Several shapes for different nodes: image.png
-
Langchain nodes with special connections styling: image.png
π Nodes Used
Webhook, n8n
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File