Actions48
- Chat Actions
- Contact Actions
- Group Actions
- Media Actions
- Message Actions
- Session Actions
- Status Actions
- Webhook Actions
Message → Send Media
AI-generatedSummary
Send a media message (image, video, audio, or document) to a specified WhatsApp chat using binary file data from the workflow.
Inputs
- Chat ID (required) — Phone number or chat ID to send the media message to, e.g., 5511999999999 or 5511999999999@s.whatsapp.net.
- Media Type (required) — Type of media to send. Options: image, video, audio, or document.
- Binary Property (required) — Name of the binary property in the input item containing the media file to send.
- Caption — Optional caption text to include with the media message.
- Additional Options — Optional additional parameters such as a custom track ID for message tracking.
Output shape
a single record
Returns JSON data from the QuePasa API after sending the media message, containing information about the sent message or error details in case of failure.
Examples
Example 1: Send an image with a caption to a WhatsApp contact
Provide the recipient's Chat ID, select 'image' as Media Type, specify the binary property containing the image file, and add an optional caption.
