NicoChat icon

NicoChat

Integração com a API do NicoChat

WhatsApp Template → Enviar

AI-generated

Summary

Send a WhatsApp message using a predefined template to a specific contact identified by their user NS.

Inputs

  • User NS (required) — Unique identifier of the contact (user_ns) to whom the WhatsApp template message will be sent.
  • Template Name or ID (required) — Select the WhatsApp template to send from the available list or specify its ID via an expression.
  • Parâmetros Do Template — Optional JSON string defining parameters to customize the WhatsApp template message.

Output shape

A single JSON object representing the API response from sending the WhatsApp template message.

If the 'Parâmetros Do Template' field is provided, it must be valid JSON; otherwise, the operation will error. The output contains the server's response to the send operation.

Examples

Example 1: Send a WhatsApp template message to a user with specific parameters

Provide 'User NS' as the target contact identifier, choose a template from dropdown or dynamic expression for 'Template Name or ID', and optionally input parameters encoded as JSON in 'Parâmetros Do Template'.

Discussion