Lightning Flow Scanner is an open source project that scans Salesforce flows against more than 20 community rules for security, performance and best practices. The same rule engine runs in four places: a Salesforce app from AgentExchange, an sf CLI plugin, a VS Code extension and a GitHub Action. It is free and is not a Salesforce product.
Source on GitHubAgentExchange listingDocumentationCLI plugin on npm
Price
Free
Type
Org package
Source code
Open source (MIT)
Made by
Flow-Scanner (community)
What Flow Scanner does
- Scans flow metadata against 20+ community rules for security, performance and best practices.
- CLI
sf flow:scanwith SARIF and CSV output, andsf flow:fixfor the rules that can be fixed automatically. - Rules are configured in a
.flow-scanner.ymlor.flow-scanner.jsonfile. - The GitHub Action runs the scan on pull requests.
- The org app scans the flows of the org it is installed in.
- The same library is built into Salesforce Inspector Reloaded and Org Check, according to the project README.
When it helps, and when it does not
Reach for it when
Your org has many flows built by many people and you want a consistent check: missing fault paths, DML or SOQL inside loops, hardcoded IDs and similar issues, before they reach production.
Look elsewhere when
You want a tool with zero setup inside the org. The org app needs an External Client App and a certificate before its first scan. The CLI plugin and the VS Code extension avoid that.
The full fact sheet
record: Applast checked
- Type
- Managed package, sf CLI plugin, VS Code extension and GitHub Action, all built on one core library source
- Price
- Free. The listing says it never requires payment. source
- Made by
- The Flow-Scanner open source project. Not a Salesforce product. source
- Open source
- Yes. The main repository and the npm packages are MIT licensed. GitHub reports the separate repository of the org app as AGPL-3.0. source
- Where your data goes
- Security statement: "This tool collects zero user data." It says all analysis runs client-side with no network calls to external services. source
- Setup for the org app
- After install an admin sets up an External Client App with the JWT Bearer Flow and a certificate, then assigns the Flow Scanner permission set source
- Editions
- Professional, Enterprise, Unlimited, Developer and Essentials source
- Latest version
- Org app 3.6.0 on the listing, dated August 30, 2026. CLI plugin 6.20.0 on npm, dated November 4, 2026. source
Alternatives and related tools
Org Check
Org package
A Salesforce Labs app that reads the metadata of your org and shows where the technical debt is.
Salesforce Code Analyzer
Command line
One command that runs several static analysis engines over Apex, Lightning components and Flows.
UnofficialSF
Component library
A community catalogue of installable Flow screen components and actions, with the source code on GitHub.
All of them side by side: Free tools for Salesforce Flow.
Frequently asked questions
Is Lightning Flow Scanner free?
Yes. The AgentExchange listing says it never requires payment, and the project is open source.
How do I run Lightning Flow Scanner from the command line?
Install the plugin with sf plugins install lightning-flow-scanner, then run sf flow:scan in a project that contains flow metadata.
Is Lightning Flow Scanner an official Salesforce product?
No. It is a community open source project under the Flow-Scanner organisation on GitHub.
Does it send my flows anywhere?
The project states that it collects zero user data and that all analysis runs client-side, with no network calls to external services.
Which is better for flows, Flow Scanner or Salesforce Code Analyzer?
They overlap. Salesforce Code Analyzer includes a flow engine next to its Apex and JavaScript engines and is the tool required for the AgentExchange security review. Flow Scanner is focused on flows only and also runs inside the org for admins who do not use the command line.
Sources
Every fact on this page comes from the tool's own pages, read on . Show the 5 pages.
Facts checked against each tool's own pages on November 24, 2026. No tool paid to be listed and there are no affiliate links. Logos belong to their owners and are shown only to identify each tool. Spotted something out of date? info@sfupdates.com.