TouchBasePro icon

TouchBasePro

Interact with TouchBasePro API for Email and WhatsApp operations

Overview

This node enables sending WhatsApp messages via the TouchBasePro API. It supports two types of messages: plain text messages and template-based messages with variable substitution. This functionality is useful for automating customer communication, notifications, alerts, or marketing messages on WhatsApp.

Typical use cases include:

  • Sending personalized transactional messages using predefined templates.
  • Broadcasting simple text updates or alerts to users.
  • Integrating WhatsApp messaging into workflows for customer support or engagement.

Properties

Name Meaning
Country Code The country dialing code prefix for the phone number (e.g., +1 for USA, +91 for India).
Phone Number The recipient's phone number without the country code.
Message Type The type of message to send. Options: "Text Message" or "Template Message".
Message The content of the text message to send (required if Message Type is "Text Message").
Template Name or ID The identifier or name of the WhatsApp message template to use (required if Message Type is "Template Message").
Template Language Name or ID The language identifier for the selected template.
Template Variables A collection of variables to replace placeholders in the template message. Each variable has a name and a value.

Output

The node outputs an array of JSON objects, each representing the response from the TouchBasePro API after sending a WhatsApp message. The exact structure depends on the API response but typically includes status information about the message delivery.

No binary data output is produced by this node.

Dependencies

  • Requires an active TouchBasePro API credential configured in n8n for authentication.
  • Depends on the availability of WhatsApp message templates configured in the TouchBasePro account when sending template messages.
  • Network access to the TouchBasePro API endpoint.

Troubleshooting

  • Common Issues:

    • Invalid or missing country code or phone number format may cause message sending failures.
    • Using a template name or language not available in the TouchBasePro account will result in errors.
    • Missing required template variables for template messages can cause the API to reject the request.
    • API authentication failures due to incorrect or expired credentials.
  • Error Messages:

    • "Operation "sendWhatsAppMessage" not implemented for resource "whatsapp": Indicates a misconfiguration or unsupported operation; ensure the correct resource and operation are selected.
    • API errors related to invalid phone numbers or templates usually come from the external service and should be resolved by verifying input values.
  • Resolution Tips:

    • Double-check phone number formatting including country code.
    • Verify that the template and language exist and are active in your TouchBasePro account.
    • Provide all required template variables with correct names and values.
    • Ensure the API credential is valid and has necessary permissions.

Links and References

  • n8n Expressions Documentation
  • TouchBasePro API documentation (refer to your provider’s official docs for WhatsApp messaging)
  • WhatsApp Business API Template Messaging Guidelines (for understanding template variables and usage)

Discussion