Actions55
- Message Actions
- Contact Actions
- Chat Actions
- Group Actions
- Queue Actions
- Account Actions
- Session Actions
- Session Control Actions
- Call Actions
Group → Set Group Config
AI-generatedOverview
The node integrates with the Maytapi WhatsApp Unofficial API to manage WhatsApp groups and their configurations. Specifically, the "Set Group Config" operation allows users to modify various group settings such as who can edit group info, who can send messages, enabling disappearing messages, member permissions, and updating the group's name and description.
This node is beneficial in scenarios where automated or programmatic control over WhatsApp group settings is needed, such as managing community groups, customer support groups, or team collaboration groups. For example, an admin could use this node to restrict message sending to admins only during important announcements or enable disappearing messages for privacy.
Properties
| Name | Meaning |
|---|---|
| Phone ID Source | Select how to provide the Phone ID: either "From Credentials" (uses stored credentials) or "Custom" (enter manually). |
| Phone ID | The custom Phone ID of your WhatsApp instance (required if "Custom" Phone ID Source is selected). |
| Group ID | The unique identifier of the WhatsApp group (conversation ID ending with @g.us). |
| Edit Permission | Who can edit the group information: "Admins Only" or "All Members". |
| Send Permission | Who can send messages in the group: "Admins Only" or "All Members". |
| Disappearing Messages | Enable or disable disappearing messages feature in the group (boolean). |
| Members Can Add Members | Allow or disallow members to add other members to the group (boolean). |
| Approve New Members | Require admin approval for new members joining the group (boolean). |
| Group Name | New name for the group (optional string). |
| Group Description | New description for the group (optional string). |
Output
The node outputs a JSON object representing the response from the Maytapi API after attempting to set the group configuration. This typically includes success status and any relevant data returned by the API about the updated group configuration.
No binary data output is produced by this operation.
Example output JSON structure:
{
"success": true,
"message": "Group configuration updated successfully",
"data": {
"conversation_id": "905301234567-1574073754@g.us",
"config": {
"edit": "admins",
"send": "all",
"disappear": false,
"membersCanAddMembers": true,
"approveNewMembers": true,
"name": "New group name",
"description": "New group description"
}
}
}
Dependencies
- Requires an API key credential for the Maytapi WhatsApp API.
- The node uses the Maytapi REST API endpoint
https://api.maytapi.com/api. - Proper Phone ID must be provided either via credentials or custom input.
- Network access to Maytapi API endpoints is required.
Troubleshooting
- Missing Phone ID: If neither credentials nor custom Phone ID is provided, the node will throw an error stating "Phone ID is required."
- Invalid Group ID: Ensure the Group ID ends with
@g.usand is correct; otherwise, the API may return errors. - Permission Values: Only "admins" or "all" are valid for edit/send permissions; invalid values will cause API errors.
- Boolean Flags: Make sure boolean properties are correctly set; incorrect types might cause unexpected behavior.
- API Errors: Any API request failure will be returned as an error message. Check API key validity, network connectivity, and rate limits.
- Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.