Digitalsac DigiCrm icon

Digitalsac DigiCrm

Interact with the Digitalsac DigiCrm API (WhatsApp, tickets, scheduling, WABA templates and more).

Actions396

Tag → Send WABA Template

AI-generated

Summary

Send a WhatsApp Business API (WABA) template message to a specified phone number using a chosen WhatsApp connection and template ID, optionally customizing the message with body parameters, header parameters, header media URL, and button overrides.

Inputs

  • WhatsApp ID (required) — ID of the WhatsApp WABA connection to use for sending the template message.
  • Template ID (required) — ID of the pre-imported WhatsApp template to send.
  • Phone Number (required) — Recipient's phone number in international format with country and area code (e.g., 5511999999999).
  • Body Parameters (JSON) — Optional JSON object with variables to replace placeholders in the template body, indexed by number or name (e.g., {"1":"John","2":"12345"}).
  • Header Media URL — Optional HTTP(S) URL of media to use in the template header (for templates with IMAGE, VIDEO, or DOCUMENT header). Uses template media if empty.
  • Header Parameters (JSON) — Optional JSON object with text variables for the header, indexed by number or name (e.g., {"1":"April Promotion"}).
  • Button Parameters (JSON) — Optional array of overrides for dynamic URL buttons, each with 'index', 'type', and 'value' to customize buttons.

Output shape

a single record

Returns the API response for the send operation, typically including status and message details. Errors are raised on failure unless 'Continue On Fail' is enabled, in which case they appear in output with error details.

Examples

Example 1: Send a basic WABA template message with no variables or media

Set WhatsApp ID, Template ID, and recipient Phone Number; leave optional params empty or default.

Links

Discussion