Back to Templates

Automatic Typebot Flows Two-Way Sync with GitHub using Typebot API

Created by

Created by: Marcial Ambriz || marskdev

Marcial Ambriz

Last update

Last update 17 hours ago

Categories

Share


Remixed Backup your workflows to GitHub from Solomon's work. Check out his templates.

How it works

This workflow will backup your typebots to GitHub. It uses the Typebot API to export all typebots.

It then loops over the data, checks in GitHub to see if a file exists that uses the credential's ID. Once checked it will:

  • update the file on GitHub if it exists;
  • create a new file if it doesn't exist;
  • ignore if it's the same.

In addition, it also checks if any flow have been deleted from typebot workspace. If a flow no longer exists in workspace, the corresponding file will be removed from the repository to keep everything in sync.

Who is this for?

People wanting to backup their typebots(flows) outside the server for safety purposes or to migrate to another server.