Skip to navigation

Subscription Widget within a Workflow

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.

Subscription widget

This feature is currently supported only for WhatsApp.

ActionWhat it does
Opted-OutUnsubscribes the user, for example when they tap Stop promotions.
Opted-InSubscribes the user, for example when they agree to receive marketing messages.

Example

Two users get the same WhatsApp promotion. Priya taps Stop promotions, so the workflow opts her out. Rahul taps Shop now, so the condition is false and he stays subscribed.

Subscription widget opting a user out

Unsubscribe a user from WhatsApp notifications

To unsubscribe a user from WhatsApp notifications, follow the below steps.

1

Add the Virtual No. trigger

Create a workflow and select VIRTUAL NO. from the triggers. In the Mobile No. panel, under Mobile Number, select your WhatsApp Business number.

If the number is already linked to another workflow, you will see a warning. Saving the current workflow removes the number from the other workflow permanently.

2

Add a Condition

Drag and drop a Condition block and configure it as shown below.

It’s critical to use the variable $input.body.simplified.message.text and the value Stop promotions.

3

Add the Subscription widget

Drag and drop the Subscription action and attach it to the If block. Under Action, select Opted-Out.