Núcleo Wondai icon

Núcleo Wondai

Atendimento de IA no Núcleo Wondai: preparar conversa (GATE liga/desliga + contexto operacional ANTES da LLM), buscar cliente, resolver catálogo (fuzzy), criar/alterar/cancelar pedido, consultar contexto e registrar conversa. Assinatura HMAC; o tenant vem do token.

Canal WhatsApp → Enviar Imagem

AI-generated

Summary

Send a WhatsApp image message via the Núcleo Wondai relay by specifying the recipient's phone or JID, a public URL of the image hosted in the tenant's bucket, and an optional caption.

Inputs

  • Token ID Dinamico — Optional dynamic token ID returned by the multi-tenant bootstrap, to be used together with the dynamic Signing Secret for authentication override.
  • Signing Secret Dinamico — Optional ephemeral signing secret from bootstrap; must not be logged or output anywhere for security.
  • Destinatario (required) — The WhatsApp phone number or JID of the message recipient.
  • URL da Imagem (required) — Public URL of the image, validated to belong to the tenant's bucket.
  • Legenda — Optional caption text to accompany the image.

Output shape

a single JSON object returned by the Núcleo API representing the result of the send operation, including status and any errors.

This operation sends a signed POST request to Núcleo's WhatsApp media send endpoint; idempotency keys are not explicitly mentioned but may be managed internally. Authentication uses either stored credentials or the dynamic token and secret together. Errors result in exceptions unless 'continueOnFail' is enabled, causing error details to be returned per item.

Examples

Example 1: Send a WhatsApp image with caption

Set 'Destinatario' to a recipient's WhatsApp number, provide a publicly accessible 'URL da Imagem' under your tenant's bucket, optionally add a 'Legenda', and execute the node. Optionally override token and secret safely for multi-tenant contexts.

Links

Discussion