Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
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
- Wassenger Official Website
- Wassenger WhatsApp API Documentation (for detailed API usage and contact management)
- E.164 Phone Number Formatting