https://discord.gg/botpress logo
Multiple Whatsapp Numbers on same Bot
# 🤝help
b
Hi, does anyone know if it is possible to associate multiple whatsapp numbers to a single bot? I'm trying to build a multi-bot where depending on which number the conversation was initiated to, it configures different environment variables and customizes flow. Appreciate any help on this subject!
c
Yes, it is possible, but it depends on the platform you're using to run your WhatsApp bot.
Most whatsapp business API providers allow you to manage multiple WhatsApp numbers, but each number usually requires its own session or API configuration.
l
In Botpress you can integrate only one WhatsApp number per bot. So you will have to build multiple bots
c
Yes, it is possible, Out of the box, you need multiple bots. If you want one bot handling multiple numbers dynamically, yu 'll need to implement a middleware layer outside Botpress.
l
that is true - you will need to build a custom solution to achieve this feat. It is rather easy to have individual bots for each numbers