Track n8n Workflow Changes Over Time with Compare Dataset & Google Sheets - n8n Workflow | Neura Market
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](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.
Platform
n8n
Category
Business Operations & ERPs
Price
Free
Creator
Jimleuk
if
n8n
set
wait
merge
switch
splitOut
aggregate
stickyNote
googleSheets
How to import this workflow into n8n
1Purchase or download the workflow to get the n8n workflow JSON file.
2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
3Open each node marked with a credential warning and connect your own accounts and API keys.
4Run the workflow once manually to verify the data flow, then toggle it to Active.