WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation creates a new group within a specified session. It is useful for scenarios where users need to programmatically manage group communications, such as setting up chat groups for team collaboration or customer support. For example, a user can create a group by specifying the session name, group name, and participants to automate group creation workflows.

Use Case Examples

  1. Creating a group for a project team by specifying the session, group name, and participant IDs.
  2. Automating customer support group creation by dynamically adding participants based on incoming requests.

Properties

Name Meaning
Session The name of the session in which the group will be created.
Name The name of the group to be created.
Participants A JSON array of participant objects, each containing an ID, to be added to the group.
Request Options Optional settings for the request such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • id - The unique identifier of the created group.
  • name - The name of the created group.
  • participants - The list of participants added to the group.
  • session - The session name in which the group was created.

Dependencies

  • Requires an API key credential or session authentication to interact with the group management service.

Troubleshooting

  • Ensure the session name is valid and active; otherwise, group creation will fail.
  • Participants must be provided as a valid JSON array with correct IDs; malformed JSON or invalid IDs will cause errors.
  • If SSL certificate validation is enabled, ensure the server's SSL certificate is valid or use the option to ignore SSL issues if necessary.
  • Proxy settings must be correctly configured if used; incorrect proxy details can cause connection failures.
  • Timeout settings should be adjusted based on network conditions to avoid premature request abortion.

Discussion