WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Groups → Update Group

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to update existing WhatsApp groups associated with a specified WhatsApp number. It allows users to modify group details such as the group name, description, permissions for participants, and ephemeral message settings.

Common scenarios where this node is beneficial include managing WhatsApp groups for customer support teams, marketing campaigns, or community engagement by programmatically updating group information without manual intervention. For example, a business could use this node to rename a group after a campaign ends or change who can send messages in the group based on evolving communication policies.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) through which the group is managed. This is selected from available WhatsApp numbers linked to the account.
Group ID The unique identifier of the WhatsApp group to update. Examples include formats like 447362053576-1500000000 or 447362053576-1500000000@g.us.
Group Name The new name to assign to the group.
Description Optional. A textual description of the group, up to 500 characters.
Group Permissions Settings controlling participant permissions within the group:
- Edit Settings Permission: Who can edit group settings (All Participants or Admins Only).
- Send Messages Permission: Who can send messages.
- Invite Permission: Who can invite new participants.
- Require Approval: Whether new participants require admin approval (boolean).
Ephemeral Messages Controls automatic deletion of messages in the group. Options are:
- Off
- 24 Hours
- 7 Days
- 90 Days

Output

The node outputs JSON data representing the result of the update operation on the WhatsApp group. This typically includes confirmation of the updated group properties or any relevant metadata returned by the WaliChat API.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API via an API key credential.
  • The node depends on dynamic loading of options for WhatsApp numbers and groups, which requires proper API access and permissions.
  • No additional external services beyond the WaliChat API are required.

Troubleshooting

  • Common Issues:

    • Invalid or expired API key may cause authentication failures.
    • Specifying a non-existent WhatsApp number or group ID will result in errors.
    • Insufficient permissions in the WhatsApp group to perform updates may cause authorization errors.
    • Providing invalid values for permissions or ephemeral message settings might lead to request rejections.
  • Error Messages:

    • "Invalid API key": Check that the API key credential is correctly configured and active.
    • "Group not found": Verify the Group ID corresponds to an existing group under the selected WhatsApp number.
    • "Permission denied": Ensure the authenticated user has rights to update the group.
    • "Invalid parameter": Confirm all input fields conform to expected formats and allowed values.

Resolving these usually involves verifying credentials, ensuring correct selection of WhatsApp number and group, and validating input parameters.

Links and References

Discussion