Why could you need the Studio action getCurrentDayPart ?

Mostly to say "goodbye" in a way adapted to the time of day in order to get closer to human contact.

How to use it ?

Inputs required: NO Outputs returned: {dayPart}

To end a conversation, just place the Studio action getCurrentDayPart before a Say action whose text is "Good {dayPart}".

A context key is set in the context of the bot (not visible on the transition) and can be used in the bot to say "goodbye" depending on the time of day (e.g. "Good evening").