Send Surveys on WhatsApp Business via HSM Templates

Updated 

Using HSM templates, you can proactively send surveys to your customers on WhatsApp Business. To send survey templates, you have to create an HSM Template in Digital Asset Management. After creating a template, you can send it to your customers by creating a rule in Rule Engine. The template can also be used to send other things such as bills on WhatsApp Business.

Before You Begin

You need to create an HSM Template. For more information, see Create HSM Template.

Note:

While Creating HSM templates in order to add survey links and properties to the assets use {{1}} placeholders in the message body and chose the survey link and other properties

To Send Surveys via HSM Templates

  1. Click the New Tab icon Under Governance Console, click Manage Rules within Platform Setup.

  2. On the Rule Engine window, click Create New Rule in the top right corner.

  3. On the New Rule window, provide a Name and an optional Description for your new rule and set the Rule Scope to Customer.

  4. From the Context drop-down menu, select Case Update.

  5. If required, modify the values for Activation Date, Rule Execution Batch, and Rule Type.

  6. On the Rule Builder window, click the icon to Add Condition. Enter a Name for the condition in the Edit Condition pane on the right.

  7. Under Conditions Applies To "Universal Case", select Case Queue from the Condition dropdown and the desired queue for which you want to send a survey from the corresponding dropdown.

  8. On the Rule Builder window, click the icon on the Yes branch of the condition and select Add Action.

  9. On the Edit Action pane in the right, enter a Name for the action.

  10. Under Actions To "Survey", select Request Survey from the Action dropdown and the survey you wish to send from the corresponding dropdown.

  11. Next, fill in the Survey Expiry Duration, Survey Triggered By and URL Shortener.
    Survey Expiry Duration: Set the duration for the Survey Expiry.
    Survey Triggered By: Select the user who you want to trigger the survey.
    URL Shortener: Select the URL Shortener to shorten the URL of the survey.

  12. Click Add Conditions and select Survey Template from the Action dropdown and the HSM template that you have created in Digital Asset Management from the corresponding dropdown.


    Creating a rule to proactively publish surveys via HSM Template in WhatsApp Business

  13. Click Save in the bottom right corner to finalize the rule. Similarly, you can send other things such as bills via HSM templates on WhatsApp Business.