Unused Resources Finder

Overview

Unused Resources Finder scans the currently open Salesforce Flow and identifies user-authored resources — such as variables, formulas, and text templates — that are defined in the flow but not referenced anywhere within it. These are candidates for clean-up to reduce clutter and improve flow maintainability.

Where it appears

Unused Resources Finder is accessible from the toolkit side button menu when a Flow is open in Salesforce Flow Builder.

What the feature does

When activated, the feature:

  1. Opens the Manager tab in Flow Builder (to ensure resources are loaded).
  2. Retrieves the current flow’s metadata via the Salesforce Tooling API.
  3. Scans all resource definitions and all element references throughout the flow.
  4. Identifies resources that are not referenced by any element or other resource.
  5. Displays the findings in a modal, grouped by resource type.
  6. Injects warning indicators (⚠) on unused resources in the Manager tab toolbox.

Supported resource types

The scanner checks the following resource types, which correspond to standalone Manager-tab resources:

Element-derived items (such as Get Records output variables or loop iteration variables) are not in scope — they live on their parent elements and are excluded automatically.

The report modal

The modal shows:

If there are no unused resources, the modal displays a confirmation message.

Manager tab indicators

After the scan completes, unused resources are highlighted in the Flow Builder Manager tab toolbox with a ⚠ indicator. These indicators are cleared when the modal is closed or when the feature is re-run.

Notes and limitations