WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation sends a text message via the WARest WhatsApp REST API. It allows users to specify a WhatsApp session, the recipient's phone number or chat ID, and the text content of the message. Additional options include sending typing indicators, replying to a specific message, and marking the message as forwarded. This node is useful for automating WhatsApp text communications, such as sending notifications, alerts, or customer support messages.

Use Case Examples

  1. Sending a simple text notification to a customer.
  2. Replying to a user's query in a WhatsApp chat automatically.
  3. Broadcasting a text message to multiple recipients by specifying comma-separated phone numbers.

Properties

Name Meaning
Session Identifier of the WhatsApp session to use for sending the message. Can be selected from a list or entered manually.
Recipient / Chat (to) Phone number or JID of the message recipient. Can be a comma-separated list for multiple recipients.
Message The text content of the message to be sent.
Presence Indicator Option to send a typing or recording indicator before sending the message.
Reply to Message ID ID of the message to which this message is a reply (quotes the original message).
Mark as Forwarded Flag to mark the message as forwarded.

Output

JSON

  • json - The JSON response from the WARest API containing details about the sent message.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API and the base URL of the API server.

Troubleshooting

  • Ensure the session ID is valid and active; invalid or expired sessions will cause errors.
  • The recipient phone number or JID must be correctly formatted; invalid numbers will cause message sending to fail.
  • If using the replyMessageId field, ensure the referenced message ID exists in the chat.
  • Network or authentication errors may occur if the API key or base URL is incorrect or the server is unreachable.

Links

Discussion