Actions35
- Chat Actions
- Chatwoot Actions
- Group Actions
- Instance Actions
- Message Actions
- Webhook Actions
Group → Send Media Base64 Group
AI-generatedOverview
This node operation sends a media file encoded in base64 format to a specific WhatsApp group. It is useful for automating the distribution of media content such as images, videos, audio files, or documents directly to group chats on WhatsApp. For example, a business could use this to share promotional materials or updates with a customer group, or a team could share important documents or media files within their group chat.
Use Case Examples
- Sending a base64 encoded PDF document to a project group for team review.
- Sharing a base64 encoded image or video to a family or friends group on WhatsApp.
Properties
| Name | Meaning |
|---|---|
| Group JID | The WhatsApp Group JID (Group ID) to send the media to. Format: group_id@g.us (e.g., 123456789545@g.us). |
| Base64 Data | The base64 encoded data of the media file, including the data URI prefix (e.g., data:image/png;base64,... or data:application/pdf;base64,...). |
| File Name | The name of the file as it will appear in WhatsApp. |
| Media Type | The type of media to send, such as audio, document, image, voice message (PTT), or video. |
| MIME Type | The MIME type of the media file, specifying the file format such as audio/ogg, application/pdf, image/jpeg, video/mp4, etc. |
| Caption | Optional caption text to accompany the media file. |
Output
JSON
messageStatus- Status of the sent message (e.g., sent, delivered, read).messageId- Unique identifier of the sent message.deliveryConfirmation- Confirmation details about the delivery of the message to the group.
Dependencies
- Requires an API key credential for MegaAPI WhatsApp service authentication.
Troubleshooting
- Ensure the base64 data is correctly formatted with the data URI prefix; otherwise, the media may fail to send.
- Verify that the Group JID is correct and that the user is a member of the WhatsApp group; otherwise, the message will not be delivered.
- Common error messages may include invalid media format or unauthorized access, which can be resolved by checking the MIME type and API credentials respectively.