Visitors often leave a website because they have one small question and can't find the answer quickly. An AI chatbot can answer those questions instantly, day or night, and guide people to book a call or send an enquiry. Here is how to add one to a Webflow site the right way.
Tip: the purple chat button on this page is a live example. It runs on a free AI model and only answers from this website's information.
What an AI chatbot can do on a Webflow site
- Answer common questions about your services, pricing and process
- Recommend the right page, product or package
- Collect a visitor's name and email and send it to you or your CRM
- Share your booking link so people can schedule a call
- Answer in the visitor's own language
Option 1: Ready-made chatbot tools
Many chatbot platforms give you a script to paste into Webflow's custom code settings. They are quick to set up and often include a dashboard and analytics. The downsides are monthly fees that grow with usage, limited design control and your conversations living on a third-party service.
Option 2: A custom chatbot trained on your content
A custom chatbot uses an AI model such as OpenAI, Claude or an open model, together with a knowledge base built from your own pages, FAQs and documents. The chat window is designed to match your brand, and a small server function sits between your website and the AI so your API keys are never exposed in the browser.
The big advantage is control: you decide exactly what the assistant knows, what it should never say, how it hands over to a human and where leads go.
How it works, step by step
- Collect your content: services, prices, FAQs, policies and common questions.
- Write clear instructions for the AI: tone, length, what to do when it doesn't know, and topics to avoid.
- Set up a secure server function (for example a Cloudflare Worker) that talks to the AI model.
- Add a branded chat widget to Webflow with a small piece of custom code.
- Connect lead capture to email, Google Sheets or your CRM.
- Test with real questions, including tricky ones, before launch.
How much does it cost to run?
For a small business website, the AI usage cost is often low, and some providers offer free daily allowances that are enough for a portfolio or small company site. The main cost is the one-time setup: writing the knowledge base, designing the widget and testing. Always check the current pricing of the AI provider you choose.
Mistakes to avoid
- Putting an API key directly in your Webflow custom code, where anyone can copy it
- Letting the bot answer anything, which leads to made-up prices or promises
- No fallback when the AI service is down
- A widget that covers your main call-to-action button on mobile
- Never reviewing conversations to improve the answers
Privacy and trust
Tell visitors they are talking to an AI assistant, don't ask for sensitive personal data in the chat, and mention the chatbot in your privacy policy. A good assistant is honest about what it doesn't know and makes it easy to reach a real person.
I build custom AI chatbots for Webflow, trained on your content and designed to match your brand.
