1
votes

I am working on a Chatbot for Slack with DialogFlow. I have put a message menu in Slack. I want to send the selected value to DialogFlow as an intent. It does not work. Does DialogFlow supports message menus or Do I have to setup a webhook myself?

Thanks.

1
You need a server, in middle. Add server to dialogflow, parse request object, convert to slack compatible object. - Praveen Soni
If I do that I have to parse myself the quick replies button that are working now. Is there anything else I can do? - Vidushan Chooriyakumaran

1 Answers

1
votes

As @praveen suggested you will need to enable Fulfilment in DialogFlow settings for the project and point it to your fulfilment back-end service. After you have done that check Rich Messages Doc to see what data payload to respond with to DialogFlow from your Fulfilment service to make Slack display a menu.

UPDATE

If you want to perform an action in Slack and enable Slack notify you of that action then you can either user Slack RTM or Slack's event API