Automated Typebot Backup to GitHub and Syncing

somdn_product_page

This n8n workflow automates the process of backing up your Typebot instances to a GitHub repository and keeping them synchronized. The workflow starts with a manual trigger or scheduled run, then fetches a list of Typebots from your Typebot workspace using API requests. It compares each Typebot’s current state with existing files in your GitHub repo, determining if they are new, modified, or deleted.

The workflow includes steps to fetch existing GitHub files, compare JSON data to detect differences, and update or remove files accordingly. It handles creating new backups, updating existing ones, and deleting files that no longer exist in the Typebot workspace. The process is designed to be efficient by using a subworkflow call to reduce memory footprint, and it can be triggered automatically at scheduled times or manually as needed.

Practical use cases include maintaining version control of chatbot workflows, automating backups for disaster recovery, and ensuring that the online workspace is always synchronized with local or team repositories. This workflow provides a robust solution for managing Typebot backups in a structured and automated manner.

Node Count

>20 Nodes

Nodes Used

code, executeWorkflow, executeWorkflowTrigger, github, httpRequest, if, manualTrigger, merge, noOp, scheduleTrigger, set, splitInBatches, splitOut, stickyNote, switch

Reviews

There are no reviews yet.

Be the first to review “Automated Typebot Backup to GitHub and Syncing”

Your email address will not be published. Required fields are marked *