Typebot — Visual AI Chatbot Builder You Can Self-Host
Build advanced chatbots visually with 34+ blocks. Embed anywhere, collect results in real-time. OpenAI integration, custom themes, analytics. Self-hostable. 9,800+ stars.
What it is
Typebot is an open-source visual chatbot builder that lets you create advanced conversational flows using a drag-and-drop interface. It offers 34+ block types for text input, buttons, conditions, API calls, OpenAI integration, payment collection, and more. You embed the chatbot anywhere on your website and collect results in real-time.
Typebot targets marketers, product teams, and developers who need conversational forms, lead capture bots, or AI-powered customer interactions without writing code. It can be self-hosted for full data ownership or used via the hosted service.
Why it saves time or tokens
Building a chatbot from scratch requires handling conversation state, branching logic, UI rendering, and backend storage. Typebot provides all of this visually. The OpenAI integration lets you add AI responses at specific points in the flow without building a full AI backend. For teams already using AI assistants, Typebot provides a user-facing interface that the AI can power behind the scenes.
How to use
- Self-host Typebot with Docker or use the hosted service at typebot.io
- Create a new bot and design the conversation flow using the visual editor
- Embed the bot on your website using the provided script tag or React component
Example
<!-- Embed Typebot on any website -->
<script type='module'>
import Typebot from 'https://cdn.jsdelivr.net/npm/@typebot.io/js@0.3/dist/web.js'
Typebot.initBubble({
typebot: 'my-chatbot-id',
theme: {
button: { backgroundColor: '#0042DA' },
chatWindow: { backgroundColor: '#fff' }
}
})
</script>
| Block Type | Purpose |
|---|---|
| Text input | Collect user responses |
| Buttons | Multiple choice selection |
| Condition | Branch logic based on answers |
| OpenAI | AI-generated responses |
| Webhook | Send data to external APIs |
| Payment | Stripe payment collection |
Related on TokRepo
- AI tools for no-code — no-code AI tools and builders on TokRepo
- AI tools for automation — workflow automation and chatbot tools
Common pitfalls
- Self-hosting requires PostgreSQL and proper environment configuration; the Docker compose file handles this but read the docs before deploying
- OpenAI blocks consume API credits per conversation turn; set token limits and monitor usage to control costs
- Complex branching logic with many conditions becomes hard to maintain visually; break large bots into sub-bots for clarity
Frequently Asked Questions
Yes. Typebot is fully open source and self-hostable using Docker. You need PostgreSQL for data storage and optionally S3-compatible storage for file uploads. The official Docker compose file includes all required services. Self-hosting gives you full control over data and no per-response charges.
Yes. Typebot has a built-in OpenAI block that sends conversation context to OpenAI's API and returns the AI response within the chat flow. You configure the model, system prompt, and token limits per block. This lets you mix scripted flows with AI-generated responses.
Typebot provides multiple embed options: a JavaScript snippet for any website, a React component for React apps, a WordPress plugin, and iframe embedding. The bubble embed shows a chat icon in the corner. The standard embed places the chatbot inline on the page.
Yes. Typebot has a Stripe payment block that collects payments within the chat flow. You configure the amount, currency, and Stripe API keys. The payment block handles the checkout process and returns the payment status to the conversation flow.
Typebot provides conversation completion rates, drop-off points, response data export, and per-block analytics. You can see where users abandon the conversation and optimize those blocks. Results can be exported to Google Sheets, webhooks, or your own database for further analysis.
Citations (3)
- Typebot GitHub— Typebot is an open-source chatbot builder with 34+ blocks
- Typebot Docs— Typebot supports OpenAI integration for AI responses
- Stripe Docs— Stripe payment integration for online transactions
Related on TokRepo
Source & Thanks
Created by Baptiste Arno. Licensed under FSL.
typebot.io — ⭐ 9,800+
Thanks to Baptiste Arno for building an accessible chatbot builder for everyone.
Discussion
Related Assets
Conda — Cross-Platform Package and Environment Manager
Install, update, and manage packages and isolated environments for Python, R, C/C++, and hundreds of other languages from a single tool.
Sphinx — Python Documentation Generator
Generate professional documentation from reStructuredText and Markdown with cross-references, API autodoc, and multiple output formats.
Neutralinojs — Lightweight Cross-Platform Desktop Apps
Build desktop applications with HTML, CSS, and JavaScript using a tiny native runtime instead of bundling Chromium.