Workflow to save the workflows to git?

Hi,

I have a bunch of time lost modifications because bad manipulations or something, or having workflows with multiple persons changing and making a mess.

Is there a way to see the history of changes on n8n? assuming no, I would like to:

  • save all workflows as separate files
  • put them into git
  • everytime the workflow is saved, it’s a new commit

so basically creating a n8n workflow saving to git that is triggered by a n8n event. so meta.

does it exist already? I see there is a N8N trigger, but the only event that is available is when the instance starts?

1 Like

Hi @xavier

Hope you’re doing great.

Can you try this workflow? This might help.

You can change the cron trigger to your time of choice.

4 Likes

Good old 817, that is the same one I use and it works really well :+1:

3 Likes

Yes bro. Looks like so many using it. :tada:

2 Likes