Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node enables bulk updates on WhatsApp chats associated with a specified WhatsApp number. It is designed to perform various batch actions such as resolving, pinning, muting, assigning agents, blocking, marking read/unread, and managing labels on multiple chats simultaneously. This functionality is particularly useful for customer support teams or sales departments that need to manage large volumes of chat conversations efficiently.

Practical examples:

  • Marking multiple chats as resolved after a support shift ends.
  • Assigning a group of chats to a specific agent or department.
  • Adding or removing labels in bulk to categorize chats by topic or priority.
  • Muting or unmuting several chats to control notifications during busy periods.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the chats are managed.
Action The bulk action to perform on the selected chats. Options include: Resolve, Unresolve, Pin, Unpin, Mute, Unmute, Assign, Unassign, Block, Unblock, Read, Unread, Labels.
Chat IDs/Phone Numbers List of chat identifiers or phone numbers to update. Can be in formats like +447362053576 or 447362053576@c.us. Multiple values allowed.
Labels to Add (Only when Action is "Labels") Labels to add to the chats. Multiple values allowed.
Labels to Remove (Only when Action is "Labels") Labels to remove from the chats. Multiple values allowed.
Agent ID (Only when Action is "Assign") The ID of the agent to assign the chats to.
Department ID (Optional, only when Action is "Assign") The ID of the department to assign the chats to.

Output

The node outputs JSON data representing the result of the bulk update operation. Each item corresponds to the outcome of the requested action on the specified chats. The exact structure depends on the API response but generally includes success confirmation or error details per chat.

No binary data output is produced by this node.

Dependencies

  • Requires an API key credential for authenticating with the Wassenger WhatsApp API.
  • The node depends on the external Wassenger WhatsApp API service to perform chat management operations.
  • Proper configuration of the WhatsApp number (device) within the connected Wassenger account is necessary.
  • For assigning chats, valid agent and optionally department IDs must be available and loaded dynamically.

Troubleshooting

  • Invalid Chat IDs or Phone Numbers: Ensure that the chat identifiers or phone numbers are correctly formatted and exist in the WhatsApp account linked to the specified device.
  • Unauthorized Errors: Verify that the API key credential is valid and has sufficient permissions.
  • Agent or Department Not Found: When assigning chats, confirm that the agent and department IDs are correct and belong to the selected WhatsApp number.
  • Action Not Supported: Make sure the chosen action is supported for bulk updates; some actions may require additional parameters.
  • Empty Input Lists: Providing an empty list of chats will result in no operation; ensure at least one chat ID or phone number is specified.

Links and References

Discussion