WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node is designed to retrieve contact information from a WhatsApp-related service. It is useful in scenarios where you need to fetch details about a specific contact by providing the contact's unique identifier and a session token. For example, it can be used in customer support workflows to get contact details before responding to a query or in marketing automation to personalize messages based on contact data.

Use Case Examples

  1. Fetching contact details by contact ID to display user information in a CRM system.
  2. Retrieving contact information to verify user identity before processing a transaction.

Properties

Name Meaning
Session The session token used to authenticate and authorize the request to the WhatsApp service.
Contact Id The unique identifier of the contact to retrieve information for.
Request Options Additional options to control the request behavior, such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • contact - The retrieved contact information object containing details about the specified contact.

Dependencies

  • Requires an API session token for authentication with the WhatsApp service.

Troubleshooting

  • Ensure the session token is valid and has not expired to avoid authentication errors.
  • Verify the contact ID format is correct and corresponds to an existing contact to prevent not found errors.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.
  • Check proxy settings if requests fail to reach the server, especially in restricted network environments.
  • Adjust timeout settings if the server response is slow to avoid premature request abortion.

Discussion