Wassenger icon

Wassenger

Interact with Wassenger WhatsApp API

Actions148

Overview

This node interacts with the Wassenger WhatsApp API to retrieve detailed information about a specific chat contact associated with a given WhatsApp number (device). The "Get Contact Details" operation under the "Chat Contacts" resource fetches comprehensive data about a contact, optionally including related entities such as chat history.

Typical use cases include:

  • Fetching contact details for customer support or CRM integration.
  • Retrieving contact metadata before sending targeted messages.
  • Synchronizing contact information between WhatsApp and other systems.

For example, a user might input a WhatsApp number and a contact ID to obtain that contact's profile and optionally their chat history, enabling personalized communication workflows.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which to retrieve the contact details.
Contact ID The unique identifier of the contact (e.g., 447362053576@c.us) whose details are fetched.
Include Items Optional related entities to include in the response. Currently supports: chat (the chat history related to the contact).

Output

The node outputs JSON data representing the contact details retrieved from the Wassenger API. This includes fields such as the contact's name, phone number, status, and any additional metadata available.

If the "Include Items" property includes chat, the output will also contain related chat information linked to the contact.

No binary data output is indicated for 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 be valid and associated with the authenticated account.
  • The "Contact ID" must correspond to an existing contact within the specified WhatsApp number.

Troubleshooting

  • Invalid Contact ID: If the contact ID does not exist or is malformed, the node may throw an error indicating the contact was not found. Verify the contact ID format and existence.
  • Authentication Errors: Missing or invalid API key credentials will cause authentication failures. Ensure the API key is correctly set up in n8n credentials.
  • Device Not Found: If the WhatsApp number (device) is incorrect or not linked to the account, the node will fail to retrieve data. Confirm the device ID is correct and active.
  • Network Issues: Connectivity problems with the Wassenger API endpoint can cause timeouts or errors. Check network access and API availability.
  • Include Items Misconfiguration: Specifying unsupported values in "Include Items" may result in ignored parameters or errors. Use only supported options like chat.

Links and References

Discussion