BizwaChat v3 icon

BizwaChat v3

Send BizwaChat messages and manage tenant resources on the v3 API surface.

Message → Send Media

AI-generated

Overview

This node operation sends a media message to a specified phone number using the BizwaChat API. It supports sending different types of media such as images, documents, videos, and audio either via a URL or by uploading a binary file. Optional metadata like captions and filenames can be included. Additionally, it can create or update contact information before sending the media message if contact data is provided.

Use Case Examples

  1. Sending an image to a customer by providing the image URL and phone number.
  2. Uploading and sending a video file stored in binary format to a contact.
  3. Sending a document with a caption to a phone number, optionally creating the contact if it does not exist.

Properties

Name Meaning
Phone Number The destination phone number with or without the + prefix.
Media Type The type of media to send (image, document, video, audio).
Media Input Specifies whether the media is provided via a URL or as a binary file.
Media URL The URL of the media to send (required if Media Input is URL).
Binary Property The name of the binary property containing the media file (required if Media Input is Binary File).
Caption Optional caption text to include with the media message.
Filename Optional filename to use when sending the media file.
Contact Optional contact data used to create or update the contact before sending the media message.

Output

JSON

  • id - The unique identifier of the sent media message.
  • status - The status of the media message after sending.
  • phone_number - The phone number to which the media message was sent.
  • media_type - The type of media sent (image, document, video, audio).
  • caption - The caption text included with the media message, if any.

Dependencies

  • BizwaChat API with tenant API key credential

Troubleshooting

  • Ensure the phone number is correctly formatted with or without the + prefix to avoid delivery failures.
  • If sending media via URL, verify the URL is accessible and points to a valid media file.
  • When sending binary media, confirm the binary property name matches the input data and the file is correctly attached.
  • If contact data is provided, ensure required fields are correctly filled to avoid contact creation errors.
  • Common errors include missing required parameters like phone number or media URL, which should be validated before sending.

Discussion