Flowise icon indicating copy to clipboard operation
Flowise copied to clipboard

[FEATURE] Preload/Restore Chatflows, Agents and Tools from github/zip

Open LuisFX opened this issue 11 months ago • 4 comments

Preload/Restore Chatflows, Agents and Tools from github/zip

Linking Flowise to a DB is very useful indeed. Yet, when setting up new or reconstituting an environment from scratch for development or to simply use as a sandbox, it would be useful if all flows and tools could be loaded from an alternative source.

In addition to postgres, when making changes to flows/tools, we usually save each revision to github (to mantain feature parity with our release cycle).

Sometimes we want to keep alternative instances of flowise for a multitude of reasons. Being able to reconstitute a fully functioning 'standalone' flowise instance is extremely useful (when we're developing on the move, etc).

It would be a nice feature if we can rebuild said instance from either a zip file or even from a github repo. Maybe with a convention folder structure, eg:

flowise/
   chatflows/*.json
   agents/*.json
   tools/*.json

LuisFX avatar Jan 03 '25 22:01 LuisFX

This would be a good feature indeed. Would make backup easier as well, as the - in my case - Docker containers wouldn't have to be stopped.

Apart from that, excellent word, Henry!!! Keep it up <3

phish77 avatar Jan 22 '25 07:01 phish77

Agreed, this would be a very useful feature

iaminawe avatar Jan 24 '25 06:01 iaminawe

I think it would be neat to have Flowise use say GitHub as data source for Chatflows, Agents and Tools. It is kind of easy to accidentally break stuff in Flowise, so it would be neat to have a way to see what you did that broke things. So having a repository that Flowise uses as database, would then be awesome.

wallymathieu avatar Apr 02 '25 07:04 wallymathieu

I definitely use git to version my flows!! It's very important, like @wallymathieu said to maintain version control of changes overtime... it's just a bit 'cumbersome' how I go about it. I export to my git repo folder. I commit with a message and then push.

If I want to revert to a previous commit, I have to switch my branch to the desired commit, the from flowise 'load flow' from that folder. It's just messy and error prone.

In the ideal workflow:

  • Link flowise to my repo
  • Editing my flow
  • Right from the interface commit and push with my commit message 🔥

LuisFX avatar May 08 '25 07:05 LuisFX