Hey everyone! 👋
Apologies if this is documented somewhere - I've searched through the docs, GitHub, and previous Discord posts but couldn't find these technical details.
I'm working on automating complex multi-path forms with conditional logic and need to generate Typebot JSON programmatically instead of using the UI. I've got a local LLM/coding agent that I'm training to help build these flows, but I'm missing some key technical documentation.
What I'm looking for:
-
Complete JSON Schema - Is there official documentation on all valid block types, their properties, and required fields? The exported JSONs show the structure but not all possible options.
-
Block Type Reference - Specifically need:
- All available block types and their exact type strings
- Required vs optional properties for each block
- How conditional logic blocks evaluate expressions
- Webhook configuration parameters
-
Edge/Flow Logic - How do edges determine flow between groups? I see itemId references in conditions but unclear on:
- How to properly link conditional branches
- Multiple outgoing edges from single blocks
- Fallback/default path handling
-
Variable Operations - For Set Variable blocks:
- What expressions/functions are available?
- How to reference other variables in calculations?
- Client-side vs server-side execution differences?
-
Version Compatibility - Currently on v2.28.0 self-hosted. Are there version-specific JSON format differences I should account for?
Use Case: Building intake forms with 50+ conditional paths, complex calculations (overage fees, package recommendations), and webhook integrations. UI is great but need to generate variations programmatically.
Has anyone documented the complete JSON structure or built tools for programmatic typebot generation? Even unofficial docs or reverse-engineered schemas would be super helpful.
Sorry if I missed obvious documentation - searched for "JSON schema", "programmatic", "block types" etc. but mostly found UI tutorials.
Thanks! 🚀