Search code examples
amazon-web-servicesamazon-lex

How to create a list in amazon lex


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

Solution

  • 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.