How to Create and Use WhatsApp Templates In different ways

Got it! Here’s a guide on how to create and use templates in ExpressBot without diving into code. We’ll cover how to handle templates with no parameters, with parameters linked to variables, and with parameters linked to custom fields, all from a non-coding perspective.

1. Templates Without Parameters

Concept:
A template without parameters is a fixed message that doesn’t change based on user data or any other inputs. It’s static and consistent every time it’s used.

Example:

"Welcome to our service! How can I help you today?"

How to Use:
Simply enter the static message into your bot’s response settings where you configure the bot’s replies. This will be the default message that is shown to users without any modification.

2. Templates with Parameters using Variables and Custom Fields

To create a variable, follow the instructions below:

  1. Scroll down to Template Variable section of the page. 
  2. Click on the Create button -> write the variable name in the variable name field -> click on the save button.

To create a custom fields, follow the instructions below:

  1. Go to Input Flow section of the page. 
  2. Click on the Create button -> write the field name in the Custom Field Name -> click on the save button.

To create a template

  1. Go to Message Template section of the page. 
  2. Click on the Create button -> fill out the message template form. 
  3. Provide a name in the template name field -> write a message in the message body. 
  4. Insert the template variable/custom field in the message body if needed. 
  5. Write a Footer text in the Footer text field. It is not required, optional. 
  6. If you need to add quick reply, select the Quick Reply option. 
  7. Write button text in the Button text field. 
  8. Click on the save button.  

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top