Why an on-site chatbot on Webflow matters
A chatbot gives shoppers instant answers, captures leads and routes tricky queries to a human. On a Webflow site you control design and HTML, so you can make the bot feel native and fast. This guide focuses on practical steps: where to put the code, what to configure, how to test and what to measure after launch.
Plan before you add code
- Define what the bot should do first:
- Answer product and shipping questions from your store content.
- Offer order lookup only if you have separately connected a supported read-only store integration.
- Capture leads and book appointments, or hand off to humans when needed.
- Decide scope:
- Site-wide persistent assistant (usually placed in footer).
- Page-specific bot (product pages only, for example).
- Prepare content:
- Short help-centre articles or FAQs the bot will cite.
- A list of common questions and exact product SKUs or names it should recognise.
- A contact path for questions the bot cannot answer.
- Compliance and privacy:
- Determine if you need explicit consent for cookies or data capture in your jurisdiction.
- Draft a short privacy line the bot can display before collecting an email.
Pick the right integration method for Webflow
You have three common options on Webflow. Pick based on scope and control.
A. Site-wide Custom Code
- Best when you want the bot available on every page and to load from the footer.
- Steps:
- Copy the embed snippet your chatbot provider gives you.
- Find the site's Custom Code settings and the field for code before the closing body tag.
- Paste the snippet, save and publish.
- Advantage: loads on every page, easy to manage. Use async scripts to avoid blocking.
B. Page-level HTML Embed (specific pages)
- Use the Embed element in the Designer when you only want the bot on particular pages.
- Steps:
- Open the page in Designer, Add Element → Embed.
- Paste the snippet and Save.
- Publish.
- Advantage: precise placement, less global load.
C. Google Tag Manager (or tag manager)
- Use this when you manage all scripts centrally or need conditional firing rules.
- Add the snippet via a custom HTML tag and set triggers for particular pages or events.
Note: If you use a tool that provides an official Webflow-friendly snippet (some vendors do), follow their exact instructions. For example, SuperBot offers an embed snippet and supports installation on Webflow.
Configure the chat flow and content
- Start with three core flows:
- Product questions grounded in a current product page; show live stock only if a store connection provides it.
- Order lookup only after a supported store connection is configured; require order number and matching email before showing limited details.
- Human handoff (handoff button, team-notification and full transcript).
- Write short, clear bot messages:
- Greeting: “Hi — want help finding a product or checking an order?”
- Error/fallback: “I’m not sure about that. Would you like to chat with a human?”
- Make the bot cite sources:
- Train it on your help-centre articles and product pages so it can link to the source behind an answer.
- Lead capture and booking:
- Ask only for the lead details you need, and state how you will use them.
- If you offer appointments, connect Calendly or Cal.com and test the booking path.
- Team inbox and transcripts:
- Ensure human agents can access the full chat transcript and pick up where the bot left off.
- Capture leads into your CRM automatically.
Performance, accessibility and design
- Load performance:
- Follow the provider's loading instructions and avoid inserting the script twice.
- Check the actual page load and interaction time on mobile before publishing.
- Mobile & responsiveness:
- Test on small screens. Buttons must be comfortably tappable and text readable.
- Ensure the chat doesn’t block vital page buttons (checkout, contact).
- Accessibility:
- Ensure keyboard focus moves into the chat when opened and returns when closed.
- Provide clear labels for close, minimize and send actions.
- Use ARIA roles for dialog and live regions so screen readers can announce bot messages.
- Visual consistency:
- Match your site’s fonts and color palette or use an unobtrusive neutral design.
- Keep message length short; long walls of text are hard to read on mobile.
Testing and launch checklist
- Functional tests:
- Product lookup: test known SKUs and near-miss queries.
- If order lookup is connected, verify it requires an order number and matching email and fails safely on a mismatch.
- Human handoff: confirm agents receive the transcript and can reply.
- Edge cases:
- Offline hours: present an email capture and expected response time.
- Repeated questions: make sure the bot does not loop and a human option remains visible.
- Monitoring and analytics:
- Track resolution rate, CSAT, fallback rate and knowledge gaps.
- Track product-link clicks only if your analytics setup and consent choices support that event.
- Load testing:
- Ensure the site still responds with the bot script active. Check on slow networks (3G throttling).
Maintain the bot
- Weekly: review the transcripts for new common questions and add articles or responses.
- Monthly: check analytics for knowledge gaps and retrain the bot on updated pages (product descriptions, shipping rules).
- Quarterly: re-test accessibility and mobile behaviour after any design or layout changes.
SuperBot supports a Webflow embed, cited answers, a shared team inbox, CRM lead capture and analytics on resolution rate, CSAT, sentiment and knowledge gaps. Store data needs a separately connected, supported read-only integration; test order-number and email matching before enabling order answers.
What to do this week
- Choose embed method (site-wide footer or page-level embed).
- Prepare the top 10 product/questions to train the bot on.
- Paste the snippet into Webflow Custom Code or an Embed element and publish.
- Test a cited content answer and human handoff. Test order lookup only if a supported store connection is active.
