Where each variable is used, who uses each action’s output, why the run took that branch, what breaks if you delete it — and whether you are exposing a password. Right in the editor, without leaving the page.

Every feature started as a question asked again and again in the Power Automate community — one the editor still does not answer.
Where does this variable get changed?
Why did it go down the “No” branch?
Invalid type. Expected String but got Null
property 'Status' doesn't exist
The filter returns 0 items and no error
Order_x0020_Status.It succeeded but did nothing
Who needs a Premium licence?
I imported and the connections were empty
deploymentSettings.json for pipelines.Is there a password written in the flow?
The flow keeps triggering itself
The approval got stuck and expired
Import failed due to missing dependencies
I deployed and the change does not show
The app times out when calling the flow
Open with Ctrl+X or the side tab. Works in the new and classic designer. Everything organised in Home, by category.
Lots of features, no clutter: the Home button shows cards by category and each category opens its tools.


Several API calls and you need to know which one returned “Katombela”? Type the text: FlowLens searches every action’s inputs and outputs, opens the right action, highlights it on the canvas and marks the value in the JSON.

No more blinding white screens at night: one click (☾ in the panel) turns the whole designer dark while keeping icon colours. It stays on every time you open Power Automate and switches back to light without reloading.


Click an action and see where its data comes from and where it goes — including through variables.


Scopes and loops as boxes, Condition and Switch with branches side by side, parallel actions side by side and failure arrows in red.
Open a run and FlowLens selects the failure, explains the error and shows the real values — without running the flow again.
“200”=200“Approved”=“approved”A 0–100 score with what lowers it, and a single list of security, errors, warnings and suggestions.


Before moving the solution: connection references, hard-coded URLs, secrets, environment variables, Try/Catch, errors, co-owners and licensing.
deploymentSettings.json for pac and pipelines
With a solution open in the portal, see on one screen everything that makes an import fail or a flow stay off — with the next step.
Try/Catch with error details, change a field in every item, respond to the app first — copy and paste into the designer.

Everything below was produced by the extension from a sample flow (“Request approval”, built in Portuguese).
%% Gerado pelo FlowLens
flowchart TD
n0(["⚡ Quando um pedido e criado<br/><small>SharePoint · GetOnNewItems</small>"]):::trig
n1[/"🧮 Inicializar aprovadores<br/><small>Inicializar variável: arrAprovadores</small>"/]:::var
subgraph n2["🧩 Try"]
direction TB
n3["🔌 Obter linhas<br/><small>SharePoint · GetItems</small>"]:::conn
subgraph n4["🔁 Para cada linha · cada item de Obter linhas.body/value"]
direction TB
n5{"🔀 Valor alto<br/><small>item.Valor #gt; 1000</small>"}:::cond
subgraph n5_b0["Sim"]
direction TB
n6[/"🧮 Acrescentar aprovador<br/><small>Acrescentar a matriz: arrAprovadores</small>"/]:::var
end
n5_b1["(nada)"]:::empty
end
n7["🔌 Pedir aprovacao<br/><small>Aprovações · StartAndWaitForAnApproval</small>"]:::conn
n8["🔌 Atualizar pedido<br/><small>SharePoint · PatchItem</small>"]:::conn
end
subgraph n9["🧩 Catch"]
direction TB
n10["🔌 Notificar falha<br/><small>Outlook · SendEmailV2</small>"]:::conn
end
n0 --> n1
n5 -->|"sim"| n6
n5 -->|"não"| n5_b1
n3 --> n4
n4 --> n7
n7 --> n8
n1 --> n2
n2 -->|"se falhou / tempo esgotado"| n9
classDef trig fill:#e8f1fd,stroke:#1e6ff0,color:#0b3d91,stroke-width:2px
classDef cond fill:#fff6e0,stroke:#e5a100,color:#6b4a00
classDef var fill:#e7f6ee,stroke:#16a34a,color:#14532d
classDef data fill:#f1f4f9,stroke:#64748b,color:#1f2937
classDef conn fill:#ffffff,stroke:#1e6ff0,color:#0b3d91
classDef stop fill:#fdeeee,stroke:#e5484d,color:#8b1d1d
classDef empty fill:transparent,stroke:#cbd5e1,color:#94a3b8,stroke-dasharray:3 3
style n5_b0 fill:#f8fafc,stroke:#cbd5e1,color:#334155
style n4 fill:#f8fafc,stroke:#cbd5e1,color:#334155
style n2 fill:#f8fafc,stroke:#cbd5e1,color:#334155
style n9 fill:#f8fafc,stroke:#cbd5e1,color:#334155
linkStyle 7 stroke:#e5484d,stroke-width:2px,color:#b42318Paste into GitHub, Azure DevOps, Notion or Confluence to see the flow drawn.
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"cliente": {
"type": [
"string",
"null"
]
},
"email": {
"type": [
"string",
"null"
]
},
"linhas": {
"type": "array",
"items": {
"type": "object",
"properties": {
"produto": {
"type": "string"
},
"qtd": {
"type": "integer"
}
}
}
}
},
"required": [
"id",
"linhas"
]
}Generated from two real runs: fields that came empty accept null and are no longer required.
{
"EnvironmentVariables": [
{
"SchemaName": "cr_Site",
"Value": ""
}
],
"ConnectionReferences": [
{
"LogicalName": "cr_approvals",
"ConnectionId": "",
"ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_approvals"
},
{
"LogicalName": "cr_outlook",
"ConnectionId": "",
"ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_office365"
},
{
"LogicalName": "cr_sharepoint_pedidos",
"ConnectionId": "",
"ConnectorId": "/providers/Microsoft.PowerApps/apis/shared_sharepointonline"
}
]
}Ready to fill in for pac solution import --settings-file or pipelines.
Filter: Estado Pedido eq 'Novo' and Valor = 1000 ✗ Use OData operators: eq, ne, gt, ge, lt, le (not =, <>, >…). ✗ Column “Estado Pedido” does not exist with that internal name in the real data — use “Estado_x0020_Pedido”. It looks like the display name (with spaces); filters use the internal name. With the wrong name the filter fails or returns 0 items with no warning.
Compared with the internal names returned by the action itself in the run.
import { test, expect } from '@playwright/test';
// Gerado pelo FlowLens a partir de uma gravação.
// Autenticação: corra primeiro auth.setup.ts (ver instruções no FlowLens) — o MFA não é automatizável.
test('Criar pedido e confirmar', async ({ page }) => {
await page.goto(process.env.APP_URL ?? 'https://apps.powerapps.com/play/e/<ambiente>/a/<app>');
const app = page.frameLocator('iframe[name="fullscreen-app-host"]');
await app.locator('[data-control-name="txtCliente"]').locator('input').waitFor({ timeout: 60_000 }); // a app canvas demora a carregar
await app.locator('[data-control-name="txtCliente"]').locator('input').fill('Contoso');
await app.locator('[data-control-name="txtValor"]').locator('input').fill('1500');
await app.locator('[data-control-name="btnSubmeter"]').click();
await expect(app.locator('[data-control-name="lblEstado"]')).toContainText('Enviado para aprovação');
});
Recorded in a canvas app — the recommended alternative since Test Engine was retired.
For app makers and for those who support the people using them — including model-driven apps in production.
From the .msapp or YAML code: variables and collections, delegation, unhandled errors, performance, accessibility with real contrast and secrets in formulas.
Slow requests and errors explained in plain language, a “my record does not show” warning and a one-click report — where Monitor cannot reach.
Record what you do in a canvas or model-driven app and run the test right there, with ✓/✗ per step — or export to Playwright and CI.
Every flow starts at 100 points. Each group of problems takes points off, with a cap per group, so one kind of problem doesn't hide the others.
| Group | Points per problem | Maximum |
|---|---|---|
| Security | critical −15 · high −8 · medium −3 · low −1 | −45 |
| Errors | −8 each | −40 |
| Warnings | −3 each | −20 |
| Suggestions | −0.5 each (rounded up) | −8 |
| Nesting | −3 per level above 4 | −12 |
| Size | over 120 actions −5 · over 300 actions −10 | −10 |
Example: 2 security alerts (high + medium = −11), 2 errors (−16), 1 warning (−3) and 4 suggestions (−2) give 100 − 32 = 68, grade C.
Security: secrets and passwords written in the flow, Bearer tokens and keys in the URL, unsecured inputs/outputs on actions with credentials, HTTP calls without TLS. Errors: what stops the flow from running (references to actions or variables that don't exist, invalid expressions). Warnings: what works but tends to fail in production (no error handling, unbounded loops, filters that return everything). Suggestions: good practice (default names, missing notes).
Click to enlarge. Screenshots show the Portuguese interface; the panel follows your browser language.














FlowLens has no servers. Everything is analysed in your browser.
pass•••••23.Yes. No accounts, no plans and no limits.
Yes. Analysis works in both; so do canvas navigation and highlights.
No. FlowLens sees what you see in the editor. Environment analysis uses your own Dataverse permissions.
Never. FlowLens only reads. Recipes and copied actions only get into the flow if you paste them in the designer.
Yes — flows inside and outside solutions, in any environment, including government clouds.
Yes. The panel follows your browser language (English or Portuguese) and you can choose in Settings → Language. Analysis messages are translated too. This site is also in Português.
No. It is only a visual layer in your browser: turn it off with one click (☾ / ☀ in the panel); nothing changes in your flows or account.
No. FlowLens is an independent project, not affiliated with or endorsed by Microsoft.
make.powerautomate.com (or reload with F5).