Library / Reports, Analytics & Dashboards
Reports, Analytics & Dashboards
Identify slow and expensive workflow nodes via webhook and HTTP APIs
When an API call/webhook arrives, it builds reports.
What it does
## AI-Powered n8n Workflow Optimizer Receives an optimization request, collects node-level performance and cost data, uses AI to rank the slowest and most expensive nodes, and returns prioritized recommendations with estimated impact and effort. ### All nodes (1-line each) 1. Webhook - Optimization Request – Receives the workflow optimization request via POST. 2. Code - Validate & Prepare Analysis – Validates the request and builds the performance/cost analysis context. 3. IF - Validation Passed? – Routes invalid payloads to an immediate error response. 4. Respond - Validation Error – Returns HTTP 400 with validation details. 5. Wait - Pre Metrics Pull – Short pause before fetching performance metrics. 6. HTTP Request - Fetch Performance Metrics – Pulls node-level duration, success rate and execution counts. 7. Wait - Pre Cost Pull – Pause before fetching cost and resource usage data. 8. HTTP Request - Fetch Cost & Resource Data – Pulls AI token usage, compute time and external API costs. 9. Wait - Pre AI Optimization – Pause before AI analysis of slow and expensive nodes. 10. HTTP Request - AI Identify Bottlenecks – Calls AI to rank slow/expensive nodes and generate optimization strategies. 11. HTTP Request - Store Optimization Report – Persists the optimization report or notifies the team. 12. Code - Build Optimization Report – Aggregates metrics + AI recommendations into a final actionable report with ROI ranking. 13. Respond to Webhook – Returns the complete optimization report to the caller.
The steps
- Webhook - Optimization Request
- Code - Validate & Prepare Analysis
- IF - Validation Passed?
- Respond - Validation Error
- Wait - Pre Metrics Pull
- HTTP Request - Fetch Performance Metrics
- Wait - Pre Cost Pull
- HTTP Request - Fetch Cost & Resource Data
- Wait - Pre AI Optimization
- HTTP Request - AI Identify Bottlenecks
- HTTP Request - Store Optimization Report
- Code - Build Optimization Report
- Respond to Webhook
Similar automations
Code, Git & Developer ToolsCheck and Update Workflow Nodes with Email Summary8 stepsCode, Git & Developer ToolsCheck n8n Workflows for Outdated Nodes by Email9 stepsAI Agents & AssistantsEvaluate Multi-Agent Answers with n8n Evaluation Nodes15 stepsBuilding Blocks & UtilitiesVisual Reference Library of n8n Nodes and AI Models97 steps