Using catchall date and time as a filter not working when filtering Dates

(Francis Cleofe) #1

I tried to create a send a message action with filters for the date and time just so that my bot would respond to customers that we are on holiday but all of the date formats won’t seem to work.

I’ve tried creating a filter with the following conditions

{{catchall.datetime}}

equals

October 29, 2018/Oct 29, 2018/2018-10-29 and all the variations on the date and time format document but it wont seem to see the date and the details just keep posting as no match.

I tried triggers using time and day of the week and it was fine, its just the specific dates that won’t seem to work.

Thanks,

(Daniel Beckett) #2

Hi @FrancisC

When a flow is triggered the Date/Time Received output will be in a format like this:
Mon Oct 29 2018 09:28:22 GMT+0000 (UTC)

If you wanted a flow to only run on October 29th then you could add a filter for:
{{catchall.datetime}}
Contains
Oct 29 2018

(Francis Cleofe) #3

Thanks Daniel I’ll give that a shot and see if it works!