How to Build a Chatbot for Your Website Free
Published May 2026An AI chatbot on your website answers questions 24/7, captures leads, and reduces support tickets. Here are three ways to build one for free.
Option 1: n8n + OpenAI (Most Flexible)
Build a custom chatbot using n8n workflows. The frontend is a simple HTML widget. The backend runs on your VPS.
- Cost: $0 (self-hosted n8n + OpenAI API, ~$0.01/conversation)
- Pros: Full control, custom logic, connects to your database
- Cons: Requires technical setup
Option 2: Botpress (Best Free Platform)
Botpress is an open-source chatbot platform with a visual builder. The free self-hosted version has no message limits. Pre-built integrations for Slack, Messenger, and web.
- Cost: $0 (self-hosted)
- Pros: No-code builder, NLU engine, customizable
Option 3: Voiceflow (Best for Voice + Chat)
Voiceflow started as a voice app builder but now supports web chat. The free tier includes 1,000 interactions per month. Beautiful conversation design tools.
- Cost: Free (1,000 interactions/mo)
What Your Chatbot Should Do
- Answer FAQ (pricing, features, hours)
- Capture lead information (name, email, interest)
- Route complex questions to a human
- Book meetings via Calendly integration
- Recommend products based on user input
Adding Chatbot to Your Site
All platforms provide an embed script. Add it before the closing </body> tag:
<script src="https://cdn.botpress.cloud/webchat/v1/inject.js"></script>
Customize colors, avatar, and welcome message to match your brand.
Training Your Chatbot
- Upload your FAQ page as training data
- Add 50-100 example Q&A pairs
- Connect to your knowledge base or Notion wiki
- Review failed conversations weekly and retrain
A well-trained chatbot resolves 70% of support inquiries before a human is needed. That translates directly to saved wages.