Skip to main content

Track n8n workflow changes over time with compare dataset & Google Sheets

Workflow preview

Workflow preview
100%
Track n8n workflow changes over time with compare dataset & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n template runs daily to track and report on any changes made to workflows on any n8n instance. Useful if a team is working within a single instance and you want to be notified of what workf...

Best for

  • Engineering automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.if, n8n-nodes-base.comparedatasets, n8n-nodes-base.set, n8n-nodes-base.splitinbatches, n8n-nodes-base.aggregate, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jimleuk.

Original n8n.io source

1.1 Workflow description

Title
Track n8n workflow changes over time with compare dataset & Google Sheets
Workflow name
Track n8n workflow changes over time with compare dataset & Google Sheets

This n8n template runs daily to track and report on any changes made to workflows on any n8n instance.

Useful if a team is working within a single instance and you want to be notified of what workflows have changed since you last visited them. Another use-case might be monitoring your managed instances for clients and being alerted when changes are made without your knowledge.

See a sample Gsheet here: https://docs.google.com/spreadsheets/d/1dOHSfeE0W_qPyEWj5Zz0JBJm8Vrf_cWp-02OBrA_ZYc/edit?usp=sharing

How it works

  • A scheduled trigger is set to run once a day to review all available workflows.
  • An n8n node imports the workflows as json.
  • The workflows are brought into a loop where each is first checked to see if it exists in the designated google sheet.
  • If not, a new entry is created and skipped.
  • If the workflow has been captured before, then the comparison subworkflow can be executed using the previous and current versions of the workflow json data.
  • The subworkflow uses the compare dataset tool to calculate the changes to nodes and connections for the given workflow.
  • The results are then recorded back to the google sheet for review.

How to use

  • Start with the n8n node and try to filter by the workflows you're interested in tracking.
  • Set the scheduled trigger interval to match the frequency to suit how often your workflows are being edited.

Customising the workflow

  • Want to get fancy? Add in an AI agent to help determine changes between the previous and current versions of the workflow. Add contextual explanations to reveal the impact of the changes.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Get Row

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 3 - Row Exists?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Create New Entry

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

Block 5 - Compare Datasets

Type / Role
n8n-nodes-base.compareDatasets - compareDatasets
Config choices
Version 2.3

Block 6 - Current State

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Previous State

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 8 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 9 - Added Nodes

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 10 - Same Nodes

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 11 - Different Nodes

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 12 - Removed Nodes

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 13 - Report Nodes

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 14 - Compare Datasets1

Type / Role
n8n-nodes-base.compareDatasets - compareDatasets
Config choices
Version 2.3

Block 15 - Added Connections

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 16 - Same Connections

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 17 - Different Connections

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 18 - Removed Connections

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 19 - Report Connections

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 20 - Merge Nodes Diff

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 21 - Merge Connections Diff

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 22 - Merge Reports

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 23 - Has UpdatedAt Changed?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 24 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Showing the first 24 of 43 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Track n8n workflow changes over time with compare dataset & Google Sheets
Complexity advanced
Nodes 43
Categories Engineering
Author Jimleuk
Published 17 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5013/5013.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Track n8n workflow changes over time with compare dataset & Google Sheets do?

This n8n template runs daily to track and report on any changes made to workflows on any n8n instance. Useful if a team is working within a single instance and you want to be notified of what workf...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.