Calendar Input
# 🤝help
r
I wanted to ask whether there is a way to take input from the user through a calendar and store it in a datetime variable.
Then how are we able to take input in a user-friendly way? (Regarding date and time)
a
For now, there's the DateTime capture card, where you can ask the user to type in the date. The card is very versitile and can take input like "next friday" "June 11" or "18:30" and turn it into a standard Datetime
r
So does the variable have to be a date or string variable?
a
the variable will be a JS Datetime object. The AI behind the scenes will do its best to turn whatever the user says into this object, so you don't have to worry about that part.
g
Hey just made a calendar integration for botpress. Check it out. Would love the feedback. Feel free to reach out to me as well.

https://youtu.be/pI5saiWdmzs