Actions198
- Agendamentos e Lembretes Actions
- Campanhas Actions
- Canais e Sessões Actions
- Contatos Actions
- CRM - Pipeline Actions
- Dashboard Actions
- Envio em Lote Actions
- Galeria Actions
- Grupos WhatsApp Actions
- Interativo Baileys Actions
- Interativo Instagram Actions
- Interativo Messenger Actions
- Interativo UazAPI Actions
- Interativo Waba Actions
- Kanban / Tags / Motivos / Filas Actions
- Listagens Actions
- Listagens Utilitárias Actions
- Logs de Chamadas Actions
- Mensagens Actions
- Mensagens Avançadas Actions
- Mensagens em Grupo Actions
- Oportunidades Actions
- Templates WABA Actions
- Tickets Actions
- Tickets - Extras Actions
- To-Do List Actions
- Usuários Actions
Mensagens → Send Message API File
AI-generatedSummary
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.
