Please note that 'Variables' are now called 'Fields' in Landbot's platform.
Most websites inform; very few convert. In this guide you'll create a chatbot for your website from scratch with a visual builder, without writing a line of code, and connect it to your tools so it captures and qualifies visitors for you. At the end, you'll also see how to take it a step further and turn it into an AI agent.
Key Takeaways
- You can create and publish a website chatbot in 5–15 minutes with a no-code visual builder.
- A rule-based chatbot covers FAQs and lead capture; an AI agent also reasons, decides and takes action.
- Flow structure matters more than technology: one question per message, buttons for the predictable.
- Connecting the chatbot to your CRM or Google Sheets from day one keeps captured data from getting lost.
- Measure what moves revenue: qualified leads and conversion to demo or signup, not just conversations started.
What Is a Website Chatbot?
A website chatbot is a program that talks to your visitors in real time, right on your site, to answer questions, guide navigation and capture data with no human involved. Unlike a static form, it asks one question at a time, adapts to the answer, and turns an anonymous visit into a conversation with context.
In business terms: it's the difference between a site that informs and a site that sells while you're away.
Why Add a Chatbot to Your Website?
Because most of your visitors leave without a trace. A form waits; a conversation asks. A well-built chatbot:
- Replies instantly, 24/7, with no one left waiting.
- Qualifies the visitor with the right questions before handing them to sales.
- Routes the lead to your CRM with context: budget, urgency, company size.
- Takes repetitive work off your team's plate.
Rule-Based Chatbot or AI Agent?
A rule-based chatbot follows a predefined flow (if this, then that): great for FAQs, lead capture and guided processes — predictable and easy to control. An AI agent goes further: it understands natural language, reasons, decides and takes action — querying your knowledge base, updating your CRM, or booking a meeting. In practice, most teams combine both: rules for the critical steps, AI for the open-ended questions.
The full breakdown of how agents work — architecture, guardrails, and when to migrate from a chatbot — is in our AI Agent Foundations guide.
How to Create a Chatbot For Your Website, Step by Step
You don't need code or a developer. With a visual builder like Landbot, the process is this:
1. Set Up Your Landbot Account (Fast & Free) & Get Started
Before anything else, you need to create an account with Landbot. The signup is free and doesn't require credit card information.
Once that is done and you’re inside the builder, click on “Build a chatbot” in the upper right corner and select the type of bot you want. For this tutorial, I chose to create a website chatbot, although the builder is the same no matter what option you choose.

After the channel selection, you’ll choose between the “Build it for me” feature, starting from scratch, and using a template. Let’s go with “Start from scratch”.

2. Define the Welcome Message
The first message to personalize is the welcome message. For this, you can pick from different blocks like “Ask a question”, “Ask for a name”, or even the “Buttons” block.
In this bot-building exercise, we will create a subscription bot for a fictional online gaming magazine called “GameWorld.” To get started, drag an arrow from the “starting point” block and select “Buttons”:

Next, type in your welcome message, add any media you want (a GIF, image, or video), and edit the button.

My bot introduces itself, and the user can begin the chatbot conversation by clicking the “Hi” button. Given that this is a welcome sequence, keeping it simple with a single answer helps kick-start the engagement.
3. Ask a Question (Name)
As you may have noticed, our bot builder offers a wide variety of question types. This is to make the bot setup faster since they come pre-formatted for the data they are supposed to collect. (e.g. the “Ask for a number” block will only accept digits).
The key to any basic interactive chatbot is real-time personalization. It would be a pity not to take advantage of that straight from the start, for instance, by asking the user's name. So, to add the Name block to the bot flow, drag an arrow from the “Hi” button and pick the “Ask for a name” block.

In the side panel, you can personalize the default question text “What’s your name?” with something that more suits the tone of your bot/brand.
The advantage of using the name block is that it comes with the pre-set @name Field, so you don’t have to lose valuable seconds setting up your own. By saving the user’s name under the @name Field, you can personalize the interaction, as we’ll see in the next step.
Note: In the Landbot chatbot builder, Fields in the format “@” + “field name” serve to categorize and store data collected by the bot. You can use this data for personalization inside the conversational flow or export it to an external database. You can use default Fields or create your own.
4. Ask Questions (Button Choice)
Our next step will be to set up a first true button choice. Drag an arrow from the name block and choose “Buttons”. You can divide your bot’s speech into various bubbles or add visual media before presenting user responses in the form of a button choice.
The key point is, this time, the buttons will lead our prospect down different paths:
- Learn more about GameWorld or
- Subscribe.

If the user is not ready to subscribe yet, they are free to learn more about the platform and clear any doubts they might have. To divide the flow based on the user’s answer, drag an arrow from “Learn More About GameWorld” button choice, select the “Message” block, and add the information you want the user to learn.

I opted to split the text into three different messages inside the same block to make it more engaging and easier to read.
Still, our main objective is for users to subscribe to our fictional magazine (lead generation), so after this little intro, we wanted the bot to prompt them to do so again. This time, the options offer a subscription or an option to simply proceed to browse the magazine to give them a way out (and not cause any sort of frustration).

If the user chooses to go to the magazine, you can finish the conversation with the “Goodbye message” block.

The goodbye block offers quite a few perks. Besides adding a goodbye message, you can:
- Feature social media share buttons;
- Offer an option to restart the conversation;
- Activate an automatic URL redirect & personalize the redirect message.
Thanks to the message, even if the user doesn’t subscribe, they can check out your social media accounts or go straight to your website without having to click anything at all.
5. Ask a Question (Email)
What if they clicked the “Subscribe” button, though? In that case, we will lead them to the subscription flow, where they will be able to provide more contact details and become a lead.
The most important piece of data when getting a subscription is, of course, an email address.
So, our first subscription question will be just that. Go back to our first button choice, draw an arrow from the “Subscribe” option, and select the “Ask for an email” block.

Our designated “Email” question block not only comes with a pre-set @email Field, but it also checks the email format. That means the bot will not accept the user’s answer unless the common format “xxx@xxxx.xx” is met.
After you set up the email block, draw an arrow from the “Subscribe” option in the “Learn more” branch of the conversation. This way, whether the user decides to subscribe immediately or after learning a bit more about the magazine, they will be directed through the same subscription funnel.

6. Export Data to Google Spreadsheets
Another secret of knowing how to create a chatbot that will make your life easier are integrations!
So, now that we have the most important piece of data, we want to integrate Google Sheets into the bot and export it to our database. It’s these types of integrations that make for powerful virtual assistants!
To do so, first, you need to set up a designated spreadsheet in your Google Drive:

Once done, go back to the Landbot chatbot builder, drag an arrow from the email block, and select “Google Spreadsheets” from the menu:

First, you need to log in to your Google account and connect it with Landbot. Next, you need to select the spreadsheet and the sheet within it where you want to send the information. And finally, you have to pick the “Action to perform”:

Since, at this point, you will be creating a new row for each new subscriber, select “Insert a new row”. After this, all you need to do is pair the column names with the Fields you want to store in these columns:

Click “Apply” to save your changes and the integration set up is done, a true piece of cake!
If you prefer to integrate with your CRM or your client’s CRM, you can also do that! Here’s an example of how to integrate your website chatbot with HubSpot.
7. Ask a Question (Buttons with Images)
There is more to the buttons block than meets the eye! After we have the user’s email, we want to learn more about their preferences to be able to provide a more personalized subscriber experience.
Below is our next question. However, we want to make the button choice a bit more fun to break up the routine, so instead of simple text, we’ll present the options as images. To do so, go to the “Buttons editor” inside the block, click on the button’s wheel icon, and select “Image” as the “Button Style”:

After you are done uploading the images for each button, scroll down the editor, and create a Field to store this answer:

This is what the image button choice looks like on the front end:

8. Ask a Question (Picture Choice)
Another great question type inside the Landbot chatbot builder is the “Picture choice” block, which allows you to offer an image choice in the form of a carousel instead of buttons. Draw an arrow from the “Default” button of your last block and select “Picture choice” from the menu.

To set it up, you need to configure the three main fields:
- The question;
- The answers (Images);
- The Field to store the answer.
We decided to use this question type to ask about the type of games the user loves to play the most. Since there are several major game types, the picture choice seemed like a much better choice, as the normal buttons would have taken up the whole screen. When setting up picture choice, proceed the same way as with button images — define the answer options and upload a corresponding image.

Last but not least, don’t forget to update the Field to save the user messages/responses in a way that’s easy to identify:

This is how your effort will reflect on the front end:
9. Ask a Question (Multiple Choice)
Our question variations adventure is not quite over yet… The Buttons block hides another key feature and that is multiple choice for times when a single choice just won’t do.
For instance, in our magazine subscription bot, we wanted to see what type of content the new subscriber enjoyed the most without limiting them to a single answer.
For configuring a multiple-choice question:
- Create another Buttons block and answers;
- Scroll down the editor and activate “Multiple choices”;
- Remember to set up the answer Field.

And that’s it. Your bot will now be able to offer users a multiple choice:

10. Ask a Question (Open-end)
Sometimes buttons can’t cover it all, and you need to give space to your user to express their opinion freely. To give space to write unconstrained user messages, you can use the “Ask a question” block, which simply offers an empty field for the user to fill in.
For instance, when you offer “Other” as a possible reply, you can connect it to an open-ended question block to determine what that other means.

The only thing to specify here is the question and, of course, the Field, which should be the same as the Field for the main question, so the new free-input answer will override “other”.
11. Let the User Rate the Experience
Want to know how your chatbot is doing?
For that, the Landbot chatbot builder offers the “Rating” block!
Simply draw an arrow from the last “Buttons” question and pick the “Rating” block from the menu.
The setup is, once again, pretty simple:
- Write your rating question;
- Select the rating format;
- Create the Field to save the answer.

12. Update Google Spreadsheet with New Data
Remember how we sent the user’s name and email address to our Google Spreadsheet? Well, now it’s time to update the rest of the information. Drag a green arrow from the “Any of the above” button of the last block and use the Google Sheets integration block once again.
Here, the setup is virtually the same, except you need to set the action to “Update a Row” as we want the bot to update a row it previously created.
When you decide on this option, the builder will ask you to choose a “reference column” to find the row that needs updating. Since a name is not very reliable as a reference, we set our reference column to “Email” and associated it with the email variable.

After the reference column, specify the fields you want to update by selecting the column and the Field to correspond to that column as before.
This means the bot will go to the sheet, check the “Email” column, find a match for the user, and fill out the rest of the information.
13. Create Segmented Mailing Lists on MailChimp
As you build the bot, ensure it's doing all it can to make your life easier.
For instance, if you are gathering emails, have the chatbot export those emails and other user data directly to MailChimp (or any other mailing service using Zapier).
We wanted our GameWorld subscription bot not only to export the data to MailChimp but also to send it to the right group within the mailing list to simplify the segmentation process.
So, before integrating MailChimp into the bot, we set up a few “Conditions” blocks. These blocks allow you to set up conversational logic mechanisms in the style of “if this, then that”.
In the Landbot chatbot builder, the conditions you can use are:
- Equals to
- Does not equal to
- Contains
- Greater than
- Less than
- Is set
Since we wanted the bot to segment the subscribers based on their gaming device, we set up the condition as follows:

Then, you simply need to repeat this process for each of the possible devices by adding a “Conditions” block for each answer.
If the bot finds the condition to be correct, it will channel the information to Mailchimp via the green output. If not, it will follow to check the next condition and the next using the pink output. Now the Mailchimp integration!
Drag an arrow from the first condition and click “MAILCHIMP” from the menu. Pair your account with Landbot.
And set up the following according to the color codes in the image::
- Yellow: Email Associated with the account
- Green: Mailing list where you want to add the email
- Pink: Group within that mailing list (if applicable - in our case, the “Device” group)
- Dark Blue: @variable under which you are saving the user email
- Light Blue: Other values you want to upload (e.g., name, birthday etc.)

This way you can easily segment your subscription emails to the right group instantly. Repeat the setup for each group and you are done!

Note: This conversational assistant is only using the Google Spreadsheets and Mailchimp integrations. However, the Landbot chatbot builder offers a wide variety of similar easy-to-setup integrations to empower your bots including Slack and email notifications, Stripe, Calendly, Airtable, Zoom, Salesforce, and Zapier which connects to hundreds of other apps!
14. How to Test your Chatbot?
As you go and create your chatbot step by step, you should always check the user experience and quality of the connections. To do so, click the “Test this bot” button in the top right corner of the user interface.
From here, you can directly engage the new bot you just made as if you were a real customer on your website. Just follow the different answer strings and queries to see how you did in the building process and identify any possible errors.
You can even test the bot in a mobile view!
Once you have tested it yourself, we recommend sharing it as well with three different people once you publish it, to double-check everything is working as it should.
15. Customize Your Chatbot Branding For a Better Experience
Ok, so we’ve built the chatbot.
What now?
Well, the next step in perfecting the conversational chatbot of your own making is giving it a consistent LOOK for a better customer experience.
Since you went through all that trouble of making a bot from scratch, it better match your website branding and color scheme!
Landbot’s chatbot builder gives you plenty of options to let your brand personality shine through.
To bring up design elements, click on “Design” in the header menu.

It will open you to a whole new world of options! On the left side, you will see a large list of customization features:
- Design templates: Pick a theme from the already created attractive Landbot templates. These come in handy when you need to get the bot out into the world relatively quickly.
- General: Select the font family and background for your bot.
- Layout: Modify the logo and text that appear in the header of the chat, as well as edit the launcher icon.
- Chat: Customize the message bubbles’ format and color, the buttons’ layout, and the bot avatar.
- Custom code: If you know CSS and/or JavaScript, this section lets you make more advanced changes to your bot’s design — the only limit is your creativity!
NOTE: Be sure to click APPLY to save the changes in each of the design sections. And, once you are satisfied, remember to press PUBLISH in the upper right corner to update the bot.
16. How to Add a Chatbot to Your Website? (or Make a Bot Landing Page!)
Now that our Landbot has undergone the necessary “brand-lift” makeover, we can show it off to the world and start collecting subscribers and leads.
Sorry to repeat myself, but (once again) the Landbot chatbot builder makes this process super easy!
Go back to the Landbot app. Click “Share” at the top of the navigation bar.
Here, you can find four different embed options:
- Live Chat: Have your bot display a live chat message in the corner of the user's screen.
- Full page: Have the bot engage the user and take up the entire screen
- Embed: Display your bot as an embedded function in one section of your website.
- Popup: Have the bot popup upon landing on your site (or after a certain number of seconds).
Clicking on any of the icons will show you a slightly different set of easy-to-follow instructions.

On the other hand, if you just want to create a temporary landing page and don’t care so much about the URL, select the option “Share with a Link” in the left-side menu. Here, you will find an automatically generated Landbot chatbot URL, which you can link anywhere on your website, in an email, or share on social media.

Note: Have a WordPress website? Then make sure to check out our tailored tutorial on how to install your custom chatbot for your WordPress site!
How to Turn Your Chatbot Into an AI Agent
This is where a chatbot goes from answering to converting. To give it agent intelligence:
- Connect your knowledge base (your site, docs, FAQs). The agent answers from it — it doesn't make things up.
- Define what it must achieve: qualify, book a meeting, or resolve a question.
- Split the work: AI handles open questions; rules lock down the critical steps (data capture, handoff).
- Set up the handoff to a human for when the conversation calls for it.
The result: an AI agent that understands what the visitor is asking, answers precisely, and qualifies without you lifting a finger.
How to Take Your Chatbot to WhatsApp
The same flow you build for your website can live on WhatsApp, where your customers already are and where response rates are higher. The conversation starts on your site and continues in the customer's pocket. Everything channel-specific — WhatsApp Business API setup, compliance, and conversation tactics — is in our WhatsApp business automation playbook.
Website Chatbot Best Practices
- One question per message: don't overwhelm the visitor.
- Lead with value for them, not with your form.
- Use buttons for the predictable; save AI for the open-ended.
- Qualify early; ask for the email once you've given something back.
- Always keep a clear exit to a human.
How to Measure Chatbot Performance
Track what moves revenue, not vanity metrics:
- Conversation start rate — are people engaging?
- Flow completion rate.
- Qualified leads generated.
- Conversion to demo, signup or sale.
- Sessions arriving from LLMs (ChatGPT, Perplexity) and how well they convert.
Frequently Asked Questions
How do I create a chatbot for my website?
Pick a no-code visual builder like Landbot, design the flow with message, question and button blocks, connect it to your tools, and drop a snippet on your site. You can have one live in under 15 minutes.
Can I create a chatbot without coding?
Yes. A drag-and-drop visual builder lets you create and publish a complete chatbot without writing a line of code or depending on a developer.
How do I add AI to my chatbot?
Connect your knowledge base (site, docs, FAQs) and define the AI agent's goal. The AI answers open questions in natural language from your content, while rules lock down critical steps like data capture.
What is the best chatbot for a website?
It depends on your goal. If you're after conversion, the best one qualifies visitors and routes them to your CRM with context — not just one that answers FAQs. Prioritize integrations, AI agent capabilities and no-code ease of build.
How much does it cost to create a chatbot?
You can start free and build your first chatbot with no credit card. Paid plans add more integrations, advanced features and volume as you grow.


.avif)
.avif)
.avif)
%20(1).png)
.avif)