N8n switches my workflow to an older version w/o me doing anything - bug?

Describe the problem/error/question

My workflow keeps getting switched to an older one which makes me lose my progress. Must be a bug.

What is the error message (if any)?

Please share your workflow

My workflow:


The one it keeps getting switched to (less developed):

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.89.2
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via desktop app
  • Operating system macOS 15.4

Please wrap your workflow code in a code block instead so it renders on this page

Thanks, done it now

I’m starting with an assumption that you are the only person who has access to the instance of n8n, and it’s not just someone else who thinks they’re editing a different workflow, but is actually editing the same one you are.

I noticed this happening before and found the same workflow open in one of my dozens of open browser windows. As far as I know, the n8n editor doesn’t auto-save, but somehow closing all but one window/tab for the n8n editor, clearing cache, and restarting the browser made the old version stop showing up.

If you don’t find duplicate browsers with the same workflow open, and/or the old one keeps showing up after you restart/clear the browser(s), you could also poke around in the n8n database (at your own risk) and see if there might be duplicate records for the same workflow. This seems unlikely since there is a primary key index on the id column (at least if the db is postgres… pk_workflow_entity_id), but still may be worth a look to see if you can spot what’s going on.

3 Likes

I agree with these comments. Either another user on the same login is overriding your progress, or perhaps you have multiple tabs open of the same workflow.

1 Like

Thank you, will try clearing cache

I agree with the above comments. There are cases where N8N opens a workflow in a new tab in the browser. If you make changes to a workflow in the new tab but the previous tab has the same workflow open, this can happen.
There’s no need to clear cache, just close the previous tab.

Unfortunately the issue remains even after closing tabs etc. It takes it back to a version of the workflow that is more than a week old. I have filed a bug ticket

We have the same issue. This has been happening for about a week. All of our changes are reverting back the next day. Self Hosted. Version 1.68.1.
Only 1 user. Main changes are GPT Model 4.1 reverts back to 4o. Renamed Nodes revert back to Node1, Node2. etc. Some new updates have been erased over a few days. This is a new issue. We have been using n8n for at least 6 months.

1 Like

Did you ever get a resolution here? We are still having the same issue

Hi. No specific solution yet, however I don’t experience the problem anymore.

Only thing I did was to make sure that I had n8n open on only one tab, and clear cache (which apparently makes no difference).

Hope you find a solution soon