Actions6
- Send Message Actions
Overview
This node integrates with a WhatsApp messaging API to send messages, specifically focusing here on sending contact information as a message. It is useful for automating the sharing of contact details via WhatsApp in workflows such as customer support, sales outreach, or appointment scheduling.
For example, you can use this node to automatically send a contact card to a client after they fill out a form, or to share team member contacts during onboarding processes.
Properties
| Name | Meaning |
|---|---|
| Recipient | The phone number of the message recipient, including country code (e.g., "5531900000000"). |
| Delay | Optional delay in milliseconds before sending the message (e.g., 1200 ms). |
| Presence | Status to inform about your presence while sending the message. Options: Available, Composing, Empty, Paused, Recording, Unavailable. |
| Contacts | A JSON array containing single contact elements with fields like fullName, wuid (phone number), and phoneNumber. This represents the contact(s) to be sent. |
Output
The node outputs JSON data representing the result of the send contact message operation. This typically includes confirmation of message delivery status or error details if the send failed.
No binary data output is indicated.
Dependencies
- Requires an API key credential for authenticating with the WhatsApp API service.
- Needs configuration of the base URL for the WhatsApp API endpoint.
- The node uses HTTP POST requests to send contact messages to the API.
Troubleshooting
- Invalid phone number format: Ensure the recipient's phone number includes the correct country code without extra characters.
- Missing required properties: The "Recipient" and "Contacts" fields are mandatory; missing these will cause errors.
- API authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
- Delay property typo: Note that the property name for delay is misspelled as "dalay" in the input properties; ensure this matches the expected parameter or correct it to avoid unexpected behavior.
- Presence option misuse: If an invalid presence status is set, the API might reject the request; use only the provided options.
Links and References
- WhatsApp Business API documentation (for general concepts): https://developers.facebook.com/docs/whatsapp
- n8n HTTP Request node documentation (for understanding HTTP integrations): https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/