Actions75
- Channel Actions
- Chat Actions
- Client Actions
- Contact Actions
- Group Chat Actions
- Message Actions
- Session Actions
Contact → Get Common Groups
AI-generatedSummary
Retrieves the list of WhatsApp groups that a specified contact belongs to.
Inputs
- sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
- contactId (required) — Unique WhatsApp identifier for the contact (format: number@c.us).
Output shape
array of group objects
Each group includes at least its ID and name; may contain additional chat metadata. The array can be empty if the contact shares no groups.
Examples
Example 1: Add the common groups of a contact to a notification channel
resource=Contact, operation=Get Common Groups, sessionId set to a valid session, contactId set to the target contact ID
Example 2: Identify overlapping groups between two contacts for community analysis
resource=Contact, operation=Get Common Groups, sessionId set, contactId set to the first contact (second contact implied via workflow logic)