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.

botgroupsmoderationautomation
Reading time: 5 min

How it works in practice

Without a bot, the admin piles up pending requests, a spam link, a question and a forgotten notice. With 9bot, the join is approved with a welcome, the link is deleted with a strike, .menu answers and the scheduled notice goes out at 6 pm.

Want to automate your WhatsApp groups? Discover 9bot and set up alerts, commands and integrations in minutes. Free trial

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

  1. In the side menu, click Groups.
  2. Type the group name in the search box.
  3. 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.
9bot Groups screen with a search for Seu Grupo and the group selected
Step 1: search for the group and click its card. The badge at the top confirms the selected 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

  1. Click Automations in the side menu.
  2. Find the Link Moderation card ("Block or approve links").
  3. Click Configure to open the Anti-Link window.
9bot Automations screen with the Link Moderation card and the Configure button
Step 2: in Automations, open Link Moderation with the Configure button.

Step 3: Choose the Anti-Link mode and rules

  1. 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.
  2. 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.
  3. Edit the Anti-link warning message. Use @{user} to mention the member, {groupName} for the group name and {link} for the detected link.
  4. Click Save.
9bot Anti-Link window with Moderation Mode, filter options and warning message
Step 3: Anti-Link window with the moderation mode, the filter options and the warning message.

Step 4: Build the whitelist and block files

  1. 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.
  2. In Whitelist of Allowed Links, add one domain per line. A domain allows any address inside it: imgur.com allows imgur.com/abc and www.imgur.com/a/xyz.
  3. Click Save.
9bot Anti-Link with Block documents and files on and a whitelist with imgur.com and docs.google.com
Step 4: document blocking on and two domains allowed in the whitelist.

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

9bot Anti-Link in Remove member mode with Allow text only ticked
Strict setup: Remove member mode with Allow text only ticked.

Step 5: Connect links to the warning system

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

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.

9bot Punishment Ladder with three warnings and a kick on the 4th warning
Punishment Ladder: three warnings and a kick on the 4th warning.

Step 6: Check the logs

  1. Click Moderation in the side menu.
  2. 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.
9bot Moderation screen with Moderation Deletion Logs on the Anti-Link tab
Step 6: log of the messages removed by Anti-Link.

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

Anti-Link options at a glance
OptionWhat it doesWhen to use it
Delete messageDeletes the message with a link that is not allowedOpen groups where you only want to clean up spam
Remove memberDeletes the message and removes the senderGroups with a history of scams and raids
Allow social media linksLets Facebook, Instagram, Twitter, YouTube, TikTok and similar throughCreator and networking communities
Block documents and filesStops PDF, DOCX, ZIP, RAR, APK sent as documentsLarge groups, against malicious files
Allow text onlyBlocks photos, videos, audio, stickers and documentsAnnouncement groups or text only discussion
Warning messageTells the group when a link is removedWhen you want members to see the rule
WhitelistAllows specific domains and everything inside themYour 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:

What a bot does in a WhatsApp group
TaskWhat the bot doesGuide
Greeting new membersSends a welcome with the person's name and the rulesWelcome message and rules
Blocking links and filesDeletes invites to other groups, suspicious links and risky files, with an allowlist of domainsAnti-link
Stopping spam and floodingDetects repeated messages, applies strikes and a punishment ladderAnti-spam
Controlling who joinsApproves join requests with filters and daily limitsApprove members
Sending announcements on timeScheduled and recurring messages (daily, weekly, monthly)Schedule messages
Publishing contentPosts news from RSS feeds and live alerts (Twitch, YouTube, Kick)RSS to WhatsApp
Connecting your systemsREST API and an MCP server for AI assistantsGroups API

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.

  1. 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).
  2. 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.
  3. In the group, tap the bot number and choose Make group admin.
  4. Type .menu in 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?

Free bot, paid service or GitHub project?
OptionReal costWho maintains itBest for
Open-source project (GitHub)Free, but you pay for a server and spend hours on maintenanceYou: setup, updates and fixesDevelopers who want full control
APK or modified WhatsAppFreeNobody guarantees itNobody: WhatsApp says unofficial apps can get you banned
Managed service (like 9bot)Monthly feeThe provider: servers, updates and supportPeople 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.

Start your 7-day trial

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.

Stop managing your WhatsApp group manually: set up commands, alerts and automations with 9bot. 50% OFF: Automate my group

FAQ

Where can I see the links 9bot deleted?
In Moderation > Moderation Deletion Logs, on the Anti-Link tab. That is where the messages removed automatically by the filter are listed.
Does the whitelist allow only the exact page or the whole site?
The whole site. Each line is a domain and allows any address inside it, with or without www. For example, imgur.com allows imgur.com/abc and www.imgur.com/a/xyz.
Does blocking documents also block photos and audio?
No. That option only filters files sent as documents, such as PDF, ZIP and APK. To block photos, videos, audio and stickers, use Allow text only.
What is the 9bot number to add to my group?
There isn't a public one. The bot number is a WhatsApp number you connect to the 9bot dashboard with a pairing code or QR code. Then you add that number to the group and make it an admin.
Does the bot need to be a group admin?
To moderate, yes. Only admins can delete other members' messages, remove participants and approve join requests. For just sending messages, it depends on the group permissions.
Is there a free WhatsApp group bot?
There are open-source projects on GitHub, but you need a server and maintenance. APKs and modified WhatsApp apps are unofficial, and WhatsApp says they can get you banned. 9bot has a 7-day trial.
How much does 9bot cost?
The Basic Pro plan has a 7-day trial, then costs US$35 per month for the first 3 months and US$70 per month after that. No setup fee, cancel anytime.
Can a bot get my number banned?
No bot is immune. The risk comes mainly from bulk, unsolicited messages. Using the bot to moderate and send agreed announcements in groups that want the service lowers that risk.
Can the bot work in several groups at once?
Yes. The same number can be in many groups, and in 9bot automations are configured per group in the Dashboard.