WhatsApp CRM
Actions3
- Message Actions
- AI Actions
Overview
The node integrates with a WhatsApp CRM API to send media messages via WhatsApp. It allows users to send various types of media—such as images, audio, video, or documents—to specified phone numbers. This is useful for businesses that want to automate sending rich content to customers, such as promotional images, product videos, audio messages, or important documents directly through WhatsApp.
Practical examples include:
- Sending a product catalog image to a customer inquiry.
- Delivering an audio message with instructions or greetings.
- Sharing a video tutorial or demonstration.
- Sending invoices or contracts as document files.
Properties
| Name | Meaning |
|---|---|
| To (Phone Number) | The recipient's phone number including country code, e.g., +1234567890. |
| Media Type | The type of media to send. Options: Image, Audio, Video, Document. |
| Media URL | The publicly accessible URL where the media file is hosted. |
| Caption | Optional text caption to accompany the media message. |
Output
The node outputs JSON data representing the result of the media message send operation. This typically includes confirmation details such as message ID, status, timestamps, or error information if the send failed.
If the node supports binary data output (not explicitly shown in the provided code), it would represent media content or related attachments, but here the focus is on sending media by URL, so output is primarily JSON metadata about the sent message.
Dependencies
- Requires connection to a WhatsApp CRM API endpoint, configured via credentials containing the base URL and an API authentication token.
- The node expects the API to accept JSON requests and respond with JSON.
- Proper network access to the media URLs provided is necessary since the media is referenced by URL.
Troubleshooting
- Invalid Phone Number: If the "To" phone number is incorrectly formatted or missing country code, the API may reject the request. Ensure the number is in international format.
- Media URL Inaccessible: If the media URL is not publicly accessible or returns errors, the message will fail to send. Verify the URL is reachable and points directly to the media file.
- Unsupported Media Type: Selecting a media type not supported by the API or mismatching the actual media at the URL can cause errors.
- API Authentication Errors: Missing or invalid API credentials will prevent successful communication. Confirm credentials are correctly set up.
- Caption Length Limits: Some APIs limit caption length; overly long captions might be truncated or rejected.
Links and References
- WhatsApp Business API documentation (general reference): https://developers.facebook.com/docs/whatsapp
- Example media hosting services: AWS S3, Google Cloud Storage, or any public CDN for hosting media files.
This summary is based solely on static analysis of the provided source and property definitions without runtime execution.