You are helping me build the following AI agent workflow. ## Goal Typebot Workflow Backup To GitHub: Syncs Typebot workflows to a GitHub repository by creating, updating, or deleting files to match the current workspace state. ## Specification - What it does: Keep your Typebot workflows safely backed up by syncing them directly to a GitHub repository. You can automatically export all your flows, update existing files, create new ones for missing flows, and remove deleted files to ensure everything stays perfectly in sync without manual effort. - Trigger: Run manually (Manual ยท on demand) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - Typebot API: Exporting workflow data - GitHub: Storing and syncing backup files - HTTP Request: Communicating with external APIs - Code: Processing logic and file checks ## Known pitfalls, handle each one explicitly in your implementation 1. Workflow IDs may change if workflows are recreated, so use a unique identifier like the workflow name or a custom metadata field to track files instead of relying solely on transient IDs. 2. Secrets stored within Typebot flows might be exposed in plain text when exported, add a sanitization step to redact sensitive variables before committing to the repository. ## Reference implementation https://n8n.io/workflows/5899 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/typebot-workflow-backup-to-github/ via usecasesforagents.com