WaAPI icon

WaAPI

Interact with WaAPI API

Actions85

Overview

This node operation allows you to create a new WhatsApp group using the WaAPI service. It is useful for automating the creation of groups and adding participants programmatically, which can be beneficial in scenarios such as managing community chats, customer support groups, or team collaboration channels on WhatsApp.

For example, you could use this node to automatically create a group for a newly onboarded project team and add all relevant members without manual intervention.

Properties

Name Meaning
Id The instance ID of the WhatsApp client to use for creating the group.
Group Name The name/title of the WhatsApp group to be created.
Group Participants A JSON array of WhatsApp contact IDs (in the format number@c.us) to add to the group.

Output

The node outputs JSON data representing the response from the WaAPI service after attempting to create the group. This typically includes details about the newly created group such as its unique identifier, name, and participant list confirmation.

No binary data output is involved in this operation.

Dependencies

  • Requires an active API key credential for the WaAPI service.
  • The node communicates with the WaAPI endpoint at https://waapi.app/api/v1.
  • Proper configuration of the API authentication within n8n credentials is necessary.

Troubleshooting

  • Invalid Instance ID: If the provided WhatsApp client instance ID does not exist or is incorrect, the API call will fail. Verify the instance ID before running the node.
  • Malformed Participants List: The "Group Participants" property must be a valid JSON array of strings formatted as WhatsApp contact IDs. Invalid JSON or incorrect formatting will cause errors.
  • API Authentication Errors: Ensure that the API key credential is correctly set up and has sufficient permissions.
  • Network Issues: Connectivity problems to the WaAPI endpoint may result in timeouts or failed requests.

Links and References

Discussion