Actions8
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
Overview
This node integrates with the WasapBom API to send WhatsApp messages and manage related resources. Specifically, for the Message - Send Media operation, it allows sending various types of media (image, video, document, audio) to a specified phone number via WhatsApp by providing a direct URL to the media file.
Common scenarios where this node is beneficial include:
- Sending promotional images or videos to customers.
- Sharing documents or audio files as part of customer support or notifications.
- Automating media message delivery in marketing workflows.
Example: Automatically send an image with a caption to a user after they sign up on your platform.
Properties
| Name | Meaning |
|---|---|
| Phone Number | The recipient's phone number including country code but without the "+" sign. |
| Media Type | The type of media to send. Options: Image, Video, Document, Audio. |
| Media URL | The publicly accessible URL of the media file to be sent. |
| Caption | Optional text caption to accompany the media message. |
Output
The node outputs a JSON array containing the response from the WasapBom API for each item processed. Each output item corresponds to one message sent and includes details returned by the API about the message status or any errors encountered.
No binary data is output by this node.
Dependencies
- Requires an active WasapBom API key credential configured in n8n.
- Internet access to reach the WasapBom API endpoint at
https://panel.wasapbom.com/api/whatsapp. - The media URL must be publicly accessible by the WasapBom service.
Troubleshooting
Common Issues
- Invalid API Key: If the API key is incorrect or missing, authentication will fail.
- Invalid Phone Number Format: Phone numbers must include the country code without the "+" prefix.
- Media URL Inaccessible: The media URL must be reachable by the WasapBom servers; private or protected URLs will cause failures.
- Unsupported Media Type: Only image, video, document, and audio types are supported.
Error Messages and Resolutions
Authentication failed: Invalid API key. Please check your credentials.
Verify that the API key credential is correctly set up and valid.Validation error: The API could not process your request.
Check that all required parameters are provided and correctly formatted.Bad request: The request was improperly formatted or contained invalid parameters.
Review the input properties, especially phone number format and media URL.Forbidden: You do not have permission to access this resource.
Ensure your API key has the necessary permissions.Not found: The requested resource does not exist.
Confirm the API endpoint and parameters are correct.Server error: The WasapBom server encountered an error.
Retry later or contact WasapBom support if the issue persists.
If "Continue On Fail" is enabled, the node will return error details in the output instead of stopping execution.
Links and References
- WasapBom Official Website
- WasapBom API Documentation (for detailed API usage and media message requirements)
- WhatsApp Business API Guidelines (general best practices for WhatsApp messaging)