Facebook bot integration

(Damian) #1

Hi,

'm looking for the bot that provides question via Facebook messenger, collects the answer and sends it back to my rest service. I’ve already done it but with one direction (from user to services) but I’m looking for how to manage two direction communication. Also question are taken from the service so base on the answer I can decide what to do next

In other words bot is interactive replacement for traditional web form.

Thank,
Damian

(Karen Barker) #2

Hi Damian,

You’ll want to set your bot up to send the initial question using our Ask a Question service. You could then use the Webhooks and HTTP service to pass the answer back to your own service. Your service could then pass the next message back to Flow XO using another webhook. The data in the webhook back to Flow XO can be utilised using data outputs to populate the next message/question to the user.

I hope this helps…give it a go and if you get stuck at any point don’t hesitate to ask. :thumbsup: