Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Back Up Typebot Flows to GitHub

When run or on a schedule, it lists all Typebot flows, saves each to GitHub, and removes files for flows deleted in Typebot.

What it does

## Typebot Backup to GitHub This workflow will backup all instance typebots to GitHub and also deleted it if was deleted in your typebot workspace. The files are saved ID.json for the filename. ### Setup Open Globals node and update the values below 👇 - repo.owner: your Github username - repo.name: the name of your repository - typebot.url: default url or your self-hosted Typebot url - typebot.workspace.id: your Typebot workspace id If your username was john-doe and your repository was called n8n-backups: - repo.owner - john-doe - repo.name - n8n-backups For Typebot see its documentation The workflow calls itself using a subworkflow, to help reduce memory usage.

The steps

  1. On clicking 'execute'
  2. Execute Workflow Trigger
  3. List Typebots
  4. typebot
  5. Get Typebot
  6. Split Out
  7. Edit Fields
  8. Globals
  9. Schedule Trigger
  10. github
  11. List files
  12. Get file data
  13. Create new file
  14. Edit existing file

27 steps in total.

Similar automations