Skip to main content

How to trigger a chatbot using quick reply buttons in WhatsApp template messages

Summary

Quick reply buttons in WhatsApp template messages allow you to trigger automated actions when a customer clicks a button. You can use them to start a chatbot, assign conversations to specific teams, collect customer information, or send predefined responses.

This guide explains how to create a template with a quick reply button, connect it to an automation, and trigger a chatbot workflow when a customer interacts with the button.

Instructions

How it works

A quick reply button sends a predefined keyword when a customer clicks it.

You can create an automation that listens for that keyword and performs an action, such as:

  • Starting a chatbot

  • Assigning the conversation to an agent or team

  • Collecting customer information

  • Sending automated responses

  • Triggering integrations through webhooks

Step 1: Create a template message with a quick reply button

  • Log into your Wati account.

  • Go to Campaigns > Template Messages.

  • Create a new template message.

  • Complete all required fields, including:

    • Template name

    • Category

    • Language

  • In the button section, select Quick Reply as the button type.

  • Enter the keyword that will trigger the automation.

    Example:

    • Keyword: test

  • Click Submit to send the template for WhatsApp approval.

Note: The keyword configured in the quick reply button will be used later when creating the automation.

Step 2: Create or configure a chatbot

After the template is approved, create a chatbot or use an existing one to handle customer interactions.

A chatbot can be configured to:

  • Present buttons with predefined responses

  • Ask questions and collect customer information

  • Assign conversations to specific agents or teams

  • Trigger webhooks and external integrations

Configure the chatbot according to the workflow you want customers to follow after clicking the quick reply button.

Step 3: Create a keyword automation

Next, create an automation that listens for the keyword sent by the quick reply button.

  • Go to Automations > Rules and create a new keyword rule.

  • Select the trigger as New WhatsApp message is received.

  • Under Filters, select Incoming message matches keyword rule.

  • Enter the same keyword used in the quick reply button.

    Example:

    • Quick reply keyword: test

    • Automation keyword: test

  • Under Actions, select the reply material you want to trigger. For chatbot workflows, select Start chatbot and select the chatbot from the list.

  • Save the rule.

Note: Keywords are not case-sensitive. For example, test, Test, and TEST are treated as the same keyword.

Step 4: Send the approved template

Once the template and automation are configured:

  • Send the approved WhatsApp template message to your customers.

  • Wait for a customer to click the quick reply button.

When the button is clicked:

  • The configured keyword is sent automatically.

  • The keyword action is triggered.

  • The chatbot or selected automation starts.

  • The conversation follows the workflow you configured.

Result

By combining quick reply buttons with keyword automations, you can streamline customer interactions and automatically trigger workflows without requiring customers to type a message manually.

Frequently Asked Questions (FAQs)

Quick reply buttons and chatbot automation

1. What happens when a customer clicks a quick reply button in a WhatsApp template message?

When a customer clicks a quick reply button, a predefined keyword is sent automatically. An automation can listen for that keyword and trigger actions such as starting a chatbot, assigning the conversation to a team, collecting customer information, sending automated responses, or triggering webhooks.

2. What can I automate using quick reply buttons?

You can use quick reply buttons to:

  • Start a chatbot

  • Assign conversations to specific agents or teams

  • Collect customer information

  • Send automated responses

  • Trigger integrations through webhooks

Template configuration

3. Why do I need to assign a keyword to a quick reply button?

The keyword is used to trigger the automation. When a customer clicks the quick reply button, the configured keyword is sent automatically and can be matched by a keyword rule.

Chatbot configuration

4. What can a chatbot do after it is triggered by a quick reply button?

A chatbot can:

  • Present buttons with predefined responses

  • Ask questions and collect customer information

  • Assign conversations to specific agents or teams

  • Trigger webhooks and external integrations

Keyword automation

5. Does the keyword in the automation rule need to match the quick reply button keyword?

Yes. The keyword configured in the automation rule must match the keyword configured in the quick reply button so that the automation can be triggered when the button is clicked.

6. Are keywords case-sensitive?

No. Keywords are not case-sensitive. For example, test, Test, and TEST are treated as the same keyword.

7. What happens after a customer clicks a quick reply button?

When a customer clicks a quick reply button, the configured keyword is sent automatically, the keyword rule is triggered, and the chatbot or selected automation starts. The conversation then follows the workflow configured in the automation.

Did this answer your question?