AutoVerse Workflow Controller icon

AutoVerse Workflow Controller

Enterprise workflow orchestration, execution control, and monitoring for n8n

Monitoring → Execution Analytics

AI-generated

Summary

Computes per-workflow execution analytics (counts, failure rate, consecutive failures, average duration, last success/failure, health score, alerts) for one or more n8n workflows using the n8n public API, and returns them in a single summary item.

Inputs

  • Workflow Selection — How to choose workflows: searchable list (single), multiple from list, current workflow, or manual URL/ID (comma-separated allowed; workflow URLs are parsed to IDs). Default is list.
  • Workflow Name or ID (required) — Single workflow, shown when selection mode is 'list'.
  • Workflow Names or IDs — Multiple workflows, shown when mode is 'multiple'. At least one workflow must be resolved or the operation errors.
  • Workflow URL or IDs — Manual mode: a workflow URL, an ID, or comma-separated IDs.
  • Execution Status — Optional filter (Any, Error, Running, Success, Waiting). Any applies no filter. Filtering restricts which executions are analyzed, so e.g. 'Error' will make the failure rate 100%.
  • Max Pages — Maximum pages of executions to fetch per workflow (1–50, default 5; 100 executions per page), which defines the analysis window.

Output shape

One item with generatedAt, workflowCount, averageHealthScore, and an analytics array. Each entry has workflowId, workflowName, windowExecutionCount, successCount, failureCount, runningCount, waitingCount, failureRate (0–1), consecutiveFailures, averageDurationMs, lastSuccessfulRun, lastFailedRun, healthScore (0–100), and alerts (strings).

Read-only; execution data is not fetched. Failure statuses are error, crashed, and failed. The window is only the executions fetched (up to Max Pages × 100) per workflow. Alert thresholds are not exposed for this operation, so defaults apply (25% failure rate, 3 consecutive failures). Alerts also flag active running or waiting executions. averageHealthScore is null if no workflows are analyzed. Errors throw unless Continue On Fail is enabled.

Examples

Example 1: Review recent reliability of a single production workflow

Workflow Selection: From Searchable List; pick the workflow; Execution Status: Any; Max Pages: 5.

Example 2: Compare health across several workflows

Workflow Selection: Multiple From List; select workflows; Max Pages: 10; read analytics[].healthScore and averageHealthScore.

Example 3: Self-monitoring from inside a workflow

Workflow Selection: Current Workflow (workflow must be saved); Execution Status: Any.

Links

Discussion