Wanesia WhatsApp

Interact with Wanesia WhatsApp API

Overview

This node interacts with the Wanesia WhatsApp API to manage WhatsApp groups, specifically allowing users to set various group settings. It is useful for automating the configuration of WhatsApp groups, such as updating the group subject, description, and controlling admin permissions for messaging and settings changes. For example, a user can automate changing a group's name and restrict message sending to admins only.

Use Case Examples

  1. Automate updating a WhatsApp group's subject and description based on external triggers.
  2. Restrict group messaging to admins only to maintain order in large groups.
  3. Allow only admins to change group settings to prevent unauthorized changes.

Properties

Name Meaning
Token Authentication token for the Wanesia device, required to authorize API requests.
Group Subject Optional new subject or name for the WhatsApp group.
Group Description Optional new description for the WhatsApp group.
Admin Only Messages Boolean flag to specify if only admins can send messages in the group.
Admin Only Settings Boolean flag to specify if only admins can change group settings.

Output

JSON

  • token - The device token used for authentication.
  • groupid - The WhatsApp group ID for which settings are applied.
  • msgadminonly - Indicates if only admins can send messages ("true" or "false").
  • settingmsgadminonly - Indicates if only admins can change group settings ("true" or "false").
  • description - Optional new group description.
  • subject - Optional new group subject/name.

Dependencies

  • Wanesia WhatsApp API

Troubleshooting

  • Ensure the provided token is valid and has the necessary permissions to modify group settings.
  • Verify that the group ID is correct and the device associated with the token is connected.
  • Common errors include authentication failures due to invalid tokens and permission errors if the device is not an admin in the group.
  • If optional fields like group subject or description are empty, they will not be updated, so verify input values before execution.

Links

Discussion