The User Input plugin can collect text messages sent by users, but also images, *.docx, *.xlsx, *.pdf files and all other formats supported by Facebook Messenger. This plugin can act as a form that needs to be filled. And instead of redirecting users to an actual form you just ask questions right in the Messenger. 

It saves the data in an existing user attribute or creates a new one in case it does not exist yet. 

Here’s an example setup in the Flow tab (for the Blocks tab, scroll to the bottom of the article):

You'll find this functionality by clicking to add a Content block, and then selecting " Save User Input"

In the dropdown, you'll be able to select what type of input you want to save.

It's a good practice to allow your users to click on Buttons or Quick Replies whenever possible, but you can also just save text if you'd like. For example, if you want to collect testimonials, or hear more about the user's experience. Whatever you're collecting here, make sure to define an attribute to save it to.

You'll be able to see the attributes and segment users based on those in the People Tab of your bot.

This functionality also has a convenient follow-up option built in. All you need to do is click "Follow up if the user doesn't answer" and edit the timing and the message content


Here's what it would look like in the Blocks tab:

The user input plugin can also validate a user's input and trigger the plugin again in case it detects input which your bot does not expect.

In the Messenger people will receive these messages:

Their answers will be saved to the corresponding attributes that you can view in People tab.

Did this answer your question?