Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
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
- Automatically approve pending join requests for a WhatsApp group to streamline group management.
- 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
- WARest API Documentation - Approve Join Request - Official API documentation for the approve join request endpoint used by this node.
