Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Salesforce Flow CompareNew to Visual Studio Code? Get it now.
Salesforce Flow Compare

Salesforce Flow Compare

SimonAu

|
3 installs
| (0) | Free
Visual diff for Salesforce Flow metadata — see what actually changed in a flow, rendered like Flow Builder instead of raw XML
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Salesforce Flow Compare

Stop reading raw XML diffs in pull requests. See exactly what changed in a Salesforce Flow, rendered as an interactive diagram — just like Flow Builder.

Quick Start

The extension works directly from Source Control or the Explorer — no setup needed.

From Source Control (most common):

  1. Open the Source Control panel (Ctrl+Shift+G)
  2. Right-click any .flow-meta.xml file in the changed files list
  3. Select Flow Compare: Compare Working Tree with HEAD

From Explorer:

  1. Right-click any .flow-meta.xml file
  2. Select Flow Compare: Compare with Git Revision…

A visual diff panel will open showing added elements in green, modified in orange, and deleted in red.

Features

  • Visual diff — see the flow as a diagram, not XML. Added elements are green, modified are orange, deleted are red (dashed outline).
  • Property-level diff — click any element to see a side-by-side table of exactly which fields changed. Coordinate noise (locationX/locationY) is filtered out automatically.
  • Git integration — compare against any commit, branch, or HEAD without leaving VS Code.
  • Change list sidebar — every changed element, variable, formula, and constant listed in one panel. Click to jump to it on the diagram.
  • "Only changes" filter — hide unchanged elements and focus on what matters.
  • 100% local — no network calls, no telemetry, no Salesforce org credentials required. Your metadata never leaves your machine.

All Commands

Command How to use
Compare Working Tree with HEAD Right-click a flow in Source Control
Compare with Git Revision… Right-click a flow in Explorer → pick a commit
Compare with Branch… Right-click a flow in Explorer → pick a branch
Compare Two Flow Files… Command Palette → pick any two .flow-meta.xml files
Compare Selected Files Select exactly two flow files in Explorer → right-click

Requirements

  • VS Code 1.90 or later
  • A Git repository containing Salesforce Flow metadata files (*.flow-meta.xml)

How It Works

The extension reads both versions of the flow XML from Git, parses them into element graphs, and diffs them by element API name. The result is rendered in a webview using React Flow. Layout uses the coordinates Salesforce stores in the metadata, so the diagram matches what you see in Flow Builder.

Privacy & Security

  • No network access — the webview runs with a strict Content Security Policy (default-src 'none').
  • Reads only the files you open, plus git show for historical versions.
  • No telemetry or analytics of any kind.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft