Use this section for configuring an SMS response to the customer, with the help of templates. The primary purpose of sending an SMS is to make the customer aware of the order status.
Example: If a customer has placed an order, they will receive an SMS stating that the order has been placed. Similarly, if a customer cancels an order, they will receive a cancellation message.
In this document, you will learn more about:
You can either create a new custom template using Create New or use any existing system templates arranged in Signup & Login, Order Processing, Order Cancellation, Order Return, and Order Refund groups. These templates will be used for choosing a template under events.
The only difference in a custom template and a system template is that the data is readily available in a system template.
Click on Create (refer fig. 1).
If you wish to create a custom template, click on Create New. Else, you can continue by selecting any other system template below it.
Figure 3: Select a Template
Click on Select & Proceed.
You will get the following page for configuring your template.
Figure 4: Configuring an SMS Template
Personalization - Select this only if you wish to use template variables. When the template engine Nunjucks encounters a variable, it evaluates that variable and replaces it with the value given in the JSON editor. This editor is used to add and edit variables in JSON format.
You can use existing variables. Moreover, you can create your own variables by using the following notation
Figure 5: Personalization using templating
Message - This is the body of the SMS. You can directly enter the SMS content or customize it using templating variables as shown in fig.5
Preview - This is the preview of the SMS as shown in fig.5
- Title - Give a suitable name to the template. Note that this name won't reflect in the SMS itself, and it is just for identifying one template from the other.
- Description - Assign a short description to the template within a limit of 100 characters. Note that this description is not the SMS content, and it is just for a user's understanding.
- Priority - Set a High or Low priority. For example, a payment SMS is prioritized higher over an 'order delivered' SMS.
- Tags - This is optional. One can, however, use tags to identify a specific SMS by searching its tag.
- Link to event - Assign this template to an event from the drop-down.
Click on Test SMS to verify its content and functionality.
Figure 6: Test SMS Figure 7: SMS Sent Figure 8: Successfully Received the Test SMS