WSAPI icon

WSAPI

Interact with WSAPI WhatsApp API

Overview

This node enables interaction with the WhatsApp API via WSAPI, specifically allowing users to create new WhatsApp groups. It is useful for automating group creation workflows such as setting up project team chats, customer support groups, or event coordination groups on WhatsApp. For example, a user can automatically create a group named "Project Team Chat" and add multiple participants by their phone numbers, streamlining communication setup without manual intervention.

Properties

Name Meaning
Group Name The name of the WhatsApp group to be created. This name will be visible to all group members.
Participants Phone numbers of group participants to add, entered as a comma-separated list including country codes.

Output

The node outputs JSON data representing the result of the group creation operation. This typically includes details about the newly created group such as its unique identifier, name, and participant information. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating with the WSAPI WhatsApp API.
  • The node expects the base URL of the WSAPI service to be configured in the credentials.
  • No additional external dependencies are indicated beyond the WSAPI service.

Troubleshooting

  • Common Issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Incorrectly formatted participant phone numbers (e.g., missing country codes or improper separators) may lead to errors when adding participants.
    • Attempting to create a group without specifying a group name will fail due to required property validation.
  • Error Messages:

    • "The resource "groups" is not known!" — indicates an invalid resource selection; ensure "Group" resource is selected.
    • "The operation "create" is not implemented yet!" — suggests the operation is not supported; verify node version and configuration.
    • API errors related to participant phone numbers usually indicate formatting issues; ensure numbers are comma-separated and include country codes.

Links and References

Discussion