•   almost 9 years ago

Cannot see Response Cards section in Slot Prompts

Hi,

I was searching for Response Cards section for Facebook, Which I can see in the documentation screenshots but it's not available while I am creating bots and adding custom Intent > slots and prompts.

Is it something exclusive? How do I get access to it.

Thanks.

  • 2 comments

  • Manager   •   almost 9 years ago

    Hi Dhruv, Are you not seeing the response cards while creating the bot? You will need to build it first, then add the response cards. http://docs.aws.amazon.com/lex/latest/dg/ex-resp-card.html

    Once you've created the response cards, you will need to deploy/integrate the bot with FB Messenger to see/test the response cards. http://docs.aws.amazon.com/lex/latest/dg/fb-bot-association.html#fb-bot-assoc-create-assoc
    See the "Note:" section of .. http://docs.aws.amazon.com/lex/latest/dg/ex1-sch-appt.html

    Note:
    In this example, we show how to use response cards. The Lambda function constructs and returns a response card to Amazon Lex. The response card lists available days and times as buttons to choose from. When testing the bot using the client provided by the Amazon Lex console, you cannot see the response card. To see it, you must integrate the bot with a messaging platform, such as Facebook Messenger. For instructions, see Integrating an Amazon Lex Bot with Facebook Messenger. For more information about response cards, see Managing Messages (Prompts and Statements).

    Let us know if this doesn't answer your question.

    Vic

  •   •   over 8 years ago

    Hello,

    You can't use response cards if the Slot type is something like a persons name, or a city. It only works when you want the user to select from predetermined options saved a custom slots.

    Meaning, if you are asking "How would you like to travel" then you need to have a custom Slot with the options "Plane", "Ship", "Train".

    Hope that helps

Comments are closed.