DevScope Integration Toolkit: Workflow Diff for Logic Apps

  • Sandro Pereira
  • Dec 1, 2026
  • 7 min read

Comparing two files is easy. Comparing two Azure Logic Apps workflow definitions or two versions of a workflow is another story.

Of course, a Logic App workflow is ultimately represented as JSON. We can open two workflow definitions in Visual Studio Code, Git, WinMerge, Beyond Compare, or any other diff tool and compare them line by line.

Technically, that works.

But when I am reviewing a Logic App, I don’t really care about that:

Line 127 exists on the right but not on the left.

What I actually want to know is:

What changed in my workflow?

But in more detail:

  • Was an action added?
  • Was another action removed?
  • Did someone modify a condition?
  • Did the workflow structure change?
  • What was the shape/action?
  • Was a new step introduced inside the True branch of a condition?

And, more importantly:

Where is that change in the workflow?

That is the problem we wanted to solve with the DevScope Integration Toolkit: Workflow Diff.

📝 One-Minute Brief

Comparing Logic Apps workflow definitions with traditional diff tools shows JSON changes, but it doesn’t always explain what changed in the workflow itself. The DevScope Integration Toolkit: Workflow Diff compares two Logic Apps definitions and presents added, removed, modified, and unchanged actions directly in a visual workflow layout, making reviews and troubleshooting much easier.

Traditional diff tools are excellent… for files

I’ve been using file comparison tools for years. Tools such as:

  • WinMerge (one of my favorites);
  • Beyond Compare;
  • Git diff;
  • and so on.

are extremely useful.

If I have two versions of a text, XML, JSON, configuration file, or source code file, they can immediately show me what changed.

Logic Apps workflow definitions are JSON files. So problem solved, right?

Well… not exactly.

Imagine two workflow definitions containing hundreds or even thousands of lines of JSON.

A traditional comparison may tell us:

- "Update_inventory": {
-     "type": "Http",
...

and somewhere else:

+ "Reserve_stock": {
+     "type": "Http",
...

That information is correct. But now I need to mentally translate those JSON differences back into something that looks like my Logic App.

And that becomes increasingly difficult as the workflow grows.

JSON isn’t how we think about a Logic App

This is the fundamental problem. When developing a Logic App, we normally think visually.

We think:

Trigger
   ↓
Validate order
   ↓
Check order value
   ↓
Condition
  ↙     ↘
True   False

We think about actions, conditions, scopes, loops, branches, and execution paths. We don’t normally think:

There is a change at line 382 inside definition.actions.Check_order_value.actions.

That JSON is critical because it defines the workflow. But it isn’t necessarily the best representation for understanding how the workflow changed.

And that is where a workflow-aware comparison becomes much more useful.

Introducing Workflow Diff

The Workflow Diff capability in the DevScope Integration Toolkit provides a comparison experience specifically designed for Logic Apps workflows. The concept is familiar.

Provide two definitions:

  • Old Definition
  • And a New Definition

Then select: Compare

Workflow Diff

But instead of stopping with a traditional text diff, the tool understands the workflow definition and creates a visual comparison of the Logic App.

Actions can then be classified as:

  • Unchanged
  • Added
  • Removed
  • Modified

Suddenly, instead of interpreting only a wall of JSON, we can look at the workflow visually and understand where the actual changes occurred.

Changes

A normal JSON diff will absolutely detect those modifications. But a visual workflow diff immediately shows where those changes sit in the execution flow.

That makes a massive difference in understanding the impact of the change.

Compare the original definitions

That doesn’t mean the JSON disappears. Quite the opposite. The source workflow definitions are still important.

For example, we may have an existing workflow:

{
  "definition": {
    "triggers": {
      "When_a_new_order_is_created": {
        "type": "Request",
        "kind": "Http"
      }
    },
    "actions": {
      ...
    }
  }
}

And another version containing modifications.

The Workflow Diff allows us to load those two definitions side by side. This gives developers the traditional comparison starting point:

  • Old Definition vs. New Definition

But now we can go further:

  • Added actions:
    • Instead of searching through the JSON to understand where the new action belongs, we can immediately see it in the workflow.
    • This gives us context.
  • Removed actions: The same applies to removed actions.
    • A source-code diff tells us that a block of JSON disappeared.
    • Workflow Diff tells us that an action disappeared from the workflow and shows where that action previously existed.
  • Modified actions:
    • Modified actions can be even more interesting.
      • The action still exists.
      • Its position in the workflow may look exactly the same.
      • But something inside the action has changed, like a header or a condition.
    • Visually flagging the action as Modified immediately tells the reviewer that the action structure is still similar, but something inside this action has changed.
    • The tool will also tell you what exactly was changed.

Old Definition Design and New Definition Design

Sometimes the comparison is enough. Other times, however, we want to inspect each workflow independently.

That is why being able to switch between:

  • Comparison
  • Old Definition Design
  • New Definition Design

is valuable.

Old definition

The comparison tells us what changed. The individual designs help us understand what the workflow looked like before and after the change.

That combination makes the tool useful not only for identifying differences, but also for understanding the evolution of the workflow.

Perfect for code reviews

One scenario where I see Workflow Diff becoming particularly useful is during code reviews. Imagine receiving a pull request containing changes to a large Logic App Standard workflow.

Git may tell us:

workflow.json
+87
-43

Fine.

Now I need to understand those 130 lines of changes. Some may simply result from an action being moved or reconfigured. Others may represent an important change in business logic.

Looking only at JSON means that the reviewer must reconstruct the workflow mentally. With Workflow Diff, we can instead ask:

What actions changed?

Which actions were introduced?

Which ones disappeared?

Where in the execution path did the modification occur?

Then, when necessary, we can drill into the actual definition. That is a much more natural way to review integration changes.

Troubleshooting between environments

Another interesting scenario is troubleshooting. Imagine that a workflow behaves correctly in one environment but differently in another.

At first glance, both Logic Apps look identical. Are they really?

We may need to compare two workflow definitions and determine whether something changed.

  • A configuration value?
  • An expression?
  • An action?
  • A condition?
  • An entire processing step?

Workflow Diff gives us a quick way to understand those differences without manually navigating through both workflows action by action.

Not another generic diff tool

This is probably the most important distinction. There are already excellent generic comparison tools. I’m certainly not trying to rebuild WinMerge inside Visual Studio Code.

The important difference is that Workflow Diff understands that the documents being compared are Logic Apps workflow definitions.

A generic diff tool sees:

JSON
vs.
JSON

Workflow Diff sees:

Logic App
vs.
Logic App

That allows the comparison to move beyond lines of text and into:

  • Triggers;
  • Actions;
  • Conditions;
  • Branches;
  • Workflow structure;
  • Added actions;
  • Removed actions;
  • Modified actions;
  • Unchanged actions.

And that’s precisely where the value is.

A diff designed for Logic Apps developers

Logic Apps developers already have excellent source-control and comparison tools. We don’t need another generic JSON diff.

What we need is a tool that understands the thing we’re actually building.

With DevScope Integration Toolkit: Workflow Diff, we can compare the old and new workflow definitions while also viewing those differences through a visual representation of the Logic App.

That makes it easier to:

  • Review changes;
  • Understand modified workflow logic;
  • Identify new actions;
  • Detect removed actions;
  • Investigate modified actions;
  • Compare workflow designs;
  • Troubleshoot differences between versions;
  • Understand changes before or after deployments.

Sometimes source code is the best representation of a change.

But when the source code represents a visual workflow, sometimes the clearest diff is also a visual one.

And that’s exactly what Workflow Diff brings to Visual Studio Code.

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars LEGO set for my son.

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top