Zender icon

Zender

Interact with Zender WhatsApp API

Overview

This node interacts with the Zender WhatsApp API to perform various operations related to WhatsApp groups, messages, contacts, accounts, campaigns, OTPs, SMS, and validations. Specifically, for the Group resource with the Get Contacts operation, it retrieves the list of contacts belonging to a specified WhatsApp group.

This is useful in scenarios where you want to automate workflows involving group membership management or analysis, such as sending targeted messages to all members of a group, syncing group contacts with other systems, or auditing group membership.

Example use case:
You have a WhatsApp group for customer support and want to fetch all contacts in that group to update your CRM or send follow-up messages.


Properties

Name Meaning
Group ID The unique identifier of the WhatsApp group whose contacts you want to retrieve.
Account ID The unique identifier of your WhatsApp account in Zender (required for authentication).

Output

The output is a JSON object containing the response from the Zender API endpoint /get/wa.group.contacts. This typically includes an array or list of contact details associated with the specified WhatsApp group.

The exact structure depends on the API response but generally will include fields like contact names, phone numbers, and possibly contact IDs or metadata.

No binary data output is involved in this operation.


Dependencies

  • Requires an active Zender WhatsApp API credential configured in n8n with:

    • API base URL
    • API secret key or token for authentication
  • The node uses HTTP requests authenticated via these credentials to communicate with the Zender API.


Troubleshooting

  • Common issues:

    • Invalid or missing Group ID: Ensure the Group ID is correct and corresponds to an existing WhatsApp group.
    • Incorrect Account ID or expired API credentials: Verify that the Account ID is valid and the API key/secret is current.
    • Network or connectivity problems: Check internet access and API endpoint availability.
  • Error messages:

    • "error": "Unauthorized": Indicates invalid or missing API credentials; reconfigure the API key.
    • "error": "Group not found": The provided Group ID does not exist or is inaccessible.
    • Timeout or connection errors: Retry or check network/firewall settings.
  • To handle errors gracefully, enable the node's "Continue On Fail" option to allow workflow execution to proceed even if this node encounters an error.


Links and References

(Note: Specific URLs are illustrative; please refer to your Zender API provider for exact documentation.)

Discussion