Skip to content

How to Add an AI Chatbot to Webflow: Footer Code in 6 Steps, Plus the Plan You Need

Add an AI chatbot to Webflow in Site settings → Custom code → Footer code, then publish. Which plan unlocks custom code, and why the canvas won't show it.

By Jahidul Hossain Mekat11 min read

On this page

To add an AI chatbot to Webflow, open Site settings, go to the Custom code tab, paste the chatbot’s script into Footer code, save, and publish the site. Footer code runs on every page, just before the closing body tag. Two things catch people out: custom code needs a paid Site plan or a paid Workspace, and it only runs on the published site, never in the Designer canvas.

Which Webflow plan do you need for a chatbot?

Custom code isn’t available on every Webflow site. According to Webflow’s help centre, it’s available when the site has an active Site plan, or when the site sits in a paid Core, Growth, Agency or Freelancer Workspace (Webflow Help: Custom code in head and body tags). If the Custom code fields are missing or greyed out, a plan is almost always why.

Your setupCustom code?What to do
Site with an active Site planYesFollow the steps below
Free Starter site in a paid Core, Growth, Agency or Freelancer WorkspaceYesFollow the steps below; publish to the webflow.io address to test
Free Starter site in a free WorkspaceNoAdd a Site plan or move the site to a paid Workspace
Site moved from a paid to a free WorkspaceFields disappearMove it back, or add a Site plan

Webflow’s plans and names change, so confirm in your own dashboard. The quick test: open Site settings and see whether the Custom code tab lets you type in Footer code.

What you need before you start

  • Designer access to the site, as the owner or a Workspace member allowed to change site settings and publish.
  • Your chatbot’s script. One line starting with <script. In Site Can Talk, paste your website address to sign up; the Add it to your website panel has a Copy code button. It looks like this:
    <script async src="https://…/w.js" data-site="your-site-id"></script>
  • Pages worth reading. A chatbot that answers from your site needs your services, pricing, FAQ and contact pages published as real text, not just images or Lottie animations. Webflow sites often put key copy inside graphics; a crawler can’t read that.

How to add an AI chatbot to Webflow: 6 steps

  1. Open Site settings. From your Webflow dashboard, hover the site and open its settings, or in the Designer open the Webflow menu and choose Site settings.
  2. Go to the Custom code tab. You’ll see Head code and Footer code boxes.
  3. Paste the script into Footer code. Footer code goes just before the closing </body> tag on every page (Webflow University), which is where a chat widget belongs: it loads after your content, so it doesn’t slow the first paint. Each box takes up to 20,000 characters; one script tag is far below that.
  4. Click Save changes.
  5. Publish. Custom code only runs on the published site. Publish to your custom domain and, if you test there, to your webflow.io staging address.
  6. Test on the live site. Open the published site in a private window, on a phone and a computer, and check the chat button appears on several page types: home, a CMS item (a blog post, a case study) and a static page.

In Site Can Talk, add each address you’ll test on under Settings → Websites allowed to use it, for example both https://yourbusiness.com and https://yourbusiness.webflow.io. The assistant only runs on listed sites, so a copy of your code on someone else’s site doesn’t use your allowance.

Why doesn’t the chatbot show in the Webflow Designer?

Because the Designer doesn’t run custom code. Scripts in Head and Footer code only execute on the published site, so the canvas and the Designer preview won’t show the chat button. That’s normal and protects the Designer from scripts that could break it. Always test on the published URL.

The same goes for code you put in a Code Embed element: you might see a placeholder in the canvas, but the script itself runs only after publishing.

A practical routine: publish to the webflow.io staging address first, test the chat there, then publish to your custom domain. If it works on staging but not on the domain, the difference is almost always the domain missing from the chatbot’s allowed list or the site not being published to that domain yet. If it fails on both, open the browser console (F12) on the live page and look for an error that mentions the script’s address.

Site-wide, one page, or a Code Embed: which to use?

WhereRuns onUse it when
Site settings → Custom code → Footer codeEvery pageYou want the chatbot everywhere (most sites)
Page settings → Custom code → Before </body> tagThat page only (for a CMS template, every item using it)Testing on one page, or only on pricing and services pages
Code Embed element on the canvasWhere the element sitsRarely for chat widgets; it’s meant for inline embeds like maps or forms (Webflow University covers the Code Embed element)

Don’t add the same script in two places. A site-wide footer script plus a page-level copy can load the widget twice, which shows two buttons or doubles the work.

How to show the chatbot only on some pages without editing code

Keep the script in Footer code and control placement from the chatbot’s settings instead. That way you never have to republish to change where it appears. In Site Can Talk, Settings → Where it shows offers Every page, Only these pages or Every page except these, with one pattern per line and * matching anything:

GoalChoicePatterns
Only on pricing and servicesOnly these pages/pricing, /services*
Not on blog posts (a CMS collection)Every page except these/blog/*
Not on legal pagesEvery page except these/privacy, /terms

Do you still need a Webflow form if you add a chatbot?

Yes. Keep your contact form. Some visitors know exactly what they want and prefer to fill in a form; others have a question first and only then want to get in touch. A chatbot serves the second group, the ones who would otherwise leave because the form felt like too big a step for a small question.

The two work best together. Link to the contact page from the chat, and let the chat take details when a visitor prefers it. If your Webflow form submissions seem to vanish, check the notification email settings in your site’s Forms settings; our guide to a contact form not sending email covers the common causes.

For agencies: adding a chatbot to client Webflow sites

Webflow agencies often add a chatbot as part of a build or a care plan. A few habits save support time later:

  • One assistant per client site, each with its own allowed domains, so one client’s code can’t serve another’s answers.
  • Write the rules with the client. Prices, promises and topics to avoid are the client’s call, not yours. Put them in the assistant’s notes and keep a copy in the handover document.
  • Hand over the lead inbox. Enquiries should go to the client’s email, not yours, from day one.
  • Recheck after every publish that changes navigation, since moved or renamed pages change what the assistant reads.

Site Can Talk’s Agency plan covers 10 sites for $199 a month, with each site configured separately. See pricing.

Does the chatbot read Webflow CMS pages and localized sites?

A chatbot that crawls your site reads whatever is published and linked, the same as a search engine. That has some Webflow-specific consequences:

  • CMS items (blog posts, case studies, team members, locations) are readable once published, provided they’re linked from somewhere or listed in your sitemap. Draft and archived items aren’t.
  • Content in tabs, sliders and accordions is usually in the HTML and readable. Content that only loads after a click through a third-party script may not be.
  • Localized sites serve each language on its own path. The assistant can read them all, but a better pattern is to let it read your main language and reply in the visitor’s language, so one set of facts stays the source of truth.
  • Password-protected pages and member-only content aren’t read. Keep anything the assistant should quote on public pages.

Site Can Talk reads up to 100 pages per crawl and lets you pin up to 20 that must always be included, so your pricing, FAQ and contact pages never fall out of its reading list.

What should a chatbot on a Webflow site answer?

Webflow sites are mostly service businesses, agencies, studios and software companies. Their visitors ask a predictable set of questions, and each one should have a page:

Visitor asksPage that answers itNever let the chatbot
“How much does a project like mine cost?”Pricing or packages page with ranges and what changes themQuote a fixed price you haven’t published
“How long does it take?”Process page with typical timelinesPromise a deadline
“Have you worked with companies like mine?”Case studies, client listInvent clients, results or reviews
“Do you integrate with X?”Integrations or capabilities pageSay yes to anything not listed
“Can we book a call?”Contact or booking pageConfirm a time slot it can’t see

The “never” column is about liability as much as accuracy. When Air Canada’s website chatbot gave a customer wrong fare information, a tribunal held the airline to it, noting it makes no difference whether information “comes from a static page or a chatbot” (Moffatt v. Air Canada). Choose a chatbot that says “I don’t know” when your pages don’t cover something; our hallucination guide shows how to test that.

Will a chatbot slow down a Webflow site?

It shouldn’t, if it loads the right way. Three things to check in the script and the widget:

  1. The script is async or defer, so the browser doesn’t stop rendering your page to fetch it.
  2. It’s small on first load. The button should load first and the heavier chat (or voice) parts only when someone opens it. Site Can Talk’s main script is kept under 30 KB compressed, and the voice code loads only when a visitor starts a call.
  3. It doesn’t restyle your site. Widgets that inject global CSS can change your fonts or buttons. Ours runs inside a closed Shadow DOM, so your Webflow styles and the chat’s styles can’t leak into each other.

Run PageSpeed Insights on a key page before and after adding any chat widget, and compare the mobile scores.

What does a chatbot cost on top of Webflow?

You’re paying for two things: the Webflow plan that unlocks custom code, and the chatbot itself. The chatbot side ranges widely depending on how it bills:

  • Free plans with real AI answers exist: Site Can Talk includes 200 chat messages and 10 voice minutes a month; several others offer a monthly allowance or a one-time trial.
  • Entry paid plans ran from $19 to $59 a month across the tools in our November 2026 pricing comparison.
  • Help desks with seats (Intercom, Zendesk and similar) cost more because they also run your support inbox.

For most Webflow business sites, the right test is simple: run a free plan for a month, count the enquiries it captures, and only then decide whether a paid plan pays for itself.

Chatbot not showing on Webflow? Fixes

SymptomLikely causeFix
Custom code fields are lockedNo Site plan, and the site is in a free WorkspaceAdd a Site plan or move the site to a paid Workspace
Not in the DesignerCustom code never runs in the canvasPublish and test on the live URL
Not on the live siteSaved but not publishedPublish again, to every domain
Shows on webflow.io but not your domain (or the reverse)Published to one domain only, or one domain missing from the chatbot’s allowed listPublish to both; add both addresses in the chatbot’s settings
Two chat buttonsScript in Footer code and in page settings or an embedKeep one copy, in Footer code
Answers miss your servicesCopy is inside images or animationsAdd the key facts as real text, then let it re-read the site

Test it with 8 questions before you rely on it

  1. A price or package on your pricing page (should quote it exactly).
  2. A price that isn’t published (should say so and offer a call).
  3. Your typical timeline (from the process page).
  4. A client or industry you’ve worked with (from case studies).
  5. An integration you don’t support (should say it isn’t listed).
  6. “Can we meet Tuesday at 3?” (should send to your booking page, not confirm).
  7. The same pricing question in another language your visitors use.
  8. “Please have someone email me” (you should receive the enquiry).

Site Can Talk is built for exactly this: it answers only from your Webflow pages and the details you add, shows visitors the right page, and emails you each enquiry. The free plan covers 200 chat messages and 10 voice minutes a month. Building on another platform? See our guides for Framer, WordPress, Shopify, Wix and Squarespace.

Questions

How do I add a chatbot to Webflow?

Open Site settings, go to the Custom code tab, paste the chatbot's script into Footer code, click Save changes, then publish the site. The chatbot appears on every page of the published site.

Do I need a paid Webflow plan to add a chatbot?

Yes. According to Webflow's help centre, custom code needs an active Site plan, or the site must be in a paid Core, Growth, Agency or Freelancer Workspace. Free Starter sites in a free Workspace can't add custom code.

Why isn't my chatbot showing in the Webflow Designer?

Webflow doesn't run custom code in the Designer canvas or preview. Publish the site and test on the live or webflow.io URL.

Should I use Footer code or a Code Embed for a chat widget?

Footer code in Site settings. It loads the widget on every page, just before the closing body tag. A Code Embed element is meant for inline content such as maps and forms.

Can I show the chatbot only on some Webflow pages?

Yes. Either put the script in a page's own custom code instead of the site-wide Footer code, or keep it site-wide and use the chatbot's page rules; in Site Can Talk that's Settings, Where it shows, with patterns like /pricing or /blog/*.

Will a chatbot slow down my Webflow site?

Not if the script is loaded asynchronously from Footer code and stays small. Site Can Talk's main script is under 30 KB compressed and loads voice only when a visitor starts a call. Compare PageSpeed Insights before and after adding any widget.

Can a chatbot read my Webflow CMS content?

Yes, if it crawls your site and the CMS items are published and linked or in your sitemap. Drafts, archived items and password-protected pages aren't read.

Is there a native Webflow AI chatbot?

Webflow doesn't add a visitor-facing chatbot to your site by default; you add one with custom code or an app from the Webflow Marketplace. Check the app's permissions and pricing before installing.

About the author

Jahidul is the founder of Site Can Talk, the AI chat and voice agent that answers a business's website visitors from its own pages and sends every lead to the owner.

Jahidul Hossain Mekat on LinkedIn

Sources

  1. Webflow Help Center (via search index, 25 Nov 2026)Custom code in head and body tags
  2. Webflow University, read 25 Nov 2026Custom code: site-level code
  3. Webflow University, read 25 Nov 2026Custom code at the layout level: Code Embed element
  4. Civil Resolution Tribunal of British Columbia, 14 Feb 2024Moffatt v. Air Canada, 2024 BCCRT 149