AgentExchange

Help & Support

Elevate Your Agents with AgentExchange Solutions
Easily enhance Agentforce with pre-built AI solutions from AgentExchange. Browse, install, and deploy agents, actions, and apps directly into your environment. Tell Me More

Have Questions?

Lightning Flow Scanner

Scans for unsafe contexts, hardcoded IDs, and find common issues in Flows.

Overview

  • Detects hardcoded IDs and URLs to prevent org-specific and environment issues.

  • Finds unsafe running contexts to protect data visibility and enforce security.

  • Flags inefficient SOQL or DML loops that risk hitting Apex governor limits.

  • Identifies recursion risks in after-update Flows for safer, predictable automation.

  • Detects hardcoded secrets and credentials

  • Enforces Flow naming conventions and missing descriptions for documented, maintainable automation.

  • Highlights missing fault paths to help you handle errors.

  • Checks outdated API versions to maintain Flow compatibility and stability.

  • The same rules run in the Lightning Flow Scanner GitHub Action, Salesforce CLI plugin and VS Code extension. Can also be used for static code analysis in Salesforce DevOps pipelines and pull request reviews.

Lightning Flow Scanner is a Salesforce app for static analysis and optimization of Flows. It scans metadata for more than twenty quality and security issues to help teams maintain reliability and consistency in automation. The scanner detects problems such as hardcoded IDs, unsafe execution contexts, inefficient SOQL or DML operations, recursion risks, and missing fault handling, giving admins and developers practical insights to improve Flow performance. Built for Salesforce professionals who focus on precision and maintainability, Lightning Flow Scanner evaluates Flow structures against a set of best-practice rules. Each rule identifies potential issues, explains their cause, and suggests improvements. The tool helps avoid common automation errors such as exceeding Apex limits or poor naming conventions. Its modular configuration allows teams to adjust severity levels, define exceptions, and align checks with internal standards. Since 2021, Lightning Flow Scanner has supported Flow quality across open-source tools and now brings the same core engine into Salesforce. Running analysis directly in your org helps detect issues early and makes Flow quality easier for everyone.

Categories

Business Needs
IT & Administration
Admin & Developer Tools
Developer Tools
Personas
Administrator
Architect
Developer
Features
No Limits
This product's apps, tabs, and objects don't count against your Salesforce org limits. Learn More in Help
Lightning Ready
Optimized for Salesforce orgs that use Lightning Ready.
Managed Package
This product is installed in your Salesforce org as a managed package and receives automatic upgrades.
Lightning App Builder
Ready to use in the Salesforce Lightning App Builder.
No Limits
Lightning Ready
Managed Package
Lightning App Builder