Skip to main content
Version: Current

Download WhatsApp Media

Description​

Retrieves WhatsApp media metadata and returns a File reference that other activities can read. The file content is fetched from WhatsApp when a consuming activity reads the reference; this activity does not return a Base64 payload.

Configuration​

Create a WhatsApp connection, then configure:

InputDescription
Connection NameRequired WhatsApp connection.
Media IDRequired identifier, typically WhatsApp Trigger → Message Media ID.
File NameOptional original filename to associate with the reference. Supply the incoming filename when available.

Outputs​

OutputDescription
FileProvider-backed file reference accepted by compatible file-consuming activities.
Raw JSON ResponseMetadata response returned by WhatsApp.
Media IDIdentifier of the selected media.
MIME TypeMedia content type.
File SizeSize in bytes.
File NameName associated with the file reference.

Example​

Connect WhatsApp Trigger to the processing workflow. For a media message, bind Message Media ID to Media ID, select the connection, and supply the filename if available. Pass the returned File to a document activity or HTTP Request multipart file field.

The reference requires a valid connection and media that is still available from WhatsApp when it is read. Handle expired or inaccessible media through On Error.