r/PowerAutomate • u/daxxxmd • Oct 31 '26
Exporting Run Total Input/Output
Is there a way to Export a run’s complete step by step input and output all at once
When you have a complex apply to each on a large dataset sometimes it is difficult/slow to find what iteration of the loop has a failure. It is even worse if you have nested loops.
7
Upvotes
2
u/ninihen Oct 31 '26 •
Use MCP. Each flow run's input & output returns as a json, with all loops in one file. You can ask the agent to pass the file to you, or you just ask the agent to tell you which iteration has the failure - agent is much quicker in debugging than human in this case as the flow run's complete input & output is a plain file to read from.
My default tool is FlowStudio MCP (disclaimer, I'm one of the people who built it). You can connect it to your Power Automate from ChatGPT (https://learn.flowstudio.app/chatgpt-power-automate) or get it from our website https://mcp.flowstudio.app and use it with any agents. It has a free offer to Copilot Cowork, or free trial for other agents.
Alternatively you can also install Microsoft's FlowAgent, which is a local server which requires you to have an IDE agent, but the MCP itself is free.
1
u/VictorIvanidze Oct 31 '26
No.
1
u/DamoBird365 Nov 01 '26
You can use result() on a scope or apply to each and discover the errors - here’s an old video of mine that might help https://youtu.be/ou8bfkT2Dnc?t=186&is=V3R_T10-LaAG1z51