Dear community,
In my previous version of Power Virtual Agent i connected a Power Automate flow to greet the customer.
The Power Automate flow retrieves the user from the Office365 connector and Time connector determines
if where are the morning, afternoon or at night.
So it displays the following message:
"Good afternoon Peter, I am the chatbot. How can i help you?
In het new version of PVA i do not need the PA flow to get my name from the office365 connector. I just use
the prebuild variable User.Firstname
My question: is it possible to determine if we are in the morning, afternoon or at night using perhaps the variables Conversation.LocalTimeZone and / or the variable Conversation.LocalTimeZoneOffset.
This is my power automate flow:
the value of the initialize variable is: int(body('Hour'))
the value of the compose is:
Hi @PeKi72
If you bot is in a single timezone you could use the Now() PowerFX and adjust the value based on your timezone.