WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Chat Contacts → Get Contact Details

AI-generated

Overview

This node interacts with the WaliChat 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.

Common scenarios where this node is beneficial include:

  • Customer support automation: Fetching contact details to personalize responses or verify customer identity.
  • CRM integration: Synchronizing WhatsApp contact information with external systems.
  • Analytics and reporting: Gathering contact metadata for analysis of communication patterns.

For example, a user can input a WhatsApp number and a contact ID to retrieve that contact's profile and optionally their chat history, enabling tailored messaging 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 requested.
Include Items Optional related entities to include in the response. Currently supports: chat (chat history).

Output

The output is a JSON object containing the detailed information of the specified contact. This includes standard contact fields such as name, phone number, status, and other metadata provided by the WaliChat API.

If the "Include Items" property includes "chat", the output will also contain related chat data associated with the contact, such as recent messages or chat metadata.

No binary data output is indicated for this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Requires an API key credential configured in n8n for authentication with the WaliChat service.
  • The node depends on internal methods that handle API calls to WaliChat's endpoints for chat contacts.

Troubleshooting

  • Missing or invalid WhatsApp Number: Ensure the WhatsApp number (device) is correctly selected and corresponds to an active WhatsApp account linked to WaliChat.
  • Invalid Contact ID: Verify that the contact ID is accurate and formatted correctly (e.g., includes the domain suffix like @c.us).
  • API Authentication Errors: Confirm that the API key credential is valid and has sufficient permissions.
  • Network Issues: Check connectivity to the WaliChat API endpoint.
  • Empty or incomplete response: If optional related entities are included but not returned, verify that the contact has associated data (e.g., chat history).

Error messages typically reflect these issues and should be resolved by validating inputs and credentials.

Links and References

Discussion