Creating a Workflow with Subscription

Subscription

The subscription widget activates the process for subscribing or unsubscribing. This happens when a user clicks “Stop Promotions” in a WhatsApp message or when a user consents to receive WhatsApp marketing notifications.

For example, to unsubscribe a user from WhatsApp notification, follow the below steps.

1In the Workflow, configure the WABA no by adding ‘Virtual No’ trigger.
2Drag and drop a Condition block and configure it as shown below. Its critical to use the variable ‘$input.body.simplified.message.text’ and value as ‘Stop promotions
3Drag and drop ‘Subscription’ action and attach it to if block. Then add Subscription key as ‘simplified.message.button.payload’ and action as ‘Opted-Out’.