Look behind an action with Code View
Quiz question
Where do you read the JSON of an action in the new designer?
Solution
- A) In the Code view tab of the actionCorrect. Code view shows the JSON definition of the selected action or trigger. You cannot edit it there. In the classic designer the feature is called Peek code.
- B) In My clipboard in the action pickerWrong. My clipboard is for copying actions in the classic designer.
- C) In the run history of the last runWrong. Run history shows past runs; you do not edit the flow definition there.
What it is about
In the designer you see fields, icons and dynamic content. The JSON definition shows how these settings fit together. In the new designer, open the action and select "Code view" to read its JSON. You cannot edit it there. Check action names, inputs and expressions. In the classic designer, open "Peek code" to read an action's definition. Use export there for the definition of the whole flow. This lets you spot a nested concat() expression behind a field, for example. It helps with debugging and learning: you read how a step is built and can reuse its expression in your own flow.
When to use it, when not
Use it
When a field returns something other than expected and you want to see which expression is really behind it.
Better not
When you only want to change a field value. The input field in the designer is usually easier to follow.
Most common mistake
Checking only the visible field in the designer. Only Code View shows the complete expression with all its functions.
License
Standard This technique uses standard connectors. Microsoft 365 usage rights cover standard connectors. Check the rights for your whole flow. Source on Microsoft Learn: Power Automate licensing FAQ. For your whole flow: License check.
Share
Short link: powerautomate.ninja/en/89
Source: PowerPlatformTip #89, Microsoft Learn: Explore the cloud flows designer.
Prefer to continue with guidance? The Power Automate live course (in German) at the Power Platform Academy runs over four weeks. The next dates are not set yet, you can join the waiting list on the course page.