Hello guys.
I’m new to Freshchat and I’m struggling to build a script that defines a welcoming message based on the current time. I mean, I’d like to welcome a customer with “good morning”, “good afternoon” or “good evening” depending on the time they send a message. There’s a predefined custom function that outputs the day of the week, but I wasn’t able to adapt it to my need.
Would someone help me on that?
Important information: I’m from Brazil and I’m using 24H formatting.