Actions16
Enviar Vídeo
AI-generatedSummary
Send a video message via the Palantiri API to a specified WhatsApp number or group.
Inputs
- Instance ID (required) — Specifies the Palantiri API instance ID that must match the instance owning the API key.
- Para (JID Ou Número) (required) — Target recipient's phone number with country code (e.g., 5511999999999) or WhatsApp group JID (e.g., 120363xxx@g.us).
- Legenda — Optional caption text to accompany the video.
- Fonte Da Mídia (required) — Source of the media content, either from the incoming item's binary data or a base64 encoded string.
- Binary Property (required) — The property name containing the binary data if the media source is binary.
- Conteúdo Base64 (required) — The base64 encoded video content if the media source is base64.
- Mimetype — Optional MIME type of the video; if omitted, the node uses the MIME type from binary data or defaults to 'video/mp4'.
Output shape
a single JSON object per input item representing the API response
Returns the API response in JSON format; errors are returned or trigger node failure depending on configuration. The operation sends the video message and does not produce binary output.
Examples
Example 1: Send a video from workflow binary data to a WhatsApp number with an optional caption
Set 'mediaSource' to 'binary', specify the 'binaryPropertyName' containing video data, provide the recipient 'to' number, optional 'caption', and the 'instanceId'.
Example 2: Send a base64-encoded video string as a message to a WhatsApp group
Set 'mediaSource' to 'base64', provide the base64 content in 'contentBase64', specify the 'to' group JID, optional 'caption', and 'instanceId'.