Z-PRO icon

Z-PRO

Consome a API externa da Z-PRO (multiatendimento WhatsApp e outros canais)

Actions198

Mensagens → Send Message API File

AI-generated

Summary

Send a WhatsApp message with an attached file using the Z-PRO API, including optional message text and various metadata fields.

Inputs

  • Input Binary Field (required) — Name of the binary property in n8n containing the file to be sent (form-data field "media").
  • Body — Text message accompanying the file.
  • Number — Recipient's WhatsApp number in the format 5511999999999.
  • External Key — Unique system key for identification and tracking of the message send.
  • Is Closed — Flag to indicate if the ticket should be closed after sending the message.
  • Validate Number — Whether to validate the recipient number and normalize the Brazilian 9th digit; defaults to true.
  • Request Options — Advanced settings including batching, SSL options, proxy, and timeout.

Output shape

single message status object from Z-PRO API

Returns the API response data confirming the message and file sending. Input files are sent as multipart/form-data attached under the "media" field, with message and metadata in the request body. Errors and response formatting follow the Z-PRO API conventions.

Examples

Example 1: Send a file with message to WhatsApp number

Specify the binary property with file data, target WhatsApp number, and optional message text. Include an external key for tracking and choose whether to close the ticket after sending.

Links

Discussion