While getting the value for the parameter ‘departure-date’ for an agent in DialogFlow CX, I want to make sure that the user only enters either today’s date or a future date. If not, I want to print an ‘Invalid Date’ message and re -prompt for an input.
I tried adding an event handler to compare the date and then route the agent accordingly, but I can’t figure out how to get the current date to compare with.
New contributor
Nivin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.