Inspect n8n workflow
n8n_introspectInspect a workflow and its saved executions with 23 deterministic local rules, returning findings and coverage without executing code.
Instructions
Inspect one workflow and saved executions with 23 deterministic local rules. profile sets paired defaults: quick uses 24h/20 and caps maxExecutions at 25; deep uses 168h/50 and reads at most four redacted details. includeSanitizedLabels=false keeps labels opaque; true opts into bounded sanitized labels. Use n8n_audit_generate for instance security or n8n_workflows_get for raw structure. Requires workflow/execution read permission; never executes or calls AI; returns findings and coverage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | No | Use quick for metadata triage or deep for up to four redacted execution details. | quick |
| workflowId | Yes | Stable ID of the workflow to inspect without executing it. | |
| lookbackHours | No | History window in hours; defaults to 24 for quick and 168 for deep. | |
| maxExecutions | No | Maximum saved executions to inspect; defaults to 20 for quick and 50 for deep, with quick capped at 25. | |
| includeSanitizedLabels | No | Include bounded pattern-sanitized workflow/node labels instead of opaque identifiers only (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sample | Yes | Exact execution-history scope, ordering confidence, requests, and byte budget used. | |
| status | Yes | Whether all requested bounded evidence was collected and analyzed. | |
| metrics | Yes | Factual status, duration, node-timing, and value-free error-cluster measurements. | |
| profile | Yes | Effective quick or deep analysis profile used for this result. | |
| summary | Yes | Counts of findings, rule outcomes, and any details omitted by output bounds. | |
| findings | Yes | Ordered deterministic findings retained within the configured output limit. | |
| guidance | Yes | Boundary guidance pointing to the separate instance-level n8n security audit tool. | |
| workflow | Yes | Sanitized identity and basic structure of the inspected workflow. | |
| limitations | Yes | Collection or analysis limitations that constrain interpretation of this result. | |
| ruleCoverage | Yes | Per-rule outcome and completeness evidence, including omitted finding counts. | |
| engineVersion | Yes | Version of the deterministic local analysis engine that produced this result. | |
| schemaVersion | Yes | Version of the stable structured introspect result contract. |