Workflow stats
Triggered by a webhook. Connects Aggregate, Code, Execute Workflow, Html, Move Binary Data, N8N, Respond To Webhook, Sort. Create the main JSON object with the workflow statistics globals - general information ( of workflows, active workflows, total trigger count) wfstats - summary per workflow (number or nodes, unique nodes, list of nodes and tags) nodes-section - summary per node (number of work
Front matter
name: Workflow stats
description: Triggered by a webhook. Connects Aggregate, Code, Execute Workflow, Html, Move Binary Data, N8N, Respond To Webhook, Sort. ## Create the main JSON object with the workflow statistics * `globals` - general information (# of workflows, active workflows, total trigger count) * `wf_stats` - summary per workflow (number or nodes, unique nodes, list of nodes and tags) * `nodes-section` - summary per node (number of workflows that use a node and their URLs) * `tags-section` - summary per tag (number of workflows that use a node and their URLs) * `webhook-section` - lists all webhook endpoints of the instance and shows the
category: Automation
kind: Workflow
software: Aggregate|Code|Execute Workflow|Html|Move Binary Data|N8N|Respond To Webhook|Sort|Webhook|XmlWorkflow stats
Triggered by a webhook. Connects Aggregate, Code, Execute Workflow, Html, Move Binary Data, N8N, Respond To Webhook, Sort. ## Create the main JSON object with the workflow statistics
globals- general information (# of workflows, active workflows, total trigger count)wf_stats- summary per workflow (number or nodes, unique nodes, list of nodes and tags)nodes-section- summary per node (number of workflows that use a node and their URLs)tags-section- summary per tag (number of workflows that use a node and their URLs)webhook-section- lists all webhook endpoints of the instance and shows the
Steps
- When clicking "Test workflow" (manualTrigger)
- nodes-section (code)
- workflows-section (set)
- Sticky Note (stickyNote)
- tags-section (code)
- globals-section (set)
- Execute Workflow Trigger (executeWorkflowTrigger)
- Convert to XML (xml)
- Create HTML (html)
- Move Binary Data (moveBinaryData)
- Respond to Webhook (respondToWebhook)
- Sticky Note1 (stickyNote)
- Respond to Webhook2 (respondToWebhook)
- Final template (set)
- Template elements (set)
- Sort-workflows (sort)
- Sort-nodes (sort)
- Sort-tags (sort)
- Aggregate-workflows (aggregate)
- Aggregate-nodes (aggregate)
- Aggregate-tags (aggregate)
- n8n-get-workflows (n8n)
- Prepare JSON object (executeWorkflow)
- get-nodes-via-jmespath (set)
- Sticky Note2 (stickyNote)
- Request HTML dashboard (webhook)
- Sticky Note3 (stickyNote)
- Request xsl template (webhook)
- Final-json (merge)
- webhook-section (code)
- Sort-whooks (sort)
- Aggregate-whooks (aggregate)
- Sticky Note4 (stickyNote)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Code/1401_Code_Webhook_Automate_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Production Workflow: Respond To Webhook, Spreadsheet File and Webhook
- Webhook Workflow: HTTP request, Respond To Webhook and Webhook
- Manualtrigger Workflow: Function, HTTP request and Html Extract
- Production Workflow: Mattermost and Webhook (n8n workflow collection) (1407)
- Production Workflow: Function, Respond To Webhook and Webhook
- Production Workflow: Mattermost and Webhook (n8n workflow collection) (1394)
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.