WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation updates the name of a WhatsApp group using the WARest WhatsApp REST API. It is useful for automating group management tasks such as renaming groups programmatically based on external triggers or workflows. For example, a user can rename a group to reflect a new project name or event title automatically.

Use Case Examples

  1. Automatically rename a WhatsApp group when a project name changes in a project management tool.
  2. Update group names in bulk based on a list of new names from a CRM system.

Properties

Name Meaning
Session The WhatsApp session identifier to use for the API call. It can be selected from a list of existing sessions or entered manually.
Group ID The unique identifier (JID) of the WhatsApp group to rename. It must end with @g.us or be the raw group ID.
Group Name The new name to assign to the WhatsApp group.

Output

JSON

  • json - The API response containing the result of the update group name operation.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; otherwise, the API call will fail.
  • Verify the group ID is correct and corresponds to an existing WhatsApp group.
  • The new group name must be a non-empty string; empty names will cause errors.
  • Check API credentials and network connectivity if requests fail.
  • Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors returned from the WARest server indicating issues with parameters or permissions.

Links

Discussion