Introduction

 

XeroChat, the world’s best marketing software, has recently presented a fantastic add-on called ‘User Input Flow & Custom Fields’. This add-on will work with the XeroChat’s messenger bot. That is, it will add a new feature to the messenger bot.

The add-on and XeroChat’s messenger bot together can collect different types of information and instantly use this information to communicate with the users well-- it can communicate like a human being. Unlike web-view, instead of taking the user to a web-view and telling them to fill out a field, it collects information inside the very messenger while chatting with the users. Moreover, the add-on collects information without telling the users to click on Quick reply buttons for the users’ phone number, email address or birth date. Therefore, people feel free to provide their information.

Well, besides users’ phone numbers and email addresses, birth date, it can collect any kind of information in text, number, and Datetime format. Also, it can collect links, files, images, and videos. In one word, the XeroChat’s User Input Flow and Custom Fields can collect any kind of information. And the information will be saved to the messenger subscriber, a feature of XeroChat for storing information collected via Facebook messenger. Also, it directly assigns users’ Email addresses and phone numbers to XeroChat’s Messenger, Email, and SMS sequence campaign.

 

How to set the User Input Flow and Custom Fields:

 

First, you have to make a campaign on the interface of User Input Flow and Custom Field. Then you have to make bot reply settings, selecting the User Input Flow as Reply type and selecting the campaign you have created on the interface of the add-on. Then the add-on will be able to collect different kinds of information from the users.

To make a campaign for User Input Flow and Custom Fields, go to Messenger Bot> User Input Flow and Custom field> Action Button.

When you click on the Action button, under the action button, you will see two sub-menus--Create User Input Flow Campaign and Create Custom Field.

 

Create a Custom Field

 

If you need a field other than the system-defined fields, you have to create custom fields. Okay let's see how to create a custom field.

First, go to Action> Custom Field > Click on the New Custom Field > Fill out a form> Click on the Save button.

When you click on the New Custom Field button, a form will pop up. And you have to fill out the form, providing a name for the Custom Field and selecting a Reply type from the drop-down list. Click on the Save button.

Instantly, the Custom Fields will appear on the page with a delete button beside it. You can add as many custom fields as you want. Of course, you can delete your existing Custom Fields by clicking on the Delete button.

 

Create User Input Flow

 

After you have created your Custom Field, you can create a campaign for User Input Flow, using the custom field you have created.

To create a campaign, go to Messenger Bot> User Input Flow and Custom field> Action > User Input Flow Campaign> Click on the New flow> Fill out the form.

Just as you click on the New Flow button, a form will appear, and you have to fill out the form.

 

How to fill out the form

 

First, give a name for your campaign in the campaign name box and select your Facebook page. On the right side, you can see two types of Question builder-- Free Keyboard input and Multiple choice. If you want to make multiple choice questions, select the Multiple Choice option. But if you want to make a general question, select and format from the table under the Free Keyboard input option.

Okay, let's create a campaign.

First, select a format from the table under the free keyboard option. Instantly, a field will appear with a settings button at the right side.

As for the multiple choice question, click on the multiple choice options. And in addition to a question field, four options will appear so that you can include your choices for the questions.

You can add more choice by clicking on the Add more button.

Now put your question and for the multiple choice options insert the choices and click on the settings button. Just as you click on the settings button, a drop-down form will appear. Now you have to fill up the form.

 

 

Connecting User Input Flow with the Messenger Bot:

 

Now you have to connect the campaign with the messenger bot to collect data from the users.

To connect the campaign with messenger bot, go to Messenger Bot> Bot Settings> Action> Bot Reply settings > Add Bot Reply.

Now click on the Add Bot Reply, instantly a form will appear. Now you have to fill out the form.

How to fill out the form:

In the Bot name box, write a name for the bot. Then write down some keywords comma separated in the keyword box. After that, select a reply type in the select reply type box. Just as you click on the select reply type box, a drop-down list of reply type will appear. From the drop-down list, select User input flow. You can also enable typing on display by enabling the radio button and you can select time delay in reply in seconds.

In the Bot name box, write a name for the bot. Then write down some keywords comma separated in the keyword box. After that, select a reply type in the select reply type box. Just as you click on the select reply type box, a drop-down list of reply type will appear. From the drop-down list, select User input flow.

Now click on the select a flow campaign and the campaigns you have created will appear on a drop-down list. Now select a campaign and click on the Submit button.

Now click on the submit button.

Now If a user writes something in your messenger that matches with any keyword you have provided, the campaign will be started.

You can also add the User Input Flow campaign to the messenger bot with Get started template.

On the Bot Reply settings page, click on Action Button Settings and a popup menu will appear. Select the get started template from the menu. Instantly, get started template will appear at the right panel of the page. Now you have to fill up the template.

Click on the ‘Select Reply Type’, instantly, a drop up menu will appear. Select User input Flow. Now click on the select a flow campaign and the campaigns you have created will appear on a drop-down list. Now select a campaign and click on the Submit button.

When a user clicks on the Get startedbutton on your page’s messenger, the user input flow campaign will be started.

Thanks for reading the documentation on how to create a campaign for the User Input Flow and connect the campaign with messenger bot.