How to use today's date in a conditional branching

0

Before answering my customer in my Amazon Lex bot, I want to check today's date. Then depending on if it's weekend or outside of my business hours, setting different messages for the question.

I've been trying to use the session timestamp as parameter in my conditional branching, but it doesn't work. Any suggestions to accomplish my goal? Is there any way of doing it without using a lambda?

Thanks in advance!

ThiagoR
demandé il y a 9 mois60 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions