Beex icon

Beex

Beex Contact Center API Interaction and Consumption

Template → Send One

AI-generated

Overview

This node sends a template-type message from a WhatsApp Business Account (WABA) using approved templates. It is useful for automating the sending of predefined message templates to specific phone numbers within a queue, optionally including associated values and additional metadata such as user ID, client code, or file attachments.

Use Case Examples

  1. Sending a welcome message template to a customer when they join a queue.
  2. Automating notification messages using approved WhatsApp templates with dynamic values.
  3. Sending a file attachment along with a template message to a client.

Properties

Name Meaning
Queue ID ID of the queue to which the template will be sent.
Phone Number Phone number to which the template will be sent.
Template Name Name of the template to send.
Associated Values Values to be inserted into the template, entered as comma-separated values without spaces.
Country Code Country code to which the template will be sent.
Additional Fields Optional additional fields including User ID (agent assignment), Client Code, and a file attachment (binary data) compatible with formData.

Output

Binary

Binary output contains the uploaded file data when a file is sent with the template.

JSON

  • json - Response data from the API call, which may be a single object or an array of objects representing the result of sending the template message.

Dependencies

  • Requires an API key credential for authentication with the Beex Contact Center API.

Troubleshooting

  • Common errors include invalid or missing parameters, which result in error messages returned from the API. Ensure all required fields (Queue ID, Phone Number, Template Name, Country Code) are correctly provided.
  • File uploads require the binary property name to match the specified field; otherwise, the file will not be sent.
  • API rate limits or network issues may cause request failures; retry with delays as implemented in the node.

Links

Discussion