Web-Card Replies

Web-Card replies can be displayed in the Bot UI’s ‘chat-flow’.

You configure these via the 'Custom Payload' reply option, in the Dialogflow console, as a 'Json' formatted response.

If you supply more than one ‘item’ in the Json 'message.card' array, an item will be selected at random from your array.

Example


          

Json

{ "platform": "mindkit", "version": "1.0.0", "message": { "card": [ { "image_url": "https://botmock.s3.amazonaws.com/1539879728.jpg", "title": "Talk to the Samaritans", "action_url": "https://www.samaritans.org", "action_title": "VISIT WEBSITE" } ] } }

This should be sent as a 'custom payload' from Dialogflow