WhatsApp group bot: what it is, what it does and how to add it to your group
Everything to know before you put a bot in your group: what it automates, which number it uses, how to add it, WhatsApp's rules and what it costs.
How it works in practice

Step by step in the 9bot dashboard
The full path is Groups > your group > Automations > Link Moderation > Configure. The screenshots below come from the real dashboard, in a test group called "Seu Grupo". The numbers on the images follow the order of the clicks.
Link Moderation is usually the first automation worth turning on after you add the bot to a group, because it handles the most common spam on its own: links to other groups, offers and suspicious files. This is the full path in the dashboard.
Step 1: Select the group
- In the side menu, click Groups.
- Type the group name in the search box.
- Click the group card. A badge with its name appears at the top of the dashboard, and everything you configure next applies only to that group.

Quick checkpoint: the number connected to 9bot must be an admin of the group on WhatsApp. Without that it cannot delete messages or remove members. See the WhatsApp group admin powers to understand what each permission allows.
Step 2: Open Link Moderation
- Click Automations in the side menu.
- Find the Link Moderation card ("Block or approve links").
- Click Configure to open the Anti-Link window.

Step 3: Choose the Anti-Link mode and rules
- In Moderation Mode, choose Delete message (deletes the link) or Remove member (deletes it and removes the person from the group). Disabled turns the filter off.
- Tick the options that suit the group: allow social media links, block documents and files, allow text only and send a warning message when removing a link.
- Edit the Anti-link warning message. Use
@{user}to mention the member,{groupName}for the group name and{link}for the detected link. - Click Save.

Step 4: Build the whitelist and block files
- Tick Block documents and files to stop PDF, DOCX, ZIP, RAR, APK and other files sent as documents. Photos, videos, audio and stickers sent in their normal format still go through.
- In Whitelist of Allowed Links, add one domain per line. A domain allows any address inside it:
imgur.comallowsimgur.com/abcandwww.imgur.com/a/xyz. - Click Save.

For a stricter group, use Remove member with Allow text only. Photos, videos, audio, stickers and documents are then blocked too.

Step 5: Connect links to the warning system
- Still in Automations, open the Warning Triggers tab.
- On the Forbidden Links trigger, click Configure and keep Apply warning for this trigger ticked.
- Set the Warning Count that each forbidden link adds (the default is 1).
- Choose whether to Delete detected message and Send moderation alert to admins.
- In Forbidden Domains, list the domains that should trigger a warning.

The Punishment Ladder tab defines what happens at each accumulated warning. By default, the 1st, 2nd and 3rd are warnings with their own message (the 3rd says the next one removes) and the 4th is a kick, after which the person can return. In the Whitelist tab you mark members who never receive warnings. To deal with people who keep pushing anyway, see how to handle difficult members and conflict in a group.

Step 6: Check the logs
- Click Moderation in the side menu.
- Scroll to Moderation Deletion Logs and open the Anti-Link tab to see the messages deleted by the filter. The Anti-Spam tab shows the ones removed by Anti-Spam.

Quick checkpoint: always click Save before closing the window. To review the rest of your moderation routine, use the moderation checklist for large groups.
Anti-Link options at a glance
| Option | What it does | When to use it |
|---|---|---|
| Delete message | Deletes the message with a link that is not allowed | Open groups where you only want to clean up spam |
| Remove member | Deletes the message and removes the sender | Groups with a history of scams and raids |
| Allow social media links | Lets Facebook, Instagram, Twitter, YouTube, TikTok and similar through | Creator and networking communities |
| Block documents and files | Stops PDF, DOCX, ZIP, RAR, APK sent as documents | Large groups, against malicious files |
| Allow text only | Blocks photos, videos, audio, stickers and documents | Announcement groups or text only discussion |
| Warning message | Tells the group when a link is removed | When you want members to see the rule |
| Whitelist | Allows specific domains and everything inside them | Your site, your store and trusted tools |
Recommended setups
- Sales group: Delete message, Block documents and files and your store domain in the whitelist. Customers talk freely and only your link circulates.
- Announcement group: Allow text only with the warning message on. Nothing but text gets through.
- Creator community: Delete message with Allow social media links ticked, so members can show their profiles without opening the door to invites from other groups.
- Job openings group: Remove member with Block documents and files, since fake links and files are how scams get in. See more in job openings group without scams.
What the member sees
When someone sends a link outside the whitelist, the message disappears from the group. If the warning is on, 9bot posts the message you configured, for example "⚠️ @Marcos, links are not allowed in this group!". If the Forbidden Links trigger is on, the warning goes into the Punishment Ladder and the member gets the message for that step. Want to try it in your group? Start with the 9bot plans with a 7-day trial.
Direct answer: A WhatsApp group bot is a WhatsApp number connected to software that reads the group and acts on its own: it welcomes new members, deletes links and spam, applies strikes, answers commands and sends scheduled messages. To use one, you connect a number to the bot (in 9bot, with a pairing code or QR code), add that number to the group and make it an admin.
What is a WhatsApp group bot?
WhatsApp has no "bot store" inside groups. A bot is a regular participant: a WhatsApp number linked to software that follows the conversation and runs the rules you set. The group sees a contact; you configure it from a dashboard. Before coding your own, weigh whether to build or buy a group bot.
That means two things in practice: someone has to add the bot number to the group, and it has to be an admin to do what only admins can, like deleting other members' messages, removing people and approving join requests.
What a bot does in a WhatsApp group
These are the tasks that eat most of a group admin's time, and how 9bot handles each one:
| Task | What the bot does | Guide |
|---|---|---|
| Greeting new members | Sends a welcome with the person's name and the rules | Welcome message and rules |
| Blocking links and files | Deletes invites to other groups, suspicious links and risky files, with an allowlist of domains | Anti-link |
| Stopping spam and flooding | Detects repeated messages, applies strikes and a punishment ladder | Anti-spam |
| Controlling who joins | Approves join requests with filters and daily limits | Approve members |
| Sending announcements on time | Scheduled and recurring messages (daily, weekly, monthly) | Schedule messages |
| Publishing content | Posts news from RSS feeds and live alerts (Twitch, YouTube, Kick) | RSS to WhatsApp |
| Connecting your systems | REST API and an MCP server for AI assistants | Groups API |
Everyday how-tos: create a group, invite link, group names, tag everyone (@all), create a poll, best time to post, hide your number and delete a group. To chain these steps together, see how 9bot workflows automate WhatsApp groups.
What is the bot number and how do you add the bot to a group?
This is the most common question: there is no public 9bot number to add. The bot number is a WhatsApp number that you connect to the dashboard. That way the bot speaks as your project and you stay in control of the number. Ideally, use a number dedicated to the bot that isn't open on another device at the same time.
- Create your 9bot account and, during onboarding, connect the number with a pairing code or QR code (on the phone: WhatsApp > Linked devices > Link a device).
- Save the bot number in an admin's contacts and add it to the group via Add members, or open the group invite link on the bot's phone.
- In the group, tap the bot number and choose Make group admin.
- Type
.menuin the group. If the bot replies, you're set. Now turn on that group's automations in the Dashboard.
Bot not replying? Check that the number is still connected, isn't open on another device, and that the group isn't set so only admins can send messages. The full walkthrough with fixes is in how to add a bot to a WhatsApp group. Some groups also add an AI bot that answers questions in the group.
For the full picture of what can be automated in customer, partner and team groups, read the guide to WhatsApp group automation for business.
Free bot, paid service or GitHub project?
| Option | Real cost | Who maintains it | Best for |
|---|---|---|---|
| Open-source project (GitHub) | Free, but you pay for a server and spend hours on maintenance | You: setup, updates and fixes | Developers who want full control |
| APK or modified WhatsApp | Free | Nobody guarantees it | Nobody: WhatsApp says unofficial apps can get you banned |
| Managed service (like 9bot) | Monthly fee | The provider: servers, updates and support | People who want results without code |
The full comparison, with ban risk and security, is in Free vs Paid WhatsApp Group Bot: Ban Risk, Security and Cost.
Are bots allowed? What WhatsApp doesn't accept
Use the bot to run groups that want the service: moderation, welcoming members and agreed announcements. What WhatsApp fights is bulk, unsolicited messaging, and that applies to any bot, free or paid. Avoid adding lots of people at once or blasting the same message to dozens of groups.
If your group or number has already been restricted, see what to do when a group is suspended or banned.
How much does a WhatsApp group bot cost?
9bot has a single plan, Basic Pro, with every feature: a 7-day trial, then US$35/month for the first 3 months (50% off) and US$70/month from month 4. No setup fee, cancel anytime.
If you provide this service to clients, the guide How Much to Charge to Manage WhatsApp Groups: Pricing Calculator for Agencies and Social Media Managers helps define scope and how to charge.
The greeting, away message and quick replies of the Business app, and what changes in groups, are covered in WhatsApp Auto Reply: How to Set It Up in WhatsApp Business and What to Do in Groups. Developers can also connect AI tools through the 9bot MCP server.
Read also
