Superchat icon

Superchat

Receive and send messages from WhatsApp, Instagram, Messenger, E-Mail, SMS, via Live Chat and Telegram.

Message → Send WhatsApp Template

AI-generated

Overview

This node operation sends a WhatsApp template message using the Superchat platform. It is useful for automating the sending of predefined WhatsApp message templates to recipients, which can be identified by phone number or contact ID. Practical applications include sending notifications, alerts, or marketing messages with dynamic content variables to customers or users via WhatsApp.

Use Case Examples

  1. Sending a WhatsApp template message to a customer with personalized variables such as name or appointment details.
  2. Automating the dispatch of promotional WhatsApp messages using predefined templates to a list of contacts.

Properties

Name Meaning
Sender Name The name displayed beneath the message in Superchat, identifying the sender.
To (Phone Number or Contact ID) The recipient's phone number or contact ID to whom the WhatsApp template message will be sent.
Channel ID The ID of the channel from which the message will be sent, allowing selection of the appropriate WhatsApp channel.
Template ID The ID of the WhatsApp template to use for the message, ensuring the correct predefined template is sent.
Variables A collection of variable values that correspond to placeholders in the WhatsApp template, allowing dynamic content insertion.
Options Additional optional settings such as specifying a header file ID to include a file as a header in the template message.

Output

JSON

  • messageId - The unique identifier of the sent WhatsApp template message.
  • status - The status of the message sending operation (e.g., sent, failed).
  • recipient - The phone number or contact ID of the message recipient.

Dependencies

  • Superchat API key credential for authentication with the Superchat platform.

Troubleshooting

  • Ensure the Channel ID and Template ID are valid and correspond to existing resources in Superchat.
  • Verify that the recipient identifier is correctly formatted as a phone number with country code or a valid contact ID.
  • Check that the number and order of variables match the template definition to avoid template rendering errors.
  • If using a header file, confirm the file ID is correct and the template supports a header file.

Links

Discussion