Is there a way or a workaround anyone knows of to compare the differences between two versions of a flow? I'd love to be able to track those changes and compare differences at a glance.

I'll frequently save multiple versions of a flow as I make incremental changes over time, but sometimes I'll make big updates within the same version. If the intended changes don't work as expected and I have to revert back to a previous version of the flow, often this will be after it has been in production for a period of time - which can be difficult to go back and recall exactly which changes were made between each version.

Looking for a workaround, app, plug-in, extension, or even recommended best practice - essentially any insight that may help with this. All advice is appreciated. Thank you!!

2 Answers 2


Looks like you can retrieve Flow definitions via the Metadata API. For a Flow, the fullName field appears to be where you'd specify the version:

To deploy or retrieve a version, you can specify the version number. For example, sampleFlow-3 specifies version 3 of the flow whose unique name is sampleFlow. If you don’t specify a version number, the flow is the latest version.

Alertnatively, if you're more comfortable with the Salesforce CLI in VSCode, you can pull down Flows using package.xml. This question appears to have good answers - Shawn Kuruganti's in particular mentions retrieving specific versions.

Neither of these are graphical comparisons, but it might give you what you need to go forward.

If you want a graphical version, it seems you're out of luck, but you can vote on the idea in the Idea Exchange.

  • 2
    comparing flow versions in a non-graphical manner is mind-bending as there is so much XML that obfuscates the way the flow developer conceptualizes the flow.
    – cropredy
    Dec 21, 2021 at 5:17
  • 2
    @cropredy I understand that - hence my statement "Neither of these are graphical comparisons, but it might give you what you need to go forward" - but I don't believe there's a side-by-side method of comparison short of opening up flow versions in different windows in the browser. There's an idea in the Idea Exchange for it: ideas.salesforce.com/s/idea/a0B8W00000GdWKoUAN/… Dec 21, 2021 at 12:08
  • 1
    I didn't mean it as a criticism, more to emphasize your original answer.
    – cropredy
    Dec 21, 2021 at 14:45
  • 1
    @cropredy Ah, I see. My apologies for defensiveness. Dec 21, 2021 at 14:51

There is now a way to do this using the Unofficial SF Analyze Flows report functionality that allows for comparing two different versions of flows (new as of 1/18/23). The initial release includes several useful analysis modules and it provides the ability to select two versions of a flow. An output report provides two lines for each flow element and indicates that they are either the same or different and which ways they differ (see image below. Right now, it doesn’t have 100% coverage for all possible changes, but the Unofficial team hopes to expand functionality. Flow comparison report To use the Analyze Flows tool, install this package, and run the Analyze Flows flow. Select two versions of the same flow.https://unofficialsf.com/analyze-flows-compares-two-flow-versions-and-reports-on-the-differences/

  • Welcome to Salesforce SE! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference.
    – identigral
    Mar 9 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.