Opt-out of WhatsApp Messages in Sprinklr through Journey Facilitator

Updated 

Sprinklr allows your customers to opt out of WhatsApp Messages in case they want to unsubscribe. You can remove the user’s profile permanently from the profile list and the user will not receive any future messages. This enables you to manage opt-out requests from your customers.

Before You Begin

You need to create a custom field and set up a rule which will remove the user’s profile from the profile list.

  • Create Custom Field

  • Create an Inbound Rule

To Create a Custom Field

  1. Click the New Tab icon. Under Platform Modules, click Custom Fields within Unify section.

  2. In the top right corner of the Custom Fields window, click Add Custom Field.

  3. On the New Custom Field window, fill in the required details.

  4. Select Picklist as the Custom Field Type. You can select only one value from the available options while applying this type of Custom Field.

  5. Provide a Name - Opt-Out/Unsubscribe to your custom field.

  6. Search and select Profile from the Asset dropdown menu.

  7. In the Set Values section, you can enter Yes and No as the desired value types.

  8. In the Visibility Control section, you can set the visibility of your custom field as per your requirement.

  9. Click Save in the bottom right corner.

To Create an Inbound Rule

Creating an Inbound Rule will help you set desired conditions and actions to Unsubscribe a user from WhatsApp Messages.

If a user replies to a WhatsApp message with the keyword “UNSUBSCRIBE” you can set up a rule to remove the user’s profile from the profile list. Removing a user from the profile list ensures that they no longer get future WhatsApp Messages.

The rule is triggered based on the user’s reply. If the text contains the keyword “UNSUBSCRIBE”, the rule triggers and the user will no longer receive any future messages.

  1. Click the New Tab icon. Under Platform Modules, click Rule Engine within Collaborate section.

  2. In the top right corner of the Rule Engine window, click Create New Rule.

  3. On the New Rule window, provide a Name and an optional Description for your new rule. For example - Unsubscribe.

  4. Set the Rule Scope to Workspace or Customer.

  5. Search and select Inbound from the Context dropdown menu. It determines which type of asset the Rule will be executed upon.

  6. Fill in the other details as per your requirement. To know more, see Create a Rule.

  7. Click Next at the bottom. You will be directed to Rule Engine Builder.

  8. On the Rule Engine Builder window, click the Addition icon and select Add Condition.

  9. In the Edit Condition pane, to define Message Source, select Account from the Condition dropdown under the Conditions Applies to "The source of the Message" section.

  10. Search and select the desired WhatsApp account from the Value field.

  11. To define Message Properties, set the following conditions and values.

    • Post Type > is > Fan Post

    • Text > contains > UNSUBSCRIBE

  12. Click the Addition icon on the Yes branch of the condition and select Add Action.

  13. In the Edit Condition pane, select Add a Note from the Action dropdown under the Actions to “Change properties of Message” section.

  14. Enter Unsubscribed in the Value field.

  15. Search and select the Partner Profile List you wish to unsubscribe for the Remove from Partner Profile Lists action under the Actions to “Properties of the message sender” section. This will remove the subscriber from the Partner Profile List.

  16. Click Add another Action and search and select the Opt-Out/Unsubscribe custom field created earlier and set Yes as the value type.

  17. Click Save in the bottom right corner.

Create an Asset for Journey using the HSM Template

A template message (also known as a Highly Structured Message or HSM) is a special message type that must be used for any business-initiated or re-engagement conversations via the WhatsApp channel.

HSM is mainly created for sending notifications to customers. Notifications are business-initiated templated messages that can be sent anytime. They enable you to:

  • Deliver important, timely messages during your customer’s path to purchase.

  • Send messages anytime without any 24 hours time restriction.

  • Continue the conversation with the customers who respond to your notification.

Note

  • Please note that this capability is available only to customers who have been approved by Sprinklr for access to the WhatsApp Beta program.

  • To learn more about getting this capability enabled in your environment, please work with your Success Manager.

To Create HSM Template for WhatsApp Business with UNSUBSCRIBE keyword

  1. Click the New Tab icon. Under the Sprinklr Marketing tab select the Marketing section, then click Digital Asset Management within Plan.

  2. In the top right corner of the Asset Management window, click the Create Asset icon and select Omni Chat Templates from the dropdown.

  3. On the Create New Asset window, provide a Name and Description for the asset in the respective fields under the Basic Details section.

  4. Under the Asset Specific section, select HSM from the Template Type dropdown and WhatsApp Business from the Channel dropdown.

  5. Under the Message Details section, select Image as the Header Type. You can either select the image from SAM, Media Valet or Upload it.

  6. In the Message field, you can enter your text.

  7. In the Footer field which will be shown beneath the message enter the following text:

    • Type UNSUBSCRIBE to stop receiving further message

  8. Click Save in the bottom right corner.

Note

  • The keyword mentioned in the footer of the WhatsApp Message should correspond with the condition set in the rule.

  • If the keyword in the footer differs from the condition set in the rule, the recipient unsubscribe action will not be successful.

Tip

Develop an internal operational policy for your team members who create journeys to ensure that the same keyword is used consistently by everyone.

To know more about HSM Template creation for WhatsApp Business, see Create HSM Template for WhatsApp Business.

To build a WhatsApp journey with unsubscribe flow

Sprinklr’s Journey Facilitator helps you create unified, omni-channel customer journeys using a visual, state-of-the-art flow builder. The customer journey flow is the visual representation of the pattern that you are mapping to communicate with the customers across different channels.

Note:

  • While setting the path, use the UNSUBSCRIBE/OPT-OUT custom field created earlier as Resource.

  • If the value for custom field UNSUBSCRIBE/OPT-OUT is set to YES then do not trigger the path and if it is not set to YES then trigger the path.

  1. Click the New Tab icon. Under the Sprinklr Marketing tab select the Marketing section, then click Journey Facilitator within Publish.

  2. In the top right corner of the Journey Facilitator window, click Create Journey.

  3. Fill in the basic details and settings required to get the journey started. Under the Select Audience section, search and select for the Audience Segment(s) which includes the corresponding profile lists/profiles that are meant to receive the messages.

  4. Click Save and proceed. You will be redirected to Journey Builder.

  5. On the Journey Builder window, click the Addition icon and select Custom Field Check as the Condition type.

  6. On the Add Conditions pop-up window, provide a Title and set Path Name and Conditions for your journey.

  7. You can create the following paths in the WhatsApp Unsubscribe Flow journey:

    Path Name - Do Not Trigger

    • Enter Value or select from Resources available in the Where dropdown by clicking the ${x} symbol.

    • Select Containing as the Operator type.

    • Select Yes from the Value dropdown.

    Path Name - Trigger

    • Enter Value or select from Resources available in the Where dropdown by clicking the ${x} symbol.

    • Select Not Containing as the Operator type.

    • Select Yes from the Value dropdow.

  8. Click Add in the bottom corner.

  9. Click the Addition icon on the Trigger path action and select Send Message as the Action type.

  10. On the Select Message pop-up window, search and select the desired message from Add from DAM, Favorites, Add from UGC, Add from URL, Upload Media, and Dynamic Image.

  11. Click Next.

  12. Similarly, click the Addition icon on the Don’t Trigger path action and select End as the Action type.