BizwaChat v3 icon

BizwaChat v3

Send BizwaChat messages and manage tenant resources on the v3 API surface.

Message → Send Template

AI-generated

Overview

This node operation sends a template message via BizwaChat. It allows users to select a predefined message template, fill in the required template parameters, specify the recipient's phone number, and optionally provide contact details. It also supports auto-generating an OTP (One-Time Password) with configurable length and field number. This operation is useful for automating the sending of standardized messages such as notifications, alerts, or verification codes to customers or contacts.

Use Case Examples

  1. Sending a welcome message template to a new customer with personalized parameters.
  2. Sending an OTP template for user verification with auto-generated OTP.
  3. Sending a predefined promotional message template to a list of phone numbers.

Properties

Name Meaning
Template The ID of the message template to send. This is required and loaded dynamically from available templates.
Template Parameters The parameters to fill in the selected template. These are dynamically loaded based on the chosen template and allow customization of the message content.
Phone Number The destination phone number to which the template message will be sent. It can be provided with or without the '+' prefix.
From Phone Number ID Optional sender phone number ID. If left blank, the tenant's default phone number is used.
Auto Generate OTP Boolean flag to enable automatic generation of an OTP to be included in the template message.
OTP Length The length of the OTP to generate if auto-generation is enabled. It must be between 4 and 10.
OTP Field Number The field number in the template where the OTP should be inserted if auto-generation is enabled.
Contact Optional contact data used to create the contact in BizwaChat before sending the message, if the contact does not already exist.

Output

JSON

  • id - The unique identifier of the sent message.
  • status - The status of the message sending operation.
  • template_name - The name of the template used for the message.
  • phone_number - The recipient phone number.
  • otp - The generated OTP if auto-generation was enabled.

Dependencies

  • Requires an API key credential for BizwaChat tenant API access.

Troubleshooting

  • Error if the template ID is not provided or invalid: Ensure a valid template is selected.
  • Error if required template parameters are missing: Fill all required parameters for the selected template.
  • Error if the phone number is missing or incorrectly formatted: Provide a valid phone number with or without the '+' prefix.
  • Error if auto-generating OTP is enabled but OTP length or field number is out of allowed range: Set OTP length between 4 and 10 and field number between 1 and 10.

Discussion