Hermes WhatsApp Group Chat: What To Look For

Julian Goldie — founder, AI Profit Boardroom
By Julian Goldie · 8 min read
Get The AI Profit Stack Join AIPB →
🎯 1,000+ done-for-you AI agent workflows 📅 4 live coaching calls every week 🛡️ 7-day refund + 30-day ROI guarantee 👥 3,400+ AI operators inside

Hermes WhatsApp group chat support runs through the Baileys bridge in bot mode, and it is off until you turn it on: the default group policy is pairing, which forwards nothing from groups. To get Hermes Agent answering inside a WhatsApp group, you switch the group policy to allowlist (with the group's JID) or open, decide which participants may talk to it, and, if you want a quiet bot, make it reply only when someone mentions it.

📺 Watch: New Hermes Agent Mobile App Is Absolutely INSANE!

🔥 Get the Agent OS as a free bonus: AI Profit Boardroom members get the full Agent OS zip, prompt libraries, daily tutorials and weekly live coaching calls. → Get inside

That is the whole job in one paragraph. The rest of this page walks through each setting from the Hermes WhatsApp docs, the order to do them in, and the traps that make a group bot stay silent.

If you want the step-by-step video trainings, the installable Agent OS and four coaching calls a week while you set this up, join the AI Profit Boardroom. Over 3,400 members are building agents like this one right now.

How Hermes WhatsApp Group Chat Works

Hermes has two WhatsApp integrations. The main one is a built-in bridge based on Baileys, which emulates a WhatsApp Web session. It does not use the official Business API, and you don't need a Meta developer account.

The second is the WhatsApp Business Cloud API adapter. It is the official Meta path, but the docs say it handles direct messages only in v1. If you need group chats, the docs point you back to the Baileys bridge.

So every group setup on this page uses the Baileys bridge, in bot mode, on a dedicated phone number.

The key rule, in the docs' own words: "Groups are gated by group policy, not by the DM allowlist." Adding numbers to your DM allowlist does nothing for groups until the group policy lets them in.

Before You Start: Bot Mode and a Dedicated Number

The bridge has two modes. Bot mode uses a separate number that people message directly, and the docs recommend it for multiple users and lower ban risk. Self-chat mode is you messaging yourself on your own WhatsApp. Groups are documented under bot mode.

You need three things:

The docs also carry a clear warning. WhatsApp doesn't officially support third-party bots outside the Business API, so the bridge carries a small risk of account restrictions. Use a dedicated number, keep usage conversational, and don't automate outbound messages to people who haven't messaged first.

Set It Up Step by Step

  1. Run hermes whatsapp and choose bot mode. You can also run hermes gateway setup and pick WhatsApp.
  2. On the bot's phone, open WhatsApp, go to Settings, Linked Devices, Link a Device, and scan the QR code in your terminal. QR codes refresh about every 20 seconds, and the terminal should be at least 60 columns wide.
  3. In ~/.hermes/.env, set WHATSAPP_ENABLED=true, WHATSAPP_MODE=bot and WHATSAPP_ALLOWED_USERS with phone numbers in country-code format, no plus sign and no spaces.
  4. Set the group policy: WHATSAPP_GROUP_POLICY=allowlist plus WHATSAPP_GROUP_ALLOWED_USERS with the group JID, or WHATSAPP_GROUP_POLICY=open.
  5. Optional: set WHATSAPP_REQUIRE_MENTION=true so the bot only answers mentions, replies and slash commands.
  6. Start the gateway with hermes gateway in the foreground, or hermes gateway install to run it as a user service. It starts the bridge from the saved session.
  7. Add the bot's number to the WhatsApp group from a phone. The docs describe open as admitting every group the bot "is a member of", so the number has to be in the group.

Changing any bridge setting later, such as the group policy, allowlists or mention settings, restarts the bridge on the next connection without re-pairing.

📺 Watch: How to Run Hermes Agent OS on a VPS

The Four Group Policies

The setting is WHATSAPP_GROUP_POLICY in the env file, or whatsapp.group_policy in config.yaml. The environment variables reference lists four values.

PolicyWhat reaches Hermes from groupsWhen to use it
pairing (default)NothingYou only want DMs
allowlistOnly the groups whose JIDs you listA team group or one customer group
openEvery group the bot is a member ofA bot number that only joins groups you control
disabledNothingGroup intake switched off on purpose

For allowlist, list the groups as comma-separated group JIDs in WHATSAPP_GROUP_ALLOWED_USERS or whatsapp.group_allow_from. The docs show the format as 120363001234567890@g.us.

The WhatsApp page doesn't document a dedicated command for finding a group's JID. What it does document is debug mode: set WHATSAPP_DEBUG=true, restart the gateway, and raw message events show up in bridge.log.

Who Inside the Group Gets Through

Letting a group in is step one. Each sender is then checked like any other gateway user.

That last point catches people. Open does not mean anyone in any group can talk to the bot.

And if you set no access control at all, the docs say the gateway denies all incoming messages as a safety measure.

For a private number, also set whatsapp.unauthorized_dm_behavior to ignore. The global default is pair, which sends unknown DM senders a pairing code.

📺 Watch: NEW Hermes Agent Cloud Update is INSANE!

Make It Reply Only When Mentioned

By default, the bot answers every admitted group message. In a busy group that gets noisy fast.

Set require_mention: true in config, or WHATSAPP_REQUIRE_MENTION=true in the env file. The bot then answers only @mentions, replies to the bot, or slash commands.

Groups you list in free_response_chats are exempt, so you can keep one small working group fully chatty and every other group mention-only.

One more detail from the docs: blue ticks are off by default. When you switch that bridge option on, only messages that pass the DM, group and mention filters get marked as read.

One Shared Brain or One Session Per Person

Group memory is controlled by group_sessions_per_user, documented on the configuration page.

The default is true. Each sender in a group gets their own session when the platform provides a user ID, so one person's long task doesn't fill another person's context.

Set it to false and the whole group shares one session. Everyone sees the same context, but they also share token costs, interrupt state and context growth. DMs aren't affected either way.

The session lifecycle docs add that WhatsApp IDs are canonicalized, so a JID and LID alias flip doesn't split a person into two sessions.

Post Scheduled Updates Into a Group

Hermes cron jobs can deliver into a WhatsApp chat with a whatsapp: target followed by the JID. The docs example is whatsapp:123456@g.us. WHATSAPP_HOME_CHANNEL sets a default chat for cron and notification delivery.

A simple small-business use: a morning summary posted into your staff group, while the same group can still mention the bot with questions during the day.

If you want help mapping which jobs belong in a group and which belong in DMs, book a free AI strategy session and we'll map it with you.

Limits Worth Knowing

For the full DM setup and voice notes, read the Hermes Agent WhatsApp guide. To see how this fits a full agent setup, the Agent OS guide shows how Hermes sits next to your other agents, and Goldie Bench shows how the models you might plug in compare on the same tasks.

Troubleshooting a Silent Group Bot

Stuck on a step? Get a free AI strategy session and bring your config.

FAQ

Can Hermes Agent reply in WhatsApp group chats?

Yes, through the Baileys bridge in bot mode. Change WHATSAPP_GROUP_POLICY from its default pairing, which forwards nothing from groups, to allowlist with group JIDs, or to open.

How do I make Hermes reply only when mentioned in a WhatsApp group?

Set WHATSAPP_REQUIRE_MENTION=true, or require_mention: true in config. The bot then answers only @mentions, replies to it, or slash commands, except in groups listed in free_response_chats.

Does the WhatsApp Business Cloud API support group chats in Hermes?

No. The docs say the whatsapp_cloud adapter handles direct messages only in v1, and to use the Baileys bridge if you need groups.

Does everyone in a WhatsApp group share one Hermes conversation?

Not by default. group_sessions_per_user is true, so each sender gets their own session. Set it to false for one shared session per group.

Set the group policy, add the bot to one test group, and mention it. Then get the trainings and the Agent OS inside the AI Profit Boardroom, or book a free AI strategy session to plan your Hermes WhatsApp group chat setup with us.

What members say about the AI Profit Boardroom

Read all 114 reviews on Skool →

★ 4.9 out of 5 from 114 member reviews on Skool

Yosuke Sato, AI Profit Boardroom member review (5 stars, paying member for 17 months): The best Skool course you get for AI! I have attended a few Skool courses before, but AI Profit Boardroom is the most active community and has great support from the management team, including Julian! You can get the most up-to-date information and practical implementations in this community. I highly recommend this!Mazzie T, AI Profit Boardroom member review (5 stars, paying member for 10 months): My mind is blown everyday with all the content and the incredible information. So much support and I love the personalised attention and quick responses. The community is great and people are very responsive and helpful.Rene Clayton, AI Profit Boardroom member review (5 stars, paying member for 9 months): The AI Profit Boardroom is a GAME CHANGER people. I could not be more thrilled that I joined!! So much support, more information than you can even consume, a huge value for what the small fee was. I have grown my business, my knowledge and my FUN!. SUCH a fantastic leader and group of humans. I am incredibly honored to be a part of this fantastic group of intelligent humans :-) THANK YOU!Arpiet Malpani, AI Profit Boardroom member review (5 stars, paying member for 8 months): Incredible learning from Julian and team. I started out in march and was able to build end to end SAAS with the help and learning from this group. I am incredibly thankful to Julian for crazy support and prompt response.James Grimm, AI Profit Boardroom member review (5 stars, paying member for 7 months): I asked Julian for help finding local business websites with little to no traffic. Julian was gracious in providing me my personal "how-to" video instruction. Wow, this is the pinnacle of customer service! I am just one of 3,400 subscribers and Julian took the time to help me personally. Thank you Julian for your assistance and outstanding custoemr support and care. James (Jim) GrimmNick Good, AI Profit Boardroom member review (5 stars, paying member for 4 months): I’m part of many AI groups and hands down, what Julian Goldie, has built here…the classroom trainings are amazing, but the community he has created is second to none (the community is worth the cost of joining!). If you’re looking to become the AI expert and build/create something meaningful, then AI Profit Boardroom is for YOU!Steven Gray, AI Profit Boardroom member review (5 stars, paying member for 4 months): Been in awhile. I’m a dad on a factory shift, not a tech bloke. Julian’s lot showed me how to use AI without drowning in tools. Avatar, voice, the workflow thinking — that’s what I needed. If you’re stuck on “where do I start,” this group’s worth it. I always read them.Steve Erickson, AI Profit Boardroom member review (5 stars, paying member for 4 months): I asked Julian a simple question, and he ended up creating a 10-minute video and a guide breaking down in extreme detail what I had asked. Amazing response!Rod Martin, AI Profit Boardroom member review (5 stars, paying member for 3 months): Julian is brilliant, and more prolific than I can keep up with (which is a great thing). His AgentOS is remarkable, and he is THE go-to guy for what you can really do (and not do) with the ever-increasing deluge of new AI upgrades and tools. HIGHLY recommend.Daniel Shulman, AI Profit Boardroom member review (5 stars, paying member for 4 months): Julian is very helpful. He doesn't try sell stuff you dont need and will give you a straight answer to your questions.Rj Herzog, AI Profit Boardroom member review (5 stars, paying member for 5 months): Top notch. If you are searching & searching thinking there is always something better out there.... You just found it. No need to look any further. Goldie covers it all & is super helpful. Can't beat the group either. Really can't recommend this group enough.Jermey Matthews, AI Profit Boardroom member review (5 stars, paying member for 6 months): While he has the capacity to do it, Julian is definitely doing the unscalable things to support his community.

Ready To Join The #1 AI Community?

Join 3,400+ entrepreneurs inside the AI Profit Boardroom. Get the Agent OS, 1,000+ plug-and-play AI agent workflows, daily Q&A with Julian and 4 live coaching calls every week.

Join The AI Profit Boardroom →

7-Day No-Questions Refund • 30-Day ROI Guarantee

← Back to all posts