Actions90
- Sessions Actions
- Messages - Sending Actions
- Chats Actions
- Messages - Actions Actions
- Groups Actions
- List Groups
- Group Info
- Get Invite Link
- Revoke Invite Link
- Join via Link
- Preview via Link
- Create Group
- Delete Group
- Update Group Description
- Toggle Announcement Mode
- List Participants
- Add Participants
- Remove Participants
- Demote Participants
- Approve Join Request
- Reject Join Request
- List Join Requests
- Get Group Picture
- Set Group Picture
- Delete Group Picture
- Leave Group
- Update Group Name
- Lock Group Edits
- Promote Participants
- Profile Actions
- Server Actions
- Miscellaneous Actions
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
- Sending a simple text notification to a customer.
- Replying to a user's query in a WhatsApp chat automatically.
- 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
- WARest API Documentation - Send Text Message - Official documentation for the send text message endpoint of the WARest WhatsApp REST API.
