WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation adds participants to a specified group in a messaging platform. It is useful for automating group management tasks such as adding multiple users to a group chat based on session and group ID inputs. For example, it can be used to programmatically add new members to a project discussion group or community chat.

Use Case Examples

  1. Add multiple participants to a WhatsApp group by providing the group ID and a list of participant IDs in JSON format.
  2. Automate adding users to a group session for event coordination or team collaboration.

Properties

Name Meaning
Session The session name used to identify the messaging session for the operation.
Id The unique identifier of the group to which participants will be added.
Participants A JSON array of participant objects, each containing an ID, representing the users to be added to the group.
Request Options Optional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout duration.

Output

JSON

  • success - Indicates whether the participants were successfully added to the group.
  • addedParticipants - Details of the participants that were added to the group.
  • errors - Any errors encountered during the addition of participants.

Dependencies

  • Requires an API key or authentication token for the messaging platform to authorize the addition of participants to groups.

Troubleshooting

  • Common issues include invalid group ID or participant IDs, which result in errors indicating the group or user was not found.
  • Timeout errors may occur if the server does not respond within the specified timeout period; increasing the timeout or checking network connectivity can help.
  • SSL certificate validation errors can be bypassed by enabling the 'Ignore SSL Issues' option, but this reduces security.
  • Proxy misconfiguration can prevent requests from reaching the server; verify proxy settings if used.

Links

Discussion