Workflow stats

Workflow stats for n8n automates the collection and presentation of workflow statistics, providing insights on total workflows, active workflows, and trigger counts. It aggregates data about nodes, tags, and webhooks, generating a comprehensive dashboard that can be used for analysis and monitoring. This workflow enhances visibility into workflow performance, streamlining management and optimization efforts.

7/8/2025
33 nodes
Complex
webhookcomplexsticky noteexecuteworkflowtriggermovebinarydatarespondtowebhookaggregaten8nexecuteworkflowadvanceddataparsingintegrationapi
Categories:
Complex WorkflowWebhook TriggeredBusiness Process Automation
Integrations:
Sticky NoteExecuteWorkflowTriggerMoveBinaryDataRespondToWebhookAggregateN8nExecuteWorkflow

Target Audience

This workflow is ideal for:
- Data Analysts looking to visualize workflow statistics effectively.
- Developers who want to monitor and manage their n8n workflows.
- Project Managers needing insights into workflow performance and usage.
- Business Analysts interested in understanding workflow integrations and efficiencies.

Problem Solved

This workflow addresses the challenge of monitoring and analyzing n8n workflows. It provides detailed insights into:
- The number of workflows and their activity status.
- The number of nodes used across workflows and their uniqueness.
- The trigger counts and tags associated with workflows, helping identify areas for improvement or optimization.

Workflow Steps

  • Triggering the Workflow: The process starts when the user clicks on 'Test workflow'.
    2. Fetching Workflows: It retrieves all workflows from the n8n instance, including their metadata.
    3. Data Preparation: Each workflow's nodes, tags, and webhook paths are extracted and organized into arrays.
    4. Aggregating Data: The workflow aggregates statistics for workflows, nodes, and tags, counting unique instances and total occurrences.
    5. Generating Sections: Separate sections are created for:
    - Workflow statistics
    - Node usage
    - Tag associations
    - Webhook paths
    6. Sorting Data: The aggregated data is sorted to ensure the most relevant information is presented first.
    7. Creating Output: Finally, the data is formatted into JSON and XML, allowing for easy integration into dashboards or reports.
  • Customization Guide

    To adapt this workflow for specific needs:
    - Modify Data Filters: Adjust the filters in the n8n-get-workflows node to focus on specific workflows based on criteria such as status or tags.
    - Change Output Formats: Customize the Convert to XML node to output in different formats or include additional data points.
    - Add New Nodes: Incorporate additional nodes for further processing, such as sending notifications or integrating with other services.
    - Customize HTML Output: Edit the Create HTML node to change the layout or styling of the dashboard to better fit your branding or preferences.