1

I would like to create an ordered list response with Amazon Lex, I tried HTML and Markdown in the "Custom Markup" area but nothing worked.

HTML:

<ol>
  <li>Item</li>
  <li>Item</li>
  <li>Item</li>
</ol>

Markdown:

1.  Item
2.  Item
3.  Item
Harry
  • 1,021
  • 4
  • 21
  • 41
  • How a response is displayed to the user is completely dependent on the channel (Facebook, SMS, Webchat, etc). Which channel are you trying to make this work for? – Jay A. Little Sep 27 '18 at 09:58
  • The chatbot is for facebook – Harry Sep 27 '18 at 10:38
  • 1
    Try one of these solutions, creating a line break after each item instead of a real OL: https://stackoverflow.com/questions/38100495/facebook-messenger-apihow-to-break-line-in-a-message – Jay A. Little Sep 27 '18 at 11:59

1 Answers1

0

Go to responses and click 'Add Message' in the lex console then you can format your list like this Item\n Item\n Item. It won't display a formatted list in the lex console but it will work on Facebook Messenger.

Harry
  • 1,021
  • 4
  • 21
  • 41