If you want to gather some information saved as user attributes and have it sent to you automatically, the best way to do so is set up a combination of User Input and Send Email plugins in your bot.
Let’s say we’re building a bot for a vacation rental in Amsterdam and would like to get some feedback on the user’s stay.
Setting up the User Input plugin
In the User Input plugin we’ll need to ask the user some questions and save the responses to separate user attributes. In our example, the first question asks for a general review of the stay, while the other two are a bit more specific, and their respective user attributes are described accordingly.
Setting up the Send Email plugin
Right below the User input plugin you can then add a Send Email plugin, which allows us to take the data saved in User Input and send it directly to one or more specified email address(es). You will need to enter the title of the email you will be getting, the email address the email should get send to, and format the email's body which is where you need to put the user attributes you have got from the user input plugin.
Note that you, of course, can also use any other attributes available in your bot like the user’s Facebook name, as shown in the title below.
After the user completes the feedback survey, Send Email plugin will trigger automatically and you will get an email containing the information user provided.