From 0e2bb7b4d4833ee056bb47256ab101ac6b21bf13 Mon Sep 17 00:00:00 2001
From: Tejas Mahajan <141305477+mahajantejas@users.noreply.github.com>
Date: Wed, 15 Jul 2026 18:44:41 +0530
Subject: [PATCH 1/3] Enhance WhatsApp Groups Automation documentation
Added detailed instructions for managing WhatsApp phone connections, creating groups, and setting primary phones in collections.
---
.../WhatsApp Groups Automation Features.md | 118 +++++++++++++++++-
1 file changed, 117 insertions(+), 1 deletion(-)
diff --git a/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md b/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
index 8c9eeffaa..5b5ea86b8 100644
--- a/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
+++ b/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
@@ -1,13 +1,91 @@
-### **5 minute read `Beginner`**
+### **5 minute read `Beginner`**
## User Guide: WhatsApp Groups Automation Features: Basic
This document provides details on using basic features of syncing all the WhatsApp Groups, sending messages and media to the groups from the Glific interface, creating collections or groups of groups to send targetted messages to a large number of groups and scheduling messages to the collections in advance.
+### Phone connection status and reconnecting
+The WhatsApp Phones page now shows each managed phone's live connection status, and a phone that gets logged out can now be reconnected directly from Glific by scanning a QR code.
+
+#### Viewing Connection Status
+1. Go to `WhatsApp Groups` → `WhatsApp Phones`.
+2. Each row shows the phone number, an optional label, its current Status, and when it was Last checked.
+3. Click Sync statuses (top right) at any time to refresh the status of all listed phones on demand.
+
+
+
+WhatsApp Phones — status list
+1. Sync statuses — manually refreshes the connection status of every phone in the list.
+2. Status badge — Active (green) means the phone is connected and sending/receiving normally; Qr-Screen (red) means it has been logged out and needs to be reconnected.
+3. Actions — QR icon appears for a disconnected phone; click it to open the reconnect flow.
+
+
+### Reconnecting a Logged-Out Phone
+If a phone shows a Qr-Screen status, it has been logged out of WhatsApp Web (e.g. session expired, phone unlinked). Use this flow instead of going to the Maytapi console.
+1. On the WhatsApp Phones page, click the QR icon in the Actions column for the affected phone.
+2. The Reconnect dialog opens with a live QR code and instructions.
+3. On the phone itself: open WhatsApp → Linked devices → Link a device, then scan the QR code shown in Glific.
+
+
+
+4. Reconnect dialog — QR code to scan
+ - QR code — scan this from the phone's WhatsApp → Linked devices → Link a device screen.
+ - Status: Qr-Screen — confirms the phone is currently disconnected and waiting to be scanned.
+ - Log out & refresh QR — use if the QR code expires, to generate a fresh one.
+
+5. After scanning, the dialog shows a loading state while WhatsApp links the session.
+
+
+
+6. Reconnect dialog — linking in progress. Once linked, WhatsApp Web loads the phone's chats inside the dialog.
+
+
+
+7. Reconnect dialog — session linked, chats loaded
+8. Back on the WhatsApp Phones page, click Sync statuses to confirm the phone now shows Active.
+
+
+
+- Note: Reconnecting only re-links the WhatsApp Web session for that phone; it does not affect groups, flows, or message history tied to it.
+
### Group Chats
1. Shows all the groups and the group chats that the maytapi linked phone number is part of.
2. Provides an interface to see the chats, group details, and send messages and media to the groups.
+### Create Groups
+
+Creating a WhatsApp Group
+Use this to spin up a new WhatsApp group from Glific and add members in bulk, instead of creating the group manually on WhatsApp first.
+
+
+
+1. Go to `WhatsApp Groups` → `Group Chats`.
+2. Click `New group` (top right of the Groups panel).
+3. In the Create WhatsApp group dialog, fill in the fields (see callouts below).
+
+
+
+4. Create WhatsApp group dialog
+ 1. Group name — the name of the WhatsApp group as it will appear on WhatsApp.
+ 2. Creator phone — the managed phone number that creates the group on WhatsApp; it becomes the group's primary phone in Glific.
+ 3. Upload File — upload a CSV of members to add to the group. Must include a phone column; a name column is optional.
+ 4. View Sample — opens a [template Google Sheet](https://docs.google.com/spreadsheets/d/1-oupACzXqNWURa9nUv0rvpLrBNRTMRMN5EG-mY3zCvg/copy) showing the expected CSV format (see below).
+
+5. CSV Template for Bulk Member Import, add the names and phone numbers with the country code this template and export the file as a csv
+
+
+5. Create — submits the form and creates the group on WhatsApp with the uploaded members.
+
+### Filtering groups by phone number
+When an organization manages multiple WhatsApp numbers, the groups list can get long. Use the Phone Number filter to narrow it down to groups tied to one or more specific numbers.
+
+
+
+1. Go to `WhatsApp Groups` → `Group Chats`.
+2. In the Groups panel, click the Phone Number dropdown, next to Sync and New group.
+3. Check one or more phone numbers from the list.
+4. The groups list updates to show only groups linked to the selected number(s).
+
### Group Collections
1. Group collection is a group of groups. A way to club together with groups. This is to enable sending or scheduling of messages to the bulk of the groups from the single action.
@@ -21,11 +99,49 @@ This document provides details on using basic features of syncing all the WhatsA
+### Setting a Primary Phone (Collections & Groups)
+When a group or a collection of groups has more than one managed phone connected, only one phone — the primary — is actually used to send messages. Glific now lets you set (and change) that primary phone from the Collections page or from an individual group.
+
+#### Why use more than one phone per group?
+Connecting multiple managed phones to a group (or collection) and being able to switch the primary on demand protects program delivery in two common situations:
+- Avoiding message delays — if the primary number is rate-limited or slow, switching to a healthy secondary keeps broadcasts moving instead of stalling behind one number.
+- Avoiding outages from number blocks/suspensions — if Meta blocks or suspends a number, the group isn't stuck waiting on that number to be restored; a different active phone can be promoted to primary immediately to keep messages flowing.
+
+#### Setting a Primary Phone for a Collection
+
+Use this to set one phone as primary across every group in a collection in a single action, instead of updating each group individually.
+1. Go to `WhatsApp Groups` → `Collections`.
+2. Go inside the collection, then click Set primary phone (top right, next to Add groups).
+
+
+3. In the dialog, select a phone from Select a phone and click Apply.
+
+
+4. Apply — confirms the change. The phone becomes primary in every group in the collection where it is an active member; groups where it isn't a member are skipped (and reported, so nothing fails silently).
+
+
+- Note: If the selected phone isn't a member of a particular group at all, that group's primary phone is left unchanged — it's only updated where the phone is already an active member.
+- Note: If a group belongs to more than one collection, whichever collection-level primary-phone action was applied most recently is the one that takes effect for that group.
+#### Setting a Primary Phone for a Single Group
+The same change can be made at the individual group level, which is useful when you only need to switch one group over — for example, to route around a number that Meta has temporarily blocked.
+
+
+
+1. Open the group in Group Chats, click the chevron next to the group name, and choose View group details.
+2. In Group Details, open the Phones tab.
+3. Click Set as primary next to the phone you want to promote.
+
+
+
+- Note: Group-level and collection-level changes both write to the same setting — whichever one was applied most recently wins, whether it was set from the group itself or from a collection it belongs to.
+
+
### Sending Messages
1. Send message to the group via group chat
2. Send message to a `Collection` by navigating to `Collections` list next to `Groups` window.
+
### Sending Media
#### Prerequisite for sending media:
From fcc2d535dd5951bf6d0941cd1e88b62cf887bc97 Mon Sep 17 00:00:00 2001
From: Tejas Mahajan <141305477+mahajantejas@users.noreply.github.com>
Date: Wed, 15 Jul 2026 18:48:06 +0530
Subject: [PATCH 2/3] Revise WhatsApp Groups Automation Features documentation
Updated the WhatsApp Groups Automation Features documentation to enhance clarity and structure.
---
.../WhatsApp Groups Automation Features.md | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md b/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
index 5b5ea86b8..90da0ce43 100644
--- a/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
+++ b/docs/6. WhatsApp Groups Automation/WhatsApp Groups Automation Features.md
@@ -1,4 +1,12 @@
-
### **5 minute read `Beginner`**
+
| 5 minutes read | +Level: Beginner | +Last Updated: July 2026 | +