WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node sends a text message in a chat session. It is useful for automating chat interactions, such as sending notifications, replies, or updates to users in a chat application. For example, it can be used to send a greeting message, reply to a specific message, or include a link preview in the chat.

Use Case Examples

  1. Sending a welcome message to a user when they start a chat session.
  2. Replying to a user's question in a chat by referencing the original message.
  3. Sending a text update with a link preview to a chat group.

Properties

Name Meaning
Session The chat session identifier to send the message within.
Chat Id The identifier of the chat or user to whom the text message will be sent.
Reply To The ID of the message to reply to, allowing the new message to be linked as a response.
Text The text content of the message to be sent.
Link Preview Whether to include a preview of any links contained in the text message.
Request Options Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • messageId - The unique identifier of the sent message.
  • status - The status of the message sending operation (e.g., success or failure).
  • chatId - The chat identifier where the message was sent.

Dependencies

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

Troubleshooting

  • Ensure the session and chatId are correctly specified; missing or incorrect values will cause message sending to fail.
  • If replying to a message, verify the reply_to ID is valid and exists in the chat.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL certificate validation fails, consider enabling the option to ignore SSL issues, but be aware of security risks.

Discussion