How to Add an AI Chatbot to Webflow
Step-by-step: add an AI chatbot to your Webflow site with custom code embed. Works on any Webflow plan that supports custom code — including the free plan with a workaround.
Webflow lets you design anything — except a good FAQ experience
Webflow is incredible for building pixel-perfect sites without writing code. Animations, CMS collections, responsive layouts — all drag-and-drop. Beautiful.
But when a visitor needs to ask a question that isn't covered by your carefully curated copy? They hit a contact form and wait. In a world where people abandon checkout flows if they take more than 12 seconds, "we'll get back to you in 24 hours" might as well be "goodbye."
An AI chatbot fills that gap. It reads your content and answers questions in real time. And adding one to Webflow is surprisingly straightforward — no Webflow Logic or third-party app needed.
What you'll need
- A Webflow site (works on all plans — details below)
- A free Factfu account
- 5 minutes
Step 1: Create your chatbot
- Sign up at factfu.com/signup
- Click Create Bot
- Add your content sources:
- Website URL — enter your Webflow site's URL. The bot crawls your published pages and CMS collection items.
- Text/FAQ — paste frequently asked questions directly
- Documents — upload PDFs, guides, or other materials
Webflow CMS pages are fully crawlable, so if you have a blog, resource library, or product catalog built with CMS collections, the bot will pick all of that up automatically.
Step 2: Get the embed code
In your Factfu dashboard, go to Settings → Widget and copy the code:
<script
src="https://factfu.com/v0/widget.loader.js"
data-widget-key="pk_your_key_here"
defer>
</script>
Step 3: Add it to Webflow
You have two options depending on your Webflow plan:
Option A: Site-wide Custom Code (Any paid plan)
The cleanest approach:
- Open your Webflow project
- Go to Project Settings → Custom Code
- In the Footer Code section, paste the embed code
- Click Save Changes
- Publish your site
The chatbot will appear on every page. Done.
Option B: Embed element (Works on all plans, including free)
If you're on the free Webflow plan or want the chatbot on specific pages only:
- Open the Webflow Designer
- Navigate to the page where you want the chatbot
- From the Add panel (+), drag an Embed element onto the page (find it under Components → Embed)
- Paste the script tag into the embed code editor
- Click Save & Close
- Publish your site
Place the Embed element at the bottom of your page — it won't be visible on the canvas (the widget renders as a floating overlay), but keeping it at the bottom is tidier.
Option C: Use the Body section in page settings
For per-page custom code on paid plans:
- Select a page in the Pages panel
- Open the Page Settings (gear icon)
- Scroll to Custom Code → Before