Hello;
Does amazon connect chat, support Lex response cards?
I could not make it work. Is there any specific configuration?
Here is my lex response:
"dialogAction": {
"type": "Close",
"fulfillmentState": "Fulfilled",
"message": {
"contentType": "PlainText",
"content": "Here are your appointments"
},
"responseCard": {
"version": 0,
"contentType": "application/vnd.amazonaws.card.generic",
"genericAttachments": [{
"title": "Appointment 1",
"subTitle": "OPEN 30 MIN"
}, {
"title": "Appointment 2",
"subTitle": "OPEN 30 MIN"
}, {
"title": "Appointment 3",
"subTitle": "Surgery - Confirmed"
}, {
"title": "Appointment 4",
"subTitle": "OPEN 30 MIN"
}, {
"title": "Appointment 5",
"subTitle": "Surgery - Pre PA/NP Visit"
}
]
}
}
And this is what I get in chat websocket:
{
"content": "{"AbsoluteTime":"2021-02-02T11:20:51.138Z","Content":"Here are your appointments","ContentType":"text/plain","Id":"002bda83-00dc-43d1-b4a9-c9a4078ebf22","Type":"MESSAGE","ParticipantId":"6364965d-64ab-4d75-a36c-ad79de978156","DisplayName":"BOT","ParticipantRole":"SYSTEM","InitialContactId":"5fdf5185-8ef4-40ca-a81e-558207be70a0","ContactId":"5fdf5185-8ef4-40ca-a81e-558207be70a0"}",
"contentType": "application/json",
"topic": "aws/chat"
}
Thanks
Edited by: bbolek on Feb 2, 2021 3:24 AM
Edited by: bbolek on Feb 2, 2021 3:25 AM
Edited by: bbolek on Feb 2, 2021 3:27 AM
Edited by: bbolek on Feb 8, 2021 1:15 AM
Is there any response to this?
Thanks