Actions76
- Message Actions
- Chat Actions
- Contact Actions
- Group Actions
- Create
- List
- Get
- Delete
- Join
- Get Join Info
- Leave
- Get Picture
- Set Picture
- Delete Picture
- Update Subject
- Update Description
- Get Security Info Admin Only
- Set Security Info Admin Only
- Get Security Messages Admin Only
- Set Security Messages Admin Only
- Get Participants
- Add Participant
- Remove Participant
- Promote Admin
- Demote Admin
- Status Actions
- Channel Actions
- Poll Actions
- Profile Actions
- LID Actions
- File Actions
Message → Send Video
AI-generatedOverview
This node enables sending video messages through WhatsApp using the Wappfy API. It supports sending videos either by providing a direct URL or by uploading Base64-encoded video data. Users can also add captions to their video messages.
Common scenarios where this node is beneficial include:
- Automating video notifications or announcements to individual contacts or groups.
- Broadcasting promotional or informational video content.
- Replying with video content in customer support workflows.
For example, you could use this node to send a product demo video to a customer chat or share event highlights with a group.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The identifier of the chat to send the video to (e.g., 123456789@c.us for direct, or 123456789@g.us for group). |
| Media Source | The source type of the video file: either URL (a link to the video) or Base64 (Base64 encoded video data). |
| File URL | The URL of the video file to send (required if Media Source is URL). |
| Base64 Data | The Base64 encoded video data (required if Media Source is Base64). |
| File Name | The name of the video file (used when Media Source is Base64, default is "file"). |
| MIME Type | The MIME type of the video file (e.g., video/mp4) - required. |
| Caption | Optional caption text to accompany the video message. |
Output
The node outputs JSON data representing the response from the Wappfy API after attempting to send the video message. This typically includes details about the sent message such as message ID, status, and any metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
Requires an active Wappfy API account with valid credentials including:
- Base URL of the Wappfy API.
- Instance name identifying the WhatsApp session.
- An API key credential for authentication.
The node makes HTTP POST requests to the Wappfy API endpoints to send video messages.
Proper configuration of the Wappfy API credentials in n8n is necessary before using this node.
Troubleshooting
Invalid Chat ID: If the chat ID format is incorrect or the chat does not exist, the API may return an error. Ensure the chat ID follows the correct pattern (
number@c.usfor individuals,number@g.usfor groups).Incorrect MIME Type: Sending a video with an unsupported or incorrect MIME type may cause failures. Verify the MIME type matches the actual video format (e.g.,
video/mp4).Media Source Mismatch: Providing a URL when Base64 data is expected or vice versa will cause errors. Make sure to select the correct media source and provide the corresponding input.
API Authentication Errors: Missing or invalid API keys will prevent successful requests. Confirm that the API key credential is correctly set up.
Large Video Files: Sending very large videos via Base64 might lead to performance issues or timeouts. Prefer using URLs for large files hosted on reliable servers.
If the node throws errors, check the error message for clues and verify all required parameters are correctly set.
Links and References
- Wappfy API Documentation (for detailed API usage and supported operations)
- WhatsApp Chat ID Format (explains chat ID formats)
- MIME Types Reference