WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation sends a contact vCard via a chat session. It is useful for automating the sharing of contact information in messaging applications, such as sending a business card or personal contact details to a chat recipient. For example, it can be used in customer support workflows to share agent contact info or in sales automation to send client details.

Use Case Examples

  1. Send a vCard contact to a WhatsApp chat using a session ID and chat ID.
  2. Automate sending multiple contact vCards in batches to different chat recipients.

Properties

Name Meaning
Session The session identifier used to authenticate and route the message sending request.
Chat Id The unique identifier of the chat where the contact vCard will be sent.
Contacts A JSON array of contact vCards to be sent. Each vCard contains contact details formatted as a string.
Request Options Optional settings for request handling such as batching, SSL certificate validation, proxy configuration, and timeout settings.

Output

JSON

  • sent - Indicates whether the contact vCard was successfully sent.
  • response - The response data from the messaging service after sending the contact vCard.

Dependencies

  • Requires an API key or authentication token for the messaging service session.

Troubleshooting

  • Ensure the session ID and chat ID are valid and active to avoid authentication or routing errors.
  • Verify the vCard JSON format is correct to prevent message sending failures.
  • If batching is enabled, check batch size and interval settings to avoid rate limiting or timeouts.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' only if safe to do so.
  • Proxy settings must be correctly configured if used, including authentication details.

Discussion