Table of Contents

Parent Bot/Linked Bot - Add a main bot to your WhatsApp number

Hajar Updated by Hajar

Prefer watching than reading? No problem, we've got you covered πŸ‘‡

What is a parent bot?

Once your WhatsApp integration is complete and your account is available on Landbot you will be able to link a bot to the number you integrated. We call it the Parent bot.

The Parent bot will be the main bot linked to your WhatsApp number, and will be the one answering the users before you activate any other bots for specific campaigns.

The parent bot is the bot linked to your WhatsApp channel as shown in the previous section. You will find it here:

Only one parent bot can be added per WhatsApp account/number

Once you have completed your WhatsApp bot and would like to make it available to all your users you can link it to the WhatsApp number you have integrated with Landbot.

  1. Click on the WhatsApp icon on the left of your dashboard
  2. Click on your WhatsApp channel and head over to the Settings section
  3. Find the Linked Bot area and click on the small drop-down menu.
  1. Select the bot and it will be saved automatically.

If your bot is not on the list, you can search for it in the search bar. Make sure you press "ENTER" to complete the search.

Once you have linked the bot to your number, anyone who sends a message to your number will get a response from your Parent bot.

How do I change the parent bot?

Repeat the same process as in the Linking a "Parent bot" to your number section

If you don't link a bot to your WhatsApp number all the conversation will go directly to the Landbot chats section for an agent to respond to.

For more information about the Chats Section, click here.

Please keep in mind that the Parent bot will be the main bot connected to your WhatsApp number.

But there are a few different situations in which you can have a bot different than the Parent bot also active:

  1. A bot specific for when users Opt-in (getting subscribers).
  2. A bot specific for a Campaign.
  3. When you Publish a bot, a pop-up appears and you can link the bot to the number directly from the builder:
Important: This is different from Testing the bot by linking it to your personal number. To learn more about that, please check out this article.

Get Opt Ins

When one of your customers opts in or subscribes to your service, you can assign a Message template to thank them for subscribing.

You can also link a bot to this template in case the user responds to it.

Please keep in mind that if the user finishes the conversation with the bot linked to the Message Template, or you have not linked a bot to the template, the conversation will go to the "Parent bot".

For more information about the Get Opt Ins section, please click here

Campaigns

When sending an Message Template for a campaign/notification, you can link a bot for each specific campaign in the Campaigns Section.

If the user finishes the conversation with the bot linked to the Campaign, or you have not linked a bot to it, the conversation will go to the "Parent bot".

If you send a campaign with a variable, this variable will be available to use in the parent bot (if the variable name and format are the same)

For more information about the Campaigns section, please click here.

Where is the data saved?

The data collected by your your WhatsApp bot is saved in that Channel (under that number) and can be found in the Metrics section of the account, or in the Analyze > Users section of the linked bot.

You can find it by opening the builder section of the bot linked to your number:

As the data belongs to the WhatsApp Channel (and not the Bot) If you change the linked bot, all the data will still be available in the Metrics section of your account.

What happens when the chat ends?

When the chat ends, it closes the channel until the next interaction. But if the user types anything, the bot will restart.

The next interaction will start the chat from the first block of the parent bot, keeping the values stored in the variables from the previous conversation. These can be used to your advantage when building your bot.

Click here to see how to direct the user through a different bot flow on their second visit (preventing the parent bot from repeating the same path).

What happens with users who are in the middle of a conversation if we change the Parent bot?

If one of your users is in the middle of a conversation with a bot and you change the linked bot, don't worry, the user will first have to finish the conversation with the bot that is currently linked before the new one takes over!

If you connect a bot to a Snippet for the Opt in,Β it will interrupt the flow of the Parent Bot.

If you launch a Campaign with a bot,Β it will interrupt the flow of the Parent Bot.

How did we do?

WhatsApp Channel Panel (Settings)

Contact