Skip to main content

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

Workflow preview

Workflow preview
100%
πŸ” Visualize your n8n workflows with Mermaid.js! preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 d...

Best for

  • Engineering automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.respondtowebhook, n8n-nodes-base.n8n, n8n-nodes-base.aggregate, n8n-nodes-base.switch, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Eduard.

Original n8n.io source

1.1 Workflow description

Title
πŸ” Visualize your n8n workflows with Mermaid.js!
Workflow name
πŸ” Visualize your n8n workflows with Mermaid.js!

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:

  2. Several shapes for different nodes:

  3. Langchain nodes with special connections styling:

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking β€˜Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Respond with Mermaid

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 3 - List workflows

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 4 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 5 - Single workflow

Type / Role
n8n-nodes-base.n8n - n8n
Config choices
Version 1

Block 6 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 7 - Send Page

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.1

Block 8 - Prepare workflow list

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - CONFIG

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Code

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

3. Summary Table

Workflow πŸ” Visualize your n8n workflows with Mermaid.js!
Complexity intermediate
Nodes 12
Categories Engineering
Author Eduard
Published 12 Aug 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2378/2378.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does πŸ” Visualize your n8n workflows with Mermaid.js! do?

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 d...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.