n8n

How to Generate n8n Workflow Analytics?

Get a live view of your n8n instance without manual checks. The workflow builds a full inventory of workflows, nodes, tags, and webhook URLs, then serves it as JSON and as a simple HTML dashboard. It fits teams that maintain many automations and need quick insight.

Data is pulled from your n8n API and shaped into clear sections. Code nodes and JMESPath create lists and counts for each workflow, node type, and tag. Sort and Aggregate nodes rank the most used nodes and group related items. A webhook endpoint delivers an HTML page that reads XML data through an XSLT template. Another webhook returns the stylesheet so the page loads in the browser. A final JSON object can feed BI tools for deeper charts and reports.

Setup needs an n8n API credential and your base URL. Cloud users may replace environment variables with direct URLs in the noted nodes. Expect faster audits, fewer errors in reporting, and clear visibility of active and idle flows. Teams use it to track growth, spot risky public webhooks, and plan refactoring work.

What are the key features?

  • Manual trigger and HTTP webhooks build and serve the dashboard on demand
  • n8n API node collects all workflows with status, tags, nodes, and triggers
  • Code nodes use JMESPath and arrays to count and map usage across flows
  • Sort and Aggregate nodes rank workflows, nodes, tags, and webhook URLs
  • Set nodes compile global stats and per workflow summaries for easy reading
  • XML and HTML nodes render data with an XSLT stylesheet for the browser
  • Respond to Webhook nodes return the final page and stylesheet with correct headers
  • Optional JSON output is ready for BI tools and exports

What are the benefits?

  • Reduce manual audit time from several hours to minutes
  • See all webhook endpoints in one place for faster security checks
  • Rank the most used nodes and tags to guide refactoring effort
  • Export clean JSON for BI dashboards without extra scripts
  • Scale visibility across hundreds of workflows with one setup

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with n8n. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a new n8n API credential. Enter your base URL and API token from your n8n instance, then save.
  4. Open the n8n-get-workflows node. In the credential dropdown, select the n8n API credential you created.
  5. If you use n8n Cloud or do not use environment variables, open the get-nodes-via-jmespath node and set the instance_url variable to your full n8n URL.
  6. Open the Create HTML node. If the WEBHOOK_URL variable is not available, replace it with your own webhook base URL so the stylesheet link resolves.
  7. Enable the Request HTML dashboard and Request xsl template webhook nodes. Copy the Test URLs for quick checks.
  8. Run the workflow with the manual trigger. Open the Final-json node output and confirm you see globals, wf_stats, nodes-section, tags-section, and webhook-section.
  9. Open the Request HTML dashboard URL in your browser. You should see a styled page. If not, make sure the Request xsl template URL is reachable.
  10. Secure the webhooks. In each webhook node, add authentication or restrict access so only trusted users can view the dashboard.
  11. If the page shows raw XML or empty data, verify the XSL endpoint returns Content Type text xsl and confirm your n8n API user has permission to list workflows.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

n8n API

Sign up

Community Edition (self-hosted): $0 (public REST API available). Cloud Starter: $20 / mo billed annually ($24 monthly); API unavailable during free trial.

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.