Table of Contents

How to Test Your Bot - Complete Guide 🧪

Dilyara Updated by Dilyara

Testing is a crucial part of building any chatbot 🏗️ Whether you're creating a simple lead capture flow or a complex automation with integrations, you'll want to ensure everything runs smoothly before your users interact with it!

This guide walks you through how to test your Landbot on the Web, WhatsApp, Facebook Messenger, and API Channel.

🌐 Testing a Web Bot

There are two main ways to test your Web bot during the building process:

1. Preview Mode: “Test this bot” Button

Landbot’s built-in Preview lets you instantly test your bot without leaving the Builder interface.

In the top-right corner of the bot builder, click “Test this bot" to open a draft preview of your bot in a modal window.

Any updates to the flow will reflect here once the changes are saved in the draft ✅

Ideal for quickly testing changes during development without publishing them and affecting live users 🧪

It's also recommended if you don't want to generate real conversations or impact analytics.

Note: Some features like Human Takeover cannot be tested with this option, you can test it with Share URL, as explained below.
2. Share the Bot via URL (Live Bot)

Once your bot is structurally ready, test it in a real web environment using the bot's public URL. To find the link, go to the Share > Share with a link section:

This method is best when you’re ready to test real-world behaviour, check integrations, or share the bot with teammates, clients, or stakeholders.

😉 Remember to publish the changes so they are reflected in the live version:

This is the live bot that end users would see, and it's helpful for testing how the bot behaves in its final environment - whether that's a standalone page or embedded in your website.

You can find the embed code in the Share > Embed into your website section:

Tip: Embed the bot into a staging page if you want to test the bot in a full website context (with styles, layout, etc.). Learn how to do it in this article.

💬 Testing a WhatsApp Bot

1. Using the “Test this bot” Button (No Integration Required)

With the WhatsApp Testing feature, you can test your bot without needing to connect your own phone number.

Note: This option is only available if you haven’t yet integrated your own phone number.

In the Builder section of your WhatsApp chatbot, you’ll see a "Test this bot" button in the top-right corner:

1️⃣ Click on "Test this bot".

2️⃣ You’ll be prompted to enter the phone number where you'd like to test the bot.

3️⃣ After entering your number, you’ll receive a message from Landbot’s test number on WhatsApp - just open the app to start interacting with your bot.

✅ Ideal for quickly previewing your bot during setup.

2. Using Your Own Phone Number (Full Integration via Meta Cloud API)

Alternatively, you can test your WhatsApp bot by integrating your own phone number! This requires completing the setup process through the Meta Cloud API.

For a detailed step-by-step explanation on how to integrate your phone number, please refer to this documentation 👀

During the Trial period, you’ll have access to up to 100 conversations to test your WhatsApp integration. This gives you the chance to experience how your users will interact with your bot in a real-world scenario.

Once your number is integrated, any messages sent to it will be automatically handled by the connected bot — just like in a live production environment.

If you already have a bot running in production but want to test a new one, no problem — there’s a way to do it.

👉 Check out this article for details: WhatsApp Testing

Note: After the trial ends, you’ll need to upgrade to a WhatsApp plan to keep using your integrated number and continue receiving user messages.

✅ Best option for end-to-end testing with your own audience.

📱 Testing a Facebook Messenger Bot

To test your chatbot on Facebook Messenger, you’ll first need to complete a setup involving a Facebook Page. Here’s how to get started:

🔧 Step 1: Create or Integrate a Facebook Page

Facebook Messenger chatbots must be connected to a Facebook Page - this is how Messenger identifies and displays your bot.

If you don't have any Facebook Page, you can check here more information on how to create it in Facebook 👀

🔗 Step 2: Integrate Your Facebook Page

Once your Page is set up, access Channels section, and integrate it with Landbot, following this process.

Here are the important details:

  • You must be an admin of the Facebook Page to integrate it.
  • Make sure the Page is published and Messenger is enabled in its settings.
  • Assign necessary permissions to your Facebook Page, as explained here.

🧪 Step 3: Link Your Chatbot to the Page

After integration, you can link your chatbot to your Facebook Page. Now, it will respond to messages sent to that Page through Messenger.

You can test the chatbot by:

  • Sending a message to your Page from another Facebook account
  • Using the “View as Visitor” option to simulate user experience
  • Inviting testers or team members to interact with the bot on your Page
You can check more details on testing Facebook Messenger bot here 👀

Once the setup is complete, any user who sends a message to your Page on Messenger will interact with your chatbot. Make sure to test all key flows, commands, and interactions.

🔧 Testing an APIchat bot

Since the API channel doesn't include a built-in preview, the only way to test your API chatbot is by integrating it with another platform.

A practical method is to create a Web bot, which will serve as the "platform". You can then use a Jump To  block in the Web bot’s flow to connect it to your API chatbot. This setup allows you to simulate a real user experience while still routing the conversation through the API bot logic.

Alternatively, you can test the API directly:

  1. Go to the Integrations section, select API Chatbot, and copy the API endpoint details.
  1. Use tools like Postman, cURL, or your own frontend/client to send a test payload to the API endpoint.
  2. The API bot will respond based on the structure of your request and how you've configured the flow.

For more information on how to create APIchat bot, please refer to this documentation 👀

Was this article helpful?

Using Flow Logic in Landbot

How to "debug" (troubleshoot) your bot's flow to spot possible errors (for non coders)

Contact