Suri icon

Suri

Integração com a plataforma Suri (Chatbot Maker)

Mensagem → Enviar Template com Arquivo (Import)

AI-generated

Summary

Import (or locate) a contact by phone number and send a WhatsApp template message with media, providing detailed user and message data in JSON format.

Inputs

  • Dados do Envio (JSON) (required) — A JSON object containing the user details (including required phone and channel info), message template details (templateId, media type, file link, file name, parameters), and optional responseAction instructions.

Output shape

a single object representing the API response data from sending the media template message.

The output includes the success status and any returned data from the Suri API. Errors throw exceptions unless 'Continue On Fail' is enabled.

Examples

Example 1: Send a WhatsApp template message with media to a contact identified or imported by phone number.

Provide a JSON in 'Dados do Envio (JSON)' with 'user' specifying contact info including phone, name, and channel; 'message' specifying the template ID, media type, media URL, filename, and parameters; optionally, 'responseAction' for workflow responses.

Links

Discussion