Chat Flow User Guide
User GuidesRelease NotesFAQsSupport
5.52.0
5.52.0
  • 🏠Return to Home Page
  • 🔎Overview
    • Chat Flow Overview
    • Quick Start
  • 🪛Configuration
    • Access Chat Flow
    • Configure a route
    • Add an API integration
    • Set up keywords
    • Set up session timeout events
    • Manage your workflow assets
  • ✅Channel Capabilities
    • Configure channel display type
    • Use WhatsApp with Chat Flow
      • Initiate WhatsApp conversations
      • Send WhatsApp message templates
      • WhatsApp Interactive Messages
      • WhatsApp Commerce Messages
    • Use Apple Messaging for Business with Chat Flow
      • Apple Interactive Messages
      • Apple User-Facing Nodes
  • 🔃Workflow management
    • Build a workflow
      • Add a workflow
      • Delete and restore nodes
      • Repeat a step in a workflow
      • Dynamic API Workflows
    • Edit/delete a workflow
    • Search, Find & Replace in a workflow
    • Duplicate, rename, or move a workflow
    • Preview workflows
      • Preview flow on different channels
      • Preview logs
    • Approve and deploy workflows
      • View flow details
      • Submit a workflow for approval
      • Approve/decline a workflow
      • Deploy a workflow to production
  • 😎User-Facing Nodes
    • Display nodes
      • Contact Sending
      • External Link
      • Location sharing
      • Media
      • OTP Menu
      • Rich Link
      • Text Display
    • Product nodes
      • Clickatell AI node
      • Chat Desk node
    • Input nodes
      • Contact Receiving
      • OAuth Request
      • Request Input
      • Send Form
      • Time Picker
    • Commerce
      • Chat 2 Pay
      • Multi Product
    • Branch/logic split
      • Dynamic List
        • Apply patterns, custom indexes, filtering, and exclusions
      • Menu
      • Multiple Choice Input
  • 🎬Action Nodes
    • API Integration node
    • Calculate
    • Date Format
    • Display List
    • Encrypt
    • Is Empty
    • Is Null
    • Number Format
    • Regular Expression
    • Remap
    • Send Template
    • Set Variable
    • Switch Case
    • Wait For Callback
    • Opt-Out nodes
  • 🔗Integrations
    • Integration nodes
  • 🔡Variable management
  • Using system variables
  • Referring to variables
  • 📊Reporting & Analytics
    • Analytics Settings
    • Collections & reporting labels
    • Clickatell Portal Reports
  • ❗System error codes
    • System Error Codes
  • 💡Help & Information
    • What's New? 🎈
    • Release Notes
    • FAQs
    • Return to Home Page
Powered by GitBook
LogoLogo

© Copyright 2024 Clickatell. All rights reserved.

On this page
  • How to send WhatsApp message templates in Chat Flow
  • Alternative method
  • Message template configuration
  • API Integration node configuration
  • Workflow example

Was this helpful?

  1. Channel Capabilities
  2. Use WhatsApp with Chat Flow

Send WhatsApp message templates

Was this helpful?

You can send WhatsApp message templates directly from Chat Flow using the node. You can use this node in any of your workflows, but it is typically used in to initiate WhatsApp conversations with customers.

These WhatsApp template types are supported:

  • Plain text templates.

  • .

  • .

How to send WhatsApp message templates in Chat Flow

Clickatell assists you in building out a dynamic API workflow. This workflow is not user-facing and gets triggered by an incoming payload. It allows you to initiate engagement with your customers by sending a pre-approved WhatsApp template (using the node), prompting them to take action and trigger a standard workflow.

Alternative method

These WhatsApp template types are supported:

  • Plain text template.

Message template configuration

To configure the API integration for message templates:

  1. In the Configuration section of the navigation, click API Integration -> + New API.

    • Add a Name for your endpoint.

    • Add the Element Validation, for example: HTTP_Response_Code.

    • Select "POST" as the Method, and "application/json" as both the Request Content-Type and Response Content-Type.

    • Enter "Authorization" as the header Key (i.e., the API key for your integration that can be found by navigating to My Workspaces ->API Integrations in the Clickatell Portal), then enter the associated Value.

  1. Save your changes.

API Integration node configuration

The images below show what the configuration of the API Integration node should look like for plain text and interactive templates.

Plain text template

Plain text template body

{
  "messages": [
    {
      "to": "2799900001",
      "channel": "whatsapp",
      "template": {
        "templateName": "welcome_notification_demo",
        "body": {
          "parameters": {
            "1": "Parameter 1",
            "2": "Parameter 2"
          }
        }
      }
    }
  ]
}

Interactive template

Interactive template body

{
  "messages": [
    {
      "to": "2710000000",
      "channel": "whatsapp",
      "template": {
        "templateName": "welcome_text_button",
        "body": {
          "parameters": {
            "1": "Keanan"
          }
        },
        "buttons": {
          "suggestedResponse": {
              "postbackData": {
                "1": "{\"buttonPressed\":\"menu\"}"
              }
            }
        }
      }
    }
  ]
}

Workflow example

The example below displays a workflow in which:

  1. The Text Display node is used to display a welcome message to the customer.

  2. An API call is then made to send the WhatsApp message template to the customer.

  3. In response to the call, another Text Display node is used to inform the customer that the template was sent successfully.

You can also send WhatsApp message templates using the . This is a more technical and roundabout way of sending templates, and therefore we recommend using the method .

.

Complete the fields to :

Enter the following URL:

Once configured, your API integration will be available for selection from the Name drop-down when .

When using interactive templates, remember to in the Keywords section. The keyword must be the same as the button shown on the interactive template, e.g., "buttonPressed":"menu".

✅
Interactive template with buttons
set up an API integration
https://platform.clickatell.com/v1/message
adding an API Integration node
add the correct keyword
API Integration node
above
Send Template
dynamic API flows
Interactive templates with buttons
Media templates
Send Template