---
title: "How to Add a Bot to a WhatsApp Group: Step by Step and Admin Permissions"
description: "Learn how to add a bot to a WhatsApp group: which number to use, how to connect it, add it to the group and make it admin, and what to do if it doesn't reply."
featured_image: "https://9bot.com.br/wp-content/uploads/2026/10/9bot-how-to-add-a-bot-to-a-whatsapp-group.webp"
url: "https://9bot.com.br/en/how-to-add-a-bot-to-a-whatsapp-group/"
date_modified: "2026-10-30T01:11:48+00:00"
last_updated: "2026-10-30T01:11:48+00:00"
---

# How to add a bot to a WhatsApp group: step by step and admin permissions

Find out which number the bot uses, how to connect it, add it to your group and give it the right permissions, and what to do when it doesn't reply.

botwhatsapp groupadmin9bot

Reading time: 6 min

## In this article

1. [Step by step in the 9bot dashboard](#painel-9bot)
2. [Direct answer](#resposta)
3. [How a bot joins a group](#como-funciona)
4. [Before you start](#antes)
5. [Step by step](#passos)
6. [Why the bot needs to be admin](#permissoes)
7. [Bot not replying? Fixes](#problemas)
8. [Build a bot or use a ready one?](#criar-ou-usar)
9. [What to set up first](#o-que-configurar)
10. [Read also](#artigos-relacionados)
11. [FAQ](#faq)

## How it works in practice

In the first phone, the bot number was added but not promoted: spam stays and .menu does nothing. In the second, the bot was made a group admin: .menu and .rules answer and the spam is deleted.

In the first phone, the bot number was added but not promoted: spam stays and .menu does nothing. In the second, the bot was made a group admin: .menu and .rules answer and the spam is deleted.

![Want to automate your WhatsApp groups? Discover 9bot and set up alerts, commands and integrations in minutes. Free trial](https://9bot.com.br/wp-content/uploads/2026/06/1stBannerUniversal-EN.gif)[](https://9bot.com.br/en/start-now/)

## Step by step in the 9bot dashboard

In the side menu, open **Commands**. Under **Custom commands** you also find **Configure Menu** and **Rules and Help**. The screenshots below come from the real dashboard, in a test group called "Seu Grupo", with member names and contacts blurred. The numbers on the images follow the order of the clicks.

Once the bot is in the group, commands are the first way members interact with it.

### Step 1: Create a command

1. Click **New command**.

![9bot Commands page with the New command button](https://9bot.com.br/wp-content/uploads/2026/10/9bot-comandos-novo-en.webp)

Step 1: in Commands, click New command.

### Step 2: Fill in the command

1. In **Name**, give it an internal name, such as "Group rules".
2. In **Trigger**, type the command. It must start with a period, exclamation mark or slash.
3. Under **Response type**, choose **Fixed**, **Dynamic**, **API** or **Conditional**.
4. Write the **Response content**. The **Media URL** is optional.
5. Click **Save Command**.

![9bot New custom command window with name, trigger, response type and content](https://9bot.com.br/wp-content/uploads/2026/10/9bot-comandos-formulario-en.webp)

Step 2: fill in name, trigger, response type and content, then save the command.

Want to try it in your group? See the [9bot plans with a 7-day trial](https://9bot.com.br/en/start-now/).

**Direct answer:** To add a bot to a WhatsApp group, connect a WhatsApp number you control to the bot (in 9bot, with a pairing code or QR code), add that number to the group like any contact and make it a group admin. Then type `.menu` in the group to check that it replies. Without admin rights, the bot can't delete other members' messages or approve join requests, because WhatsApp only lets admins do that.

## How a bot joins a WhatsApp group

On WhatsApp, a group bot isn't an “app” installed inside the group. It's a **WhatsApp number** connected to a system that reads messages and replies automatically. To the group, that number is just another participant: someone has to add it and, for moderation, make it an admin. Some groups also add an [AI bot that answers questions in the group](https://9bot.com.br/en/ai-chatgpt-bot-whatsapp-group/).

Here's how it works in 9bot:

- You connect a WhatsApp number to the dashboard with a **pairing code or QR code**, the same way you link WhatsApp Web.
- That number becomes the “bot number”. That's the one you add to your groups.
- Automations (welcome messages, anti-link, commands, schedules) are set up in the Dashboard, group by group.

**What is the “bot number”?** It's the number you connect. 9bot asks that this WhatsApp account be used only by the bot and not on another device at the same time, so the safest option is a number separate from your personal one.

## Before you start

- **A WhatsApp number for the bot**, with the app installed on a phone you control. It will be used only by the bot.
- **Admin rights in the group** (or help from an admin), since you need to add the number and promote it.
- **A 9bot account.** The frial lasts 7 days, has no setup fee and you can cancel anytime. See the details on the [plans page](https://9bot.com.br/en/start-now/).

## Step by step: how to add the bot to your group

### Step 1: Connect the number to 9bot

1. Create your account and follow the onboarding in the Dashboard.
2. Choose to connect with a **pairing code** or a **QR code**.
3. On the bot number's phone, open WhatsApp and go to **Linked devices > Link a device** to scan the QR code or enter the code ([WhatsApp Help Center](https://faq.whatsapp.com/378279804439436/?locale=en_US)).

### Step 2: Add the number to the group

1. Save the bot number in an admin's phone contacts.
2. Open the group, tap its name and choose **Add members**.
3. Select the bot number and confirm.

**Can't see the option?** If only admins can add members to the group, ask an admin. You can also open the group's invite link on the bot number's own phone.

### Step 3: Make the bot a group admin

1. Tap the group name, then the bot number.
2. Choose **Make group admin** ([how to manage admins](https://faq.whatsapp.com/633713745095781/?locale=en_US)).
3. There's no limit on admins per group, so you don't need to remove anyone.

### Step 4: Test it in the group

1. Type `CODE_OPEN`.menu`CODE_CLOSE` in the group.
2. If the bot replies with the menu, the connection and the group setup are working.
3. Now set up that group's automations in the Dashboard.

## Why the bot needs to be an admin (and what it does with it)

Several moderation actions are reserved for admins in WhatsApp itself. If the bot number isn't an admin, it can't do them for you:

| Action | Admin required? | What 9bot uses it for |
| --- | --- | --- |
| Delete another member's message | Yes. In the app, only up to 2 days after it was sent (source) | Anti-link, word filter and strikes |
| Approve join requests | Yes (source) | Automatic member approval |
| Remove participants | Yes | Penalties, inactivity removal and timed access |
| Reply to commands and send messages | Depends on group permissions | Welcome messages, commands, schedules and announcements |

[](https://faq.whatsapp.com/1370476507114859/?locale=en_US)[](https://faq.whatsapp.com/526742385997912/?locale=en_US)

Want to understand every built-in group permission? See [how to configure participant permissions](https://9bot.com.br/en/whatsapp-group-participant-permissions-guide/).

## The bot isn't replying in the group: what to check

- **Is the number connected?** If 9bot disconnects, go to the Dashboard and reconnect. According to the WhatsApp Help Center, linked devices are logged out if the primary phone goes unused for more than 14 days, so keep the bot number's phone active.
- **Is the number open somewhere else?** The connected WhatsApp account should be used only by 9bot. Don't use the same number on another device at the same time.
- **Is the group admins-only?** If Send new messages is turned off under Group permissions, only admins can post. Make the bot an admin.
- **Did you type the right command?** Use `CODE_OPEN`.menu`CODE_CLOSE` with the dot in front. Custom commands only work after you create them in the Dashboard.
- **Is the automation on for that group?** Settings are per group. Check that the right group is selected in the Dashboard.

## Build your own bot or use a ready-made one?

People searching for “how to create a WhatsApp group bot” usually find two routes:

### Code your own bot

- You need programming skills and a server running 24/7.
- You handle updates whenever WhatsApp changes something.
- Moderation, a dashboard and reports are all on you to build.

### Use a ready-made bot (like 9bot)

- Connect the number and it works, no code required.
- Per-group settings in a dashboard, with ready commands and automations.
- Servers, updates and support are handled by the service.

The same rule applies either way: use the bot to manage groups that want it, not to send mass messages. WhatsApp states in its [Help Center](https://faq.whatsapp.com/5957850900902049/?locale=en_US) that automated or bulk messaging violates its Terms of Service. Before coding your own, weigh [whether to build or buy a group bot](https://9bot.com.br/en/build-or-buy-whatsapp-group-bot/).

## What to set up first

Once the bot is in the group, start with the basics and add the rest gradually:

1. **Automatic welcome message** with 3 to 5 short rules.
2. **Anti-link and anti-spam** to delete invites to other groups and repeated messages.
3. **Commands** like `CODE_OPEN`.rules`CODE_CLOSE` and `CODE_OPEN`.menu`CODE_CLOSE`, so members can help themselves.
4. **Reports** to track joins, exits and messages.

9bot comes with more than 120 built-in commands plus member approval, schedules, RSS and live stream alerts. See the full list in [WhatsApp group bot: a look inside 9bot](https://9bot.com.br/en/more-info/).

**Tip:** automate just a few things at first and tell the group the bot has arrived. Members accept rules more easily when they've been explained.

## Read also

- [WhatsApp group bot: the complete guide](https://9bot.com.br/en/whatsapp-group-bot/)
- [WhatsApp group bot: a look inside 9bot](https://9bot.com.br/en/more-info/)
- [How to configure participant permissions on WhatsApp](https://9bot.com.br/en/whatsapp-group-participant-permissions-guide/)
- [WhatsApp group admin commands for moderation and management](https://9bot.com.br/en/useful-whatsapp-admin-commands/)
- [How to create a WhatsApp group (Android, iPhone and Business)](https://9bot.com.br/en/how-to-create-a-whatsapp-group/)
- [WhatsApp group invite link: create, copy, QR code and reset](https://9bot.com.br/en/whatsapp-group-invite-link/)
- [AI bot (ChatGPT) in a WhatsApp group](https://9bot.com.br/en/ai-chatgpt-bot-whatsapp-group/)
- [Build your own WhatsApp bot or buy one](https://9bot.com.br/en/build-or-buy-whatsapp-group-bot/)

![Stop managing your WhatsApp group manually: set up commands, alerts and automations with 9bot. 50% OFF: Automate my group](https://9bot.com.br/wp-content/uploads/2026/06/2ndBanner-bot-para-grupos-EN.gif)[](https://9bot.com.br/en/start-now/)

## FAQ

What character must a 9bot command start with?

The trigger must start with a period, exclamation mark or slash.

Which number should I use for the group bot?

A WhatsApp number you control that is dedicated to the bot. In 9bot, the connected WhatsApp account is used only by the bot and shouldn't be used on another device at the same time, so a number separate from your personal one is best.

Can I add the bot to several groups?

Yes. Add the same number to each group and make it an admin wherever it will moderate. Automations are configured per group in the Dashboard.

Does the bot need to be a group admin?

To moderate, yes. Deleting other members' messages, approving join requests and removing participants are actions WhatsApp only allows for admins.

Does the bot take up a spot in the group?

Yes. The bot number joins as a participant and counts toward the group limit, which is currently up to 1,024 members according to the WhatsApp Help Center.

How do I create a WhatsApp group bot without coding?

Use a ready-made service. In 9bot, you connect a number with a pairing code or QR code, add it to the group, make it admin and set up welcome messages, anti-link and commands in the Dashboard, without writing code.

Can the bot read members' private messages?

No. The bot only receives what reaches its own number: messages in the groups it's in and chats sent directly to it.

![9bot CTA](https://9bot.com.br/wp-content/uploads/2026/05/Automatize-a-gestao-do-seu-grupo-com-o-9bot-EN.png)[  ](https://9bot.com.br/en/start-now/)

## Sitemap

See the full [sitemap](https://9bot.com.br/sitemap.md) for all pages, and the [glossary](https://9bot.com.br/glossary/) for 9bot terms.
