Overview
This node allows sending WhatsApp status messages through the DinastiAPI service. It supports multiple media types for status updates, including text, images, videos, and audio. Users can customize their status content with options such as background color, font, captions, and audience targeting.
Common scenarios include:
- Broadcasting a text-only status update to all contacts or a specific audience.
- Sharing multimedia status updates like photos, videos, or voice notes.
- Sending personalized status messages with custom captions and styling.
Practical examples:
- A business sharing promotional images or videos as WhatsApp status updates.
- An individual posting a text status with customized colors and fonts.
- Sending an audio voice note as a status to a select group of contacts.
Properties
| Name | Meaning |
|---|---|
| Operation | Type of status message to send: Send Text Status, Send Image Status, Send Video Status, Send Audio Status |
| Text | The text content for the status (for text status only) |
| Background Color | Background color in ARGB decimal format for text status (optional) |
| Text Color | Text color in ARGB decimal format for text status (optional) |
| Font | Font type number from 0 to 10 for text status |
| Image Source | Source of image for image status: Binary Data, Base64 encoded string, or URL |
| Binary Property (Image) | Name of binary property containing image data (when using binary source) |
| Base64 Image | Base64 encoded image string with data URL prefix (required if using base64 source) |
| Image URL | URL to the image file (required if using URL source) |
| Caption (Image) | Optional caption for the image status |
| Video Source | Source of video for video status: Binary Data, Base64 encoded string, or URL |
| Binary Property (Video) | Name of binary property containing video data (when using binary source) |
| Base64 Video | Base64 encoded video string with data URL prefix (required if using base64 source) |
| Video URL | URL to the video file (required if using URL source) |
| Caption (Video) | Optional caption for the video status |
| Audio Source | Source of audio for audio status: Binary Data, Base64 encoded string, or URL |
| Binary Property (Audio) | Name of binary property containing audio data (when using binary source) |
| Base64 Audio | Base64 encoded audio string with data URL prefix (required if using base64 source) |
| Audio URL | URL to the audio file (required if using URL source) |
| Voice Note (PTT) | Boolean indicating whether to send audio as a voice note (push-to-talk) or as a regular audio file |
| Caption (Audio) | Optional caption for the audio status |
| Additional Options | Collection of optional parameters: |
| - Message ID | Custom message ID (optional) |
| - Audience | Comma-separated list of JIDs specifying who should see the status (optional) |
| - Exclude List | Comma-separated list of JIDs to exclude from viewing the status (optional) |
Output
The node outputs JSON data representing the response from the DinastiAPI after sending the status message. Each item corresponds to one input item processed and contains the API response details.
If an error occurs during processing and "Continue On Fail" is enabled, the output will contain an error object with the error message for that item.
The node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the DinastiAPI service.
- Uses the DinastiAPI endpoints to send WhatsApp status messages.
- No additional environment variables are explicitly required beyond the API credential.
Troubleshooting
- Binary Property Not Found: If the specified binary property for image, video, or audio is missing in the input data, the node throws an error stating the property was not found. Ensure the previous node provides the correct binary data under the specified property name.
- Invalid Media Format: When providing base64 or URL sources, ensure the data is correctly formatted and accessible.
- Audience and Exclude List Formatting: Comma-separated lists must be properly formatted without extra spaces or invalid JIDs.
- API Errors: Any errors returned by the DinastiAPI will be included in the output if "Continue On Fail" is enabled; otherwise, they will stop execution. Check API credentials and network connectivity if errors occur.
- Required Fields Missing: For each operation, required fields like text for text status or media data for media statuses must be provided.
Links and References
- DinastiAPI Official Documentation (example placeholder)
- WhatsApp Status Messaging Concepts: https://faq.whatsapp.com/general/chats/how-to-use-status/