RoiChat icon

RoiChat

Integração com a API do RoiChat

WhatsApp Template → Enviar

AI-generated

Summary

Send a WhatsApp template message to a specific contact using the RoiChat API.

Inputs

  • User NS Name or ID (required) — Unique identifier of the contact (user_ns). Select from the list or specify an ID using an expression.
  • Template Name or ID (required) — Name or ID of the WhatsApp template to send. Select from the list or specify an ID using an expression.
  • Template Parameters — Optional JSON-formatted string to specify parameters for the template.
  • Página (Contatos) — Page number to navigate through contacts list, 10 contacts per page (default: 1).
  • Buscar (Contatos) — Search filter to find contacts by name, phone, or email.
  • Página (Templates) — Page number to navigate through WhatsApp templates, 10 templates per page (default: 1).
  • Buscar (Templates) — Search filter to find templates by name.

Output shape

a single JSON response object from the RoiChat API indicating success or error of the send attempt

The operation returns the API response for each execution, or error information if request fails and continueOnFail is enabled.

Examples

Example 1: Send WhatsApp template message

Set the user_ns of the contact, choose the template by name or ID, optionally provide template parameters as JSON string, then execute to send the message and receive the API response.

Discussion