Actions21
Overview
This node enables sending WhatsApp status updates through the DinastiAPI service. It supports broadcasting different types of statuses—text, image, video, and audio—that are visible to your contacts for 24 hours. This is useful for sharing moments, announcements, or updates with your WhatsApp audience in an automated workflow.
Typical use cases include:
- Posting a text-only status update like a quote or announcement.
- Sharing images, videos, or audio clips as status updates.
- Automating status broadcasts as part of marketing campaigns or customer engagement workflows.
For example, you could automate posting a daily motivational quote as a text status or share a promotional video as a video status.
Properties
| Name | Meaning |
|---|---|
| Status Type | Type of status to send: Text, Image, Video, or Audio |
| Status Text | The text content for a text status (required if Status Type is Text) |
| Background Color | Optional background color for text status in ARGB decimal format |
| Text Color | Optional text color for text status in ARGB decimal format |
| Font | Font type for text status (integer from 0 to 10) |
| Media Source | Source of media for image/video/audio status: Binary Data, Base64 encoded string, or URL |
| Binary Property | Name of binary property containing media (used if Media Source is Binary Data) |
| Base64 Media | Base64 encoded media string with data URL prefix (required if Media Source is Base64) |
| Media URL | URL to the media file (required if Media Source is URL) |
| Voice Note (PTT) | For audio status: whether to send as voice note (push-to-talk) or as a regular audio file |
| Status Caption | Caption text for image, video, or audio status |
| Optimize Response | Whether to optimize API response to reduce token usage and improve AI processing |
| Max Response Length | Maximum characters in the response when optimizing (100–10000) |
| Include Only Essential Fields | Whether to include only essential fields in optimized response to reduce noise |
| Response Format | Format of the response: Optimized, Raw, or Summary |
Output
The node outputs JSON data representing the API response from DinastiAPI after attempting to send the status update. The structure varies depending on the operation result but generally includes success confirmation or error details.
If the "Optimize Response" option is enabled, the output may be truncated or simplified to reduce size and improve AI processing.
No binary output is produced by this operation.
Dependencies
- Requires an active DinastiAPI account with a valid API key credential configured in n8n.
- Internet access to communicate with the DinastiAPI endpoints.
- Proper configuration of the node's credentials to authenticate API requests.
Troubleshooting
- Binary Property Not Found: If using binary media source, ensure the specified binary property exists in the input data; otherwise, an error like
Binary property "data" not foundwill occur. - Invalid Media Format: Base64 strings must include the correct data URL prefix (e.g.,
data:image/jpeg;base64,...). Missing or malformed prefixes can cause failures. - Missing Required Fields: For text status, the "Status Text" field is required. For media statuses, the corresponding media source and data must be provided.
- API Errors: Network issues or invalid credentials will cause API request failures. Verify API key validity and network connectivity.
- Response Optimization Issues: When enabling response optimization, large datasets are truncated to the first 10 items. This might omit some data users expect.
Links and References
- DinastiAPI GitHub Repository - Official documentation and source code for the DinastiAPI service.