To set up a Webflow chatbot, create your bot, copy its embed script or iframe, then paste it into Webflow using the Embed element or site-level custom code and publish to make the chatbot live.
Scope:
Last updated: December 2025. Applies globally; confirm your chatbot, data capture, and analytics settings comply with local privacy regulations such as GDPR in the EU and CCPA/CPRA in California.
What you need before you connect Webflow to a chatbot
Before you touch any code, make sure a few basics are in place:- Define the chatbot’s job: Decide if it will answer FAQs, provide support, qualify leads, or all three. This determines what data and flows you’ll need.
- Confirm your Webflow plan supports custom code: Webflow’s Code Embed element and site-level custom code require certain workspace or site plans.
- Choose your chatbot platform: This might be CustomGPT.ai or another provider, but it must give you a script or iframe to embed.
- Prepare content or data sources: FAQs, docs, blog posts, and product pages should be ready so your chatbot can give helpful answers.
- Set up a test environment: Use a staging domain or hidden page in Webflow so you can test the chatbot without exposing half-baked behavior to visitors.
Connect Webflow to a chatbot with a custom embed code
Most chatbot tools—including CustomGPT.ai—let you embed the bot by pasting a small script or iframe into your site.Get your chatbot’s embed snippet
Follow these typical steps (names may differ slightly between vendors):- Open your chatbot admin panel and select the bot/agent you want to embed.
- Look for a Deploy, Install, Embed, or Integration section.
- Choose the website embed or chat widget option.
- Adjust settings like welcome message, default language, position (bottom-right, bottom-left), and branding if available.
- Copy the generated script (usually a <script> block) or iframe (<iframe>).
Add the chatbot code in Webflow using custom code or the Embed element
You have two common options in Webflow:- Open your Webflow project and go to the page where you want the chatbot.
- To add it to a specific page section, drag an Embed element from the Add panel onto the page.
- Paste the chatbot script or iframe inside the Embed element and save.
- If you want the chatbot on every page, go to Project Settings → Custom code and paste the script into the Footer code (before </body>) field.
- Publish the site (not just preview) so custom code runs on the live domain.
- Visit the live URL in an incognito/private window to confirm the chatbot loads and connects properly.
How to do it with CustomGPT.ai
CustomGPT.ai gives you several ways to embed a powerful AI agent into Webflow: direct script, iframe, widget starter kit, and Website Copilot.Embed a CustomGPT.ai agent on your Webflow site
Here’s the most straightforward Webflow + CustomGPT.ai setup:- In CustomGPT.ai, open or create the agent you want to use.
- Go to the Deploy / Integration section and choose the “Embed AI agent into your website” option.
- Copy the provided HTML script or iframe snippet from the embed instructions.
- In Webflow, either:
- Drag an Embed element into the page and paste the snippet, or
- Paste the snippet into Project Settings → Custom code → Footer code for site-wide chat.
Use CustomGPT.ai widgets and Website Copilot options
If you want richer UI options, CustomGPT.ai gives you additional deployment patterns:- Widget – Embed on Site: Use the “Widget – Embed on Site” reference and starter kit to add a floating or fixed chat widget powered by your agent.
- Website Copilot button: Add a Website Copilot button that opens an assistant overlay when clicked—perfect for “Need help?” launchers on key Webflow pages.
- Copilot on text input fields: Connect any text input + Send button (for example, a search bar or “Ask a question” field) to Website Copilot so it launches with the user’s query.
- Advanced workflows via API: When you need deeper integration (logging conversations, enriching leads, or tying into back-office systems), use the CustomGPT.ai API quickstart as the blueprint for your automations or no-code tools.
Connect Webflow to a chatbot using automation tools
Sometimes you don’t just want a chatbot on the page—you want Webflow and the bot to share data. That’s where automation tools like Zapier or Make come in. Here’s a common pattern using Zapier:- In Webflow, create a form for leads or contact requests.
- Connect Webflow to Zapier using the official integration and authenticate your site.
- Create a Zap with a trigger like “New form submission in Webflow.”
- Add actions to send this data to your CRM, email tool, or a webhook endpoint that talks to your chatbot or CustomGPT.ai agent.
- Optionally, use follow-up actions to send an email or message with a link to continue the chatbot conversation.
- Test the full flow with a dummy form submission before going live.
Example — Lead capture chatbot on a Webflow homepage
Let’s walk through a concrete scenario. You run a B2B SaaS site on Webflow and want a chatbot on the homepage to answer basic questions and capture qualified leads:- In CustomGPT.ai, you create an agent and connect it to your website docs, FAQs, and pricing pages so it can answer product questions.
- In the agent’s Deploy / Integration area, you grab the website embed script or iframe.
- In Webflow, you add an Embed element to the homepage and paste the snippet so the widget appears in the lower-right corner.
- You tweak the agent’s welcome message to introduce itself and invite visitors to “Ask anything about pricing, features, or ROI.”
- You connect your Webflow lead form to Zapier and your CRM; when someone fills the form after chatting, they’re tagged as “Chatbot lead.”
- After testing, you publish the site and monitor which questions and pages generate the most chatbot-driven leads.