Dynamic Menu and User Authentication

#1

Hello everyone.

I’m quite new to Flow XO and I’ve been exploring what is possible to do and what not. So far, I’m very surprised and satisfied, but I have a few questions:

  1. Is it possible to, somehow, access information about the user talking to the bot? (Messenger)
    Actually, every user is already registered and, considering they’re already logged on Facebook and triggered the flow, I want to authenticate them right at the beginning of the conversation. It’s some sort of social login.

  2. Is it possible to create a dynamic menu? Based on the input given by the user, I have a webhook which will return the options. It could be 3, 4, 5 options or even more, and the user has to choose one, of course, and I want to store it. Example:
    1 - Option A (US$30.00)
    2 - Option B (US$45.00)
    3 - Option C (US$27.00)
    Is it doable somehow? If so, how to do it?

Well, that’s it. Thank you in advance.

(Daniel Beckett) #2

:wave: Hi Felipe,

For your first question can you clarify what information you want to automatically gather from the user? Our bots only grab some basic info automatically such as the user’s name and response path. Any extra details will need to be supplied by the user; the easiest way is to use the Bot > Ask a Question action to gather what you need.

Your dynamic menu idea sounds great and I think the best way to present it to your users would be the Bot > Send a Card Set action.

You can use your webhook outputs to dynamically populate content into the card set. Once the user clicks on a shortcut for one of the cards it will be sent as text so you can follow-up your card set with something like Bot > Ask a Question > “Please select from the above options” - this would give you their selection which you could save elsewhere.

Hopefully that gives you an idea of how it could work. :slightly_smiling_face:

If you run into problems with the setup then it may be best if you email support@flowxo.com and we’ll be able to assist from there.

Thanks,
Dan