WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation approves join requests for WhatsApp groups using the WARest WhatsApp REST API. It is useful for automating the management of group membership by programmatically approving users who have requested to join a group. For example, a community manager can use this node to automatically approve multiple join requests in bulk without manual intervention.

Use Case Examples

  1. Automatically approve pending join requests for a WhatsApp group to streamline group management.
  2. Use in workflows to approve join requests based on certain criteria or triggers, such as membership verification or payment confirmation.

Properties

Name Meaning
Session The WhatsApp session identifier used to authenticate and perform the operation. It can be selected from existing sessions or entered manually.
Group ID The unique identifier (JID) of the WhatsApp group where the join requests will be approved.
Participants A list of participants (by JID or phone number) whose join requests are to be approved. At least one participant must be specified.

Output

JSON

  • json - The API response containing the result of the approve join request operation, typically including status and details of approved participants.

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; invalid or expired sessions will cause authentication errors.
  • Verify the group ID is correct and that the bot or session user has admin privileges in the group to approve join requests.
  • Make sure the participants list is not empty; the operation requires at least one participant to approve.
  • Check network connectivity and API endpoint availability to avoid request failures.
  • Common error messages include 'Operation not implemented' if the operation name is incorrect, or API errors indicating permission issues or invalid parameters.

Links

Discussion