Back to Templates

๐Ÿ” Visualize your n8n workflows with Mermaid.js!

Created by

Created by: Eduard || eduard
Eduard

Last update

Last update 2 months ago

Categories

Share


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_url variable: Enter your n8n URL instead of {{$env["N8N_PROTOCOL"]}}://{{$env["N8N_HOST"]}}
  • Change the webhook_path to simply "webhook" instead of {{$env["N8N_ENDPOINT_WEBHOOK"] || "webhook"}}

๐ŸŒŸ Examples

  1. Multiple flowcharts on a single page:
    image.png

  2. Several shapes for different nodes:
    image.png

  3. Langchain nodes with special connections styling:
    image.png