Scans for unsafe contexts, hardcoded IDs, and other issues to optimize your Flows.
Lightning Flow Scanner App integrates the Lightning Flow Scanner as a UMD module within Salesforce, enabling scanning of flow metadata. The app runs predefined rules and presents detailed scan results for flows, including violation details, severity levels, and relevant flow metadata.

- Assign the
LFSApp
permission set, to any user that requires access to the flow scanning abilities. - Open the App:
- Click on the App Launcher icon in the top-left corner of your Salesforce interface.
- Search for "Flow Scanner" in the App Launcher search bar.
- Click on the "Flow Scanner" app to open it.
- To scan a flow, click the "Scan" button in the Flow Overview.
- Clone this repository:
git clone https://github.com/Flow-Scanner/lightning-flow-scanner-app.git
- Authorize your Salesforce org to set up a connection with your local development environment:
sf login web --set-default --alias <YourOrgAlias>
- Push Source to Your Org:
sf project:deploy:start
- Pull Modifications from Your Org:
sf project sync
Want to help improve Lightning Flow Scanner? See our Contributing Guidelines.