Zender icon

Zender

Interact with Zender WhatsApp API

Overview

The node interacts with the Zender WhatsApp API to manage WhatsApp accounts and perform various operations related to messaging, chats, campaigns, contacts, groups, OTPs, SMS, servers, and phone number validation.

Specifically for the Account - Relink operation, this node allows you to relink an existing WhatsApp account by providing its unique Account ID. This is useful when you need to refresh or re-establish the connection of a WhatsApp account with the Zender service, for example, if the account's session expired or was disconnected.

Practical scenarios include:

  • Re-establishing a WhatsApp account connection without creating a new account.
  • Switching the linked WhatsApp account to a different server (optional).
  • Maintaining continuity in automated workflows that depend on an active WhatsApp account link.

Properties

Name Meaning
Account ID The unique identifier of your WhatsApp account in Zender. Required to specify which account to relink.
Additional Fields Optional extra parameters for the relink operation.
  Server ID Optional WhatsApp server ID to specify which server to use for relinking. If omitted, the system selects the best available server automatically.

Output

The output JSON contains the response from the Zender API after attempting to relink the WhatsApp account. It typically includes information about the relinking process such as status, any tokens or URLs needed to complete the relink, or error messages if the operation failed.

The exact structure depends on the API response but generally provides confirmation or details necessary to proceed with the relink.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Zender WhatsApp API.
  • The node uses HTTP GET requests to the Zender API endpoints.
  • The base URL and API secret are obtained from the configured credentials.
  • No additional environment variables are required beyond the API authentication setup.

Troubleshooting

  • Missing or invalid Account ID: Ensure the Account ID provided is correct and corresponds to an existing WhatsApp account in Zender.
  • API authentication errors: Verify that the API key credential is valid and has the necessary permissions.
  • Server ID issues: If specifying a Server ID, confirm it is valid and available; otherwise, omit it to let the system select automatically.
  • Network or connectivity problems: Check network access to the Zender API endpoint.
  • Unexpected API responses: Review the API response message for clues; enable detailed logging if possible.

If the node throws an error during execution, it usually indicates either invalid input parameters or issues with the API request/response. Using the "Continue On Fail" option can help handle errors gracefully in workflows.

Links and References

Discussion