Cekat

Interact with Cekat API

Actions3

Message → Send Template Message

AI-generated

Overview

This node interacts with the Cekat API to send WhatsApp messages. Specifically, for the 'Send Template Message' operation under the 'Message' resource, it allows sending a predefined WhatsApp template message from a selected inbox to a receiver's phone number. The node supports dynamic selection of inboxes and templates, and allows passing variables to customize the template message body. This is useful for automating personalized WhatsApp communications such as notifications, alerts, or marketing messages using predefined templates.

Use Case Examples

  1. Sending a welcome message template to a new customer using a specific WhatsApp inbox.
  2. Automating appointment reminders by sending a template message with dynamic variables like date and time.
  3. Sending promotional messages using predefined templates to multiple recipients.

Properties

Name Meaning
Inbox Name Select the inbox from which the template message will be sent. This determines the WhatsApp account used.
Template Name Select the WhatsApp message template to send. The available templates depend on the chosen inbox.
Receiver Phone Number The recipient's phone number in E.164 format to which the template message will be sent.
Receiver Name The name of the recipient, used to personalize the template message.
Body Variables A collection of variables to replace placeholders in the template message body, allowing dynamic content in the message.

Output

JSON

  • json - The JSON response from the Cekat API after sending the template message, containing details about the sent message or any errors.

Dependencies

  • Requires an API key credential for authenticating with the Cekat API.

Troubleshooting

  • If the selected template ID is not found in the specified inbox, the node throws an error indicating the template was not found. Ensure the template exists and is associated with the chosen inbox.
  • Errors related to invalid phone number format may occur if the receiver's phone number is not in E.164 format. Verify the phone number format before sending.
  • API request failures may occur due to network issues or invalid credentials. Check API key validity and network connectivity.
  • If the node is set to continue on fail, errors will be returned in the output JSON with an error message property.

Discussion