Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node integrates with the Wassenger WhatsApp API to manage chat contacts, specifically allowing users to block one or more contacts on a selected WhatsApp number. Blocking contacts is useful in scenarios where you want to prevent receiving messages from certain phone numbers or restrict communication temporarily or permanently.

Practical examples include:

  • Automatically blocking spam or abusive contacts detected by your system.
  • Managing contact lists by blocking inactive or unwanted users.
  • Enforcing communication policies by programmatically controlling which contacts can interact via WhatsApp.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) on which the contacts will be blocked.
Contact Phone Numbers One or more phone numbers (1 to 50) in international E164 format to be blocked.

Output

The node outputs JSON data representing the result of the block contacts operation for each input item. This typically includes confirmation of the blocked contacts or any relevant response from the Wassenger API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Wassenger WhatsApp API.
  • The node depends on the Wassenger service being accessible and properly configured.
  • The "WhatsApp Number" must correspond to a valid registered device within the Wassenger account.

Troubleshooting

  • Invalid WhatsApp Number: If the provided WhatsApp number ID is incorrect or not registered, the API call will fail. Verify the device ID is correct and active.
  • Incorrect Contact Format: Contacts must be in E164 format (e.g., +1234567890). Invalid formats will cause errors.
  • API Authentication Errors: Ensure the API key credential is valid and has sufficient permissions.
  • Exceeding Contact Limits: The node supports blocking up to 50 contacts at once. Sending more may cause errors.
  • Network Issues: Connectivity problems with the Wassenger API endpoint can cause timeouts or failures.

If errors occur, check the error message returned in the node output JSON for guidance.

Links and References

Discussion