Actions76
- Chat Actions
- Contact Actions
- Profile Actions
- LID Actions
- File Actions
- Message Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
Overview
This node enables sending text messages via WhatsApp using the Wappfy API. It is designed to send plain text messages to individual or group chats identified by their chat IDs. The node supports additional options such as generating link previews and mentioning specific users in the message.
Common scenarios where this node is beneficial include:
- Automating customer support replies by sending predefined text messages.
- Broadcasting announcements or updates to groups or individual contacts.
- Integrating WhatsApp messaging into workflows for notifications or alerts.
Practical example:
- Sending a welcome message to a new user who just signed up, including mentions of team members for personalized attention.
- Sending a reminder message with a clickable link preview to a group chat.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat to send the message to. Format examples: 123456789@c.us (direct), 123456789@g.us (group). |
| Text | The actual text content of the message to be sent. |
| Additional Options | Optional settings: • Preview URL: Whether to generate link previews ( true or false).• Mentions: Comma-separated list of user IDs to mention in the message. |
Output
The node outputs the response from the Wappfy API call in the json field. This typically contains details about the sent message, such as message ID, status, or any metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an active Wappfy API account with valid credentials (API key and instance name).
- The node uses the Wappfy API endpoint configured via credentials.
- Proper network access to the Wappfy API base URL is necessary.
Troubleshooting
- Invalid Chat ID: If the chat ID format is incorrect or the chat does not exist, the API may return an error. Verify the chat ID format and ensure the chat is accessible.
- Missing Required Fields: Both "Chat ID" and "Text" are mandatory. Omitting these will cause errors.
- API Authentication Errors: Ensure that the API key credential is correctly set up and has sufficient permissions.
- Link Preview Not Working: If link previews do not appear, check the "Preview URL" option and confirm that the links in the text are valid and accessible.
- Mentions Not Working: Make sure the mentioned user IDs are correct and belong to participants in the chat.
If the node encounters an error during execution, it will either throw an error or, if configured to continue on failure, output an error object in the JSON.
Links and References
- Wappfy API Documentation (for detailed API usage and parameters)
- WhatsApp Chat ID formats: Direct chats end with
@c.us, groups end with@g.us. - n8n documentation on Using Credentials for setting up API keys.