Sign In
Sign In
  1. Home
  2. APIs
  3. Launch your WhatsApp Push campaign
  4. Example 2 - Template with 2 quick reply buttons
APIs
37 articles
WhatsApp Push v1.03
Introduction
Launch your WhatsApp Push campaign3
Request authenticity signature
Example 1 - Template with Image and 2 CTA buttons
Example 2 - Template with 2 quick reply buttons
Webhooks
Agent Handover v1.04
Data Compliance API4
Widget Javascript API4
Message Trigger v1.12
Messaging v1.14

Example 2 - Template with 2 quick reply buttons

Send a WhatsApp template with header and body variables plus two quick-reply buttons targeting specific chatbot use cases.

Updated on September 24, 2026

In this example, we have a WhatsApp template with:

  • A header section with 1 variable

  • A body section with 2 variables

  • 2 Quick Reply Buttons with payloads that point to specific use-cases within your chatbot flows

JSON
[
    {
        "template": {
            "components": [
                {
                    "type": "header",
                    "parameters": [
                        {
                            "type": "text",
                            "text": "Some variable"
                        }
                    ]
                },
                {
                    "type": "body",
                    "parameters": [
                        {
                            "type": "text",
                            "text": "Your variable 1"
                        },
                        {
                            "type": "text",
                            "text": "Your variable 2"
                        },

                    ]
                },
                {
                    "type": "button",
                    "sub_type": "quick_reply",
                    "index": "0",
                    "parameters": [
                        {
                            "type": "payload",
                            "payload": {
                                "target_use_case_uuid": "69ca76ae-2abd-4758-83cf-b74e33f34ff6",
                                "target_node_uuid": "0cbe8b64-1332-4562-8305-94a5b59c3e18"
                            }
                        }
                    ]
                },
                {
                    "type": "button",
                    "sub_type": "quick_reply",
                    "index": "1",
                    "parameters": [
                        {
                            "type": "payload",
                            "payload": {
                                "target_use_case_uuid": "6109b551-0921-4afd-b779-a8567d2108a0",
                                "user_id": "3185970", "booking_ref": "NEFCXG"
                              }
                        }
                    ]
                }
            ],
            "language": {
                "code": "fr-FR"
            },
            "name": "whatsapp_push_template-name"
        },
        "to": "USER_PHONE_NUMBER"
    }
]

In this example, the 1st payload links to a specific Node in a Use-Case that was built using FBv2 (FlowBuilder v2). The 2nd payload links to a specific FBv2 use case along with 2 contextual variables. Attention: only User channel variables are eligible here.

As there is only one JSON object in the array - only one WhatsApp push message will be sent out to USER_PHONE_NUMBER.

Was this article helpful?

Made from France 💙

Categories

  • ANALYTICS
  • BUILD
  • LOUIS AI
  • INTEGRATE

🔗 Useful Links

  • Sign In
  • Website
  • Terms & Conditions

© 2026

MindsayPowered by Mindsay

Search the help center…

Search help center articles