flowstudio-power-automate-debug

Diagnose and fix failing Power Automate cloud flows via the FlowStudio MCP server.

1|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill flowstudio-power-automate-debug-ultraviollettnympho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flowstudio-power-automate-debug
Source: https://github.com/ultraviollettnympho/transit-ticket/tree/main/.github/skills/flowstudio-power-automate-debug
Command: npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill flowstudio-power-automate-debug-ultraviollettnympho

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Power Automate flows fail with cryptic errors buried across runs, actions, and expressions, and finding the root cause through the web UI is slow. This Skill provides a structured diagnostic process that locates the failing run, identifies the root-cause action, inspects upstream outputs, applies a fix, and verifies it — all through the FlowStudio MCP server. ## Core Features & Use Cases - Guided failure diagnosis: Walks through locating the flow, finding the failed run, reading the top-level error, and pinpointing the root-cause action using failedActions ordering. - Fix and verify loop: Updates flow definitions with update_live_flow, resubmits failed runs, and tests HTTP-triggered flows with custom payloads via trigger_live_flow. - Error reference library: Ships reference docs covering common error codes (InvalidTemplate, ConnectionAuthorizationFailed, HTTP 4xx/5xx) and a full decision tree for complex failures. - Use Case: A scheduled flow starts failing with an ActionFailed error. Use this Skill to pull the run error, discover a null value breaking a split() expression, patch the expression with coalesce(), resubmit the run, and confirm it succeeds. ## Quick Start Ask the AI to debug why your Power Automate flow is failing using the FlowStudio MCP server, providing your environment ID and flow name.

Frequently Asked Questions about flowstudio-power-automate-debug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a failing Power Automate flow?

Use the FlowStudio MCP tools to list flow runs, find the failed run, then call get_live_flow_run_error to read the error. The last entry in failedActions identifies the root-cause action, which you inspect with get_live_flow_run_action_outputs.

How do I find the root cause of a Power Automate flow error?

Call get_live_flow_run_error on the failed run and read the failedActions array, which is ordered outer-to-inner. The last entry is the root cause; then inspect upstream action outputs to find null values or wrong field paths.

What causes InvalidTemplate errors in Power Automate?

InvalidTemplate errors occur when an expression receives a null value, uses a wrong field path, or gets a type mismatch such as an object where an array is expected. Fixes include wrapping values with coalesce() or correcting case-sensitive field names.

Can I fix a Power Automate flow without opening the designer?

Yes, expression and data logic issues can be fixed by fetching the definition with get_live_flow, editing the action inputs, and calling update_live_flow with the definition and connectionReferences. Connection authorization failures still require the designer.

Why does my Power Automate flow show ConnectionAuthorizationFailed?

ConnectionAuthorizationFailed means the connection referenced in the flow is owned by a different user or service account than the one whose token is being used. It cannot be fixed via API; re-authenticate the connection in the Power Automate designer.

What are the requirements to use FlowStudio MCP for flow debugging?

You need a FlowStudio MCP subscription with a valid JWT token and the environment ID containing your flows. Subscribe at https://mcp.flowstudio.app and call tools/list first to confirm available tool names and parameters.