GOWA icon

GOWA

Interact with Go WhatsApp Web MultiDevice API

Overview

This node integrates with the Go WhatsApp Web MultiDevice API to perform various group management operations on WhatsApp groups. Specifically, the "Demote Participant" operation allows you to demote one or more participants from admin status within a specified WhatsApp group. This is useful for managing group roles dynamically, such as when an admin should no longer have administrative privileges.

Practical examples include:

  • Automatically demoting users who violate group rules.
  • Adjusting admin roles based on user activity or time.
  • Managing group permissions programmatically in large communities.

Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group where the participant(s) will be demoted.
Participant Phone Comma-separated phone number(s) of the participant(s) to demote from admin status.

Output

The node outputs JSON data representing the result of the demotion operation. This typically includes confirmation of the action performed on the specified participants within the group. The exact structure depends on the API response but generally confirms success or failure per participant.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the Go WhatsApp Web MultiDevice API.
  • Needs an API authentication token or key configured via n8n credentials (referred generically as "an API key credential").
  • The node expects the base URL of the API to be set in the credentials configuration.

Troubleshooting

  • Common issues:

    • Invalid or missing Group ID: Ensure the group ID corresponds to an existing WhatsApp group accessible by the authenticated account.
    • Incorrect participant phone numbers: Phone numbers must be correctly formatted and belong to current group members.
    • Insufficient permissions: The authenticated user must have admin rights to demote other admins.
    • Network or API errors: Check connectivity and API service status.
  • Error messages:

    • "Unknown resource": Occurs if the resource parameter is not set to "group" for this operation.
    • API error responses indicating invalid parameters or unauthorized actions should be resolved by verifying input values and credentials.

Links and References

Discussion