WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation sends a link preview message in a chat session. It is useful for automating the sharing of URLs with a title in chat conversations, such as sending product links, news articles, or any web content preview to a specified chat ID within a session.

Use Case Examples

  1. Automatically send a link preview of a new blog post to a customer support chat.
  2. Share a product URL with a title in a sales chat session to provide quick access to product details.

Properties

Name Meaning
Session The chat session identifier where the link preview will be sent.
Chat Id The identifier of the chat to which the link preview message will be sent.
Url The URL of the link to be previewed and sent in the chat message.
Title The title text to display with the link preview in the chat message.
Request Options Additional options to control request behavior such as batching, SSL validation, proxy settings, and timeout.

Output

JSON

  • sentMessageId - The identifier of the sent link preview message.
  • status - The status of the send operation, e.g., success or failure.
  • chatId - The chat ID where the link preview was sent.
  • url - The URL that was sent as a link preview.
  • title - The title associated with the link preview.

Dependencies

  • Requires an API key credential or authentication token to connect to the chat service.

Troubleshooting

  • Common issues include invalid session or chat ID causing message send failures.
  • Timeout errors if the server does not respond within the specified timeout period.
  • SSL certificate validation errors if the server uses an untrusted certificate, which can be bypassed by enabling 'Ignore SSL Issues'.
  • Proxy misconfiguration leading to connection failures.

Discussion