Table of Contents
- What is a parent bot?
- How to link a"Parent bot" to your number
- How do I change the parent bot?
- What happens if I don't link a parent bot?
- Other ways to link a bot
- Where is the data saved?
- What happens when the chat ends?
- What happens with users who are in the middle of a conversation if we change the Parent bot?
- What happens If I link a bot to the Opt-In Snippet?
- What happens If I link a bot to a campaign?
Parent Bot/Linked Bot - Add a main bot to your WhatsApp number
Updated
by Hajar
- What is a parent bot?
- How to link a"Parent bot" to your number
- How do I change the parent bot?
- What happens if I don't link a parent bot?
- Other ways to link a bot
- Where is the data saved?
- What happens when the chat ends?
- What happens with users who are in the middle of a conversation if we change the Parent bot?
- What happens If I link a bot to the Opt-In Snippet?
- What happens If I link a bot to a campaign?
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:

How to link a"Parent bot" to your 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.
- Click on the WhatsApp icon on the left of your dashboard
- Click on your WhatsApp channel and head over to the Settings section
- Find the Linked Bot area and click on the small drop-down menu.

- 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
What happens if I don't link a parent bot?
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.
Other ways to link a bot
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:
- A bot specific for when users Opt-in (getting subscribers).
- A bot specific for a Campaign.
- When you Publish a bot, a pop-up appears and you can link the bot to the number directly from the builder:

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:

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!
What happens If I link a bot to the Opt-In Snippet?
If you connect a bot to a Snippet for the Opt in, it will interrupt the flow of the Parent Bot.
What happens If I link a bot to a campaign?
If you launch a Campaign with a bot, it will interrupt the flow of the Parent Bot.