Wanesia WhatsApp

Interact with Wanesia WhatsApp API

Overview

This node interacts with the Wanesia WhatsApp API to manage WhatsApp groups, specifically allowing the promotion or demotion of group members to or from admin status. It is useful for automating group administration tasks such as setting admin privileges for multiple members in a WhatsApp group.

Use Case Examples

  1. Promote a list of members to admin in a WhatsApp group.
  2. Demote specific members from admin status in a WhatsApp group.

Properties

Name Meaning
Token Authentication token for the Wanesia device, required to authorize API requests.
Member Numbers Comma-separated list of WhatsApp member numbers to be promoted or demoted as admins.
Is Admin Boolean flag indicating whether to promote (true) or demote (false) the specified members as admins.

Output

JSON

  • json - Response from the Wanesia WhatsApp API indicating the result of the set admin operation.

Dependencies

  • Wanesia WhatsApp API

Troubleshooting

  • Ensure the token is valid and has the necessary permissions to modify group admin settings.
  • Verify that the group ID and member numbers are correctly formatted and exist in the WhatsApp group.
  • Common errors include authentication failures, invalid group or member IDs, and API request limits. Check the error message returned in the output for details.

Links

Discussion