Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

The "Unarchive Chat" operation in the Chats resource allows users to restore a previously archived WhatsApp chat back to the active chat list. This is useful when you want to resume conversations that were archived for organizational or decluttering purposes.

Common scenarios include:

  • Customer support agents unarchiving chats to continue assisting customers.
  • Sales teams restoring important client conversations for follow-up.
  • Any workflow where archived chats need to be reactivated for further interaction.

Example: A support agent archives resolved customer chats but later needs to revisit a specific conversation due to a follow-up question. Using this operation, the agent can unarchive the chat and access it again in the active chat list.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the chat belongs. Loaded dynamically via available devices.
Chat ID The unique identifier of the chat to unarchive. Examples: 447362053576@c.us for individual chats, 44736205357600000000@g.us for group chats.

Output

The node outputs JSON data representing the result of the unarchive chat operation. Typically, this will include confirmation details such as the chat ID and status indicating the chat has been successfully unarchived.

If the node supports binary data output (not indicated here), it would represent any files or media related to the chat, but this operation primarily deals with chat metadata and status.

Dependencies

  • Requires an API key credential for authenticating with the Wassenger WhatsApp API service.
  • The node depends on the Wassenger API endpoint that manages chat states.
  • The "WhatsApp Number" must be a valid device registered in the Wassenger system.
  • Proper configuration of the API key credential in n8n is necessary.

Troubleshooting

  • Invalid Chat ID: If the provided chat ID does not exist or is malformed, the operation may fail. Ensure the chat ID matches the expected format and corresponds to an archived chat.
  • Unauthorized Access: Missing or incorrect API key credentials will cause authentication errors. Verify the API key is correctly set up in n8n credentials.
  • Device Not Found: If the specified WhatsApp number (device) is not recognized or inactive, the operation cannot proceed. Confirm the device ID is correct and active.
  • Chat Already Active: Attempting to unarchive a chat that is not archived might return an error or no change. Check the chat status before unarchiving.

Links and References


Note: This summary is based solely on static analysis of the provided source code and property definitions.

Discussion