Automatic Typebot flows two-way sync with GitHub using Typebot API
Ready for 3.0What this workflow does
This workflow has 27 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects GitHub.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Globals (Edit Fields (Set)): sets 4 fields: typebot.url, typebot.workspace.id, repo.owner…
- Switch: routes items into 2 branches
- List Typebots (HTTP Request): calls an HTTP API
- Get Typebot (HTTP Request): calls an HTTP API
- isDeleted (Code): runs custom JavaScript code
- List files (GitHub): list (file)
- Split Out: splits a list into separate items
- Get file data (GitHub): get (file)
- Edit Fields (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
…plus 11 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- Manual Trigger
n8n-nodes-base.manualTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Schedule Trigger
n8n-nodes-base.scheduleTrigger - GitHub
n8n-nodes-base.github - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - No Operation, do nothing
n8n-nodes-base.noOp - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
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…