Z-PRO icon

Z-PRO

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

Actions198

Mensagens → Send Message API File URL

AI-generated

Summary

Send a WhatsApp message containing a file specified by a URL, optionally accompanied by text and additional metadata, through the Z-PRO API.

Inputs

  • Media URL — URL of the file (image, document, etc.) to be sent in the message. Defaults to a sample image URL if not specified.
  • Body — Text message to accompany the file.
  • Number — Recipient's WhatsApp number in the format 5511999999999.
  • External Key — Unique system-generated key to identify and control the message send operation.
  • Is Closed — Boolean flag indicating whether the related ticket should be closed after sending the message.
  • Validate Number — Boolean to enable or disable recipient number normalization (default true). When false, uses the number exactly as provided, which is useful to avoid duplicate tickets in WhatsApp Business API contexts.
  • Request Options — Advanced node settings to control batching of requests, SSL certificate validation, proxy usage, and request timeout.

Output shape

a single record with the API response for the sent message

The operation returns the response from the Z-PRO external API after sending the message with the specified file URL and options. Optional inputs have defaults and can be omitted. Batch processing and network request configurations are supported through requestOptions.

Examples

Example 1: Send a WhatsApp message with an image file URL and accompanying text to a specified number, validating the number format and optionally closing the ticket after sending.

Set the Media URL to the desired file URL, provide the message text in Body, specify the recipient Number, and control ticket closure with Is Closed. Use External Key to track the message and adjust Validate Number to true for standardization.

Links

Discussion