Create a bot to request to opt-in for Recurring Notifications

 

First, you have to develop a bot that will send request to users to opt-in to receive Recurring Notification.To create a the bot, first, go to the flow builder of ZenBot. Then, from the doc-menu, drag the Recurring Notification component and drop on the editor.

After that, click on the Recurring Notification component and instantly a modal form called Configure recurring notification will appear. Now you have to fill out the form.

Give a title for the Recurring notification in the title field. Then select a recursion type in the Recurssion type field. Click on the field and instantly a drop-down menu of differen recursion type — Daily, Weekly, Monthly — will appear. Then select a type.

Then you have to select a RCN postback ID from a list of predefined RCN postback IDs. Of course, you can create a RCN postback ID here.

Now lets see how to create a RCN postback ID. To create a RCN postback ID, click on the field and a drop-down list will appear. Now click on the New RCN item in the list and the New RCN will be selected. Now you have to provide an image. You can upload an image from your local machine or give an image url. Well, after providing an image, you can enable typing on display and select the delay in reply type in seconds.

Now click on the Done Button.

Instantly the data will be shown on the Recurring notification component and a New RCN component connected with Recurring notification component and a New postback component connected with New RCN component will arrive.

Now you have to configure the New RCN component.

Click on the New RCN component and a modal form will appear at the right side of the editor — you have to fill out the form. Give a Template name in the Template name field. You can select a Label in the Labels field — of course, you can select more than one Label. Then you can select a sequence in the choose sequence field. Like before, you can enable typing on display and select the Delay in Reply in second.

Now you have to configure the New RCN component.

Click on the New RCN component and a modal form will appear at the right side of the editor — you have to fill out the form. Give a Template name in the Template name field. You can select a Label in the Labels field — of course, you can select more than one Label. Then you can select a sequence in the choose sequence field. Like before, you can enable typing on display and select the Delay in Reply in second.

Now configure the New Postback component by giving it a title.

Now you can add any component to give the user a last message. Here I add a text message to thanks the user for opting-in to receive Recurring Notifications.

Now you have to develop a bot with the components so that the bot can send request to user to opt-in to receive Recurring notifications.

To develop the components as a bot, you have to connect the Recurring Notification with the Start Bot Flow. Then you have to provide a title to the Start Bot Flow component.

Then drag and drop trigger component and configure trigger components by providing Keywords to the Trigger component and connect The Trigger component with the Start Bot Flow Component.

When a user triggers the bot, it will request the user to opt-in to to send recurring notifications either daily, weekly, and monthly.

And if a user opt-in for Recurring Notification, he/she will receive Recurring Notifications.