TouchBasePro icon

TouchBasePro

Interact with TouchBasePro API for Email, WhatsApp, and SMS operations

WhatsApp → Send Message

AI-generated

Overview

This node sends WhatsApp messages using the TouchBasePro API. It supports sending various types of messages including simple text, audio, image, document, video, button, and list messages, as well as template-based messages with customizable templates and variables. This node is useful for automating WhatsApp communications such as customer notifications, marketing messages, and interactive messages with buttons or lists.

Use Case Examples

  1. Sending a simple text message to a customer with a greeting and information.
  2. Sending an image or document to a user via WhatsApp for product details or invoices.
  3. Using a button message to collect feedback or responses from users.
  4. Sending a template message for order status updates or authentication purposes.

Properties

Name Meaning
Country Code The country code for the phone number (e.g., +91 for India)
Phone Number The phone number without country code
Message Category The category of the WhatsApp message, either simple or template
Message Type The type of simple message to send (only for simple message category)
Message The message content to send (for text, audio, image, document, video simple messages)
Media URL URL of the media file to send (for audio, image, document, video simple messages)
File Name Name of the file (required for audio and video messages)
Button Message Configuration for button messages including main message text and buttons with IDs and titles
List Message Configuration for list messages including main message text, button text, and sections with rows
Template Type Type of WhatsApp template to use (for template message category)
Template Name or ID The name or ID of the WhatsApp template to send
Header Values Values for header variables in the template (text, media URL, etc.)
Template File Name File name for document header templates
Button Values Values for buttons in authentication or dynamic CTA templates
Carousel Cards Cards for order carousel templates including header, body, and button values
Order Details Order details for order carousel or single image templates including reference ID, items, shipping address, and summary
Order Status Order status details for order status templates including reference ID, status, and description
Template Language Name or ID Language name or ID for the template
Template Variables Variables to replace in the template with their values

Output

JSON

  • json - The response from the TouchBasePro API after sending the WhatsApp message

Dependencies

  • TouchBasePro API key credential

Troubleshooting

  • Ensure the country code and phone number are correctly formatted and valid.
  • For media messages, verify that the media URL is accessible and the file type is supported.
  • When using templates, ensure the template name/ID and variables match those configured in TouchBasePro.
  • Button and list messages require proper configuration of buttons and sections respectively.
  • Common errors may include invalid phone numbers, unsupported message types, or missing required fields. Check error messages for guidance.

Links

Discussion