I built a chatbot with Watson Assistant and integrated it with Slack. I added a date picker provided by Slack Block Kit Builder into the watson assistant dialogue node json like this:
{
"output": {
"generic": [
{
"channels": [
{
"channel": "slack"
}
],
"user_defined": {
"blocks": [
{
"text": {
"text": "Pick a date for the deadline.",
"type": "mrkdwn"
},
"type": "section",
"accessory": {
"type": "datepicker",
"action_id": "datepicker-action",
"placeholder": {
"text": "Select a date",
"type": "plain_text",
"emoji": true
},
"initial_date": "1990-04-28"
}
}
]
},
"response_type": "user_defined"
}
]
}
}
and here is what it looks like in slack: datepicker
But after I select a date, the chatbot seems to do nothing with it.
How can I make Watson Assistant remember or save the date picked? For example, I expect that after a date is picked, the chatbot can repond with something like 'Are you sure that you will make an appointment at the picked date' .