Distribution/notification by day 7 time

I am looking to have use different notifications for different time of day. I.e. GF would use notification 1 during business hours and use notification 2 during non business hours. Is anyone aware of how this can be achieved? Thank you in advance.

Hi Mandi. Can you use this plugin from Gravity Wiz which allows for conditional logic based on dates:

That should enable you to set up conditional notifications based on the time of date.

If not, it should be possible with custom code. The code is not complex if your business hours are simple, but if they are different on different days, and closed on some days, to code gets a lot more complex.

Let us know if this plugin will do the trick or if you need another way. Thank you.

Thank you! I’ll try this.

1 Like

This works for my regular business hours during the week. I have the form notifying select people based on zip code and by time 5pm-8am. However, I need to set them to use the same notifIcations all day Saturday & Sunday too, 5pm Friday until 8am Monday. Any suggestions? The custom code is above my head.

Hi Mandi,

Dario from Gravity Wiz here.

With Conditional Logic Dates you should be able to use {saturday} and {sunday} merge tags to override the Time conditions.

The only caveat is that Conditional Logic won’t do OR conditions.

If you need further help, you can reach us at Support - Gravity Wiz and we’ll try to help!

Cheers,

The merge tags is above my skill set. Can you please help me further?
I also don’t understand what “The only caveat is that Conditional Logic won’t do OR conditions” means. Can you please elaborate?

I have another question please. I have the notifications routing configured by zip code. How would I handle it if someone enters a zip code that is not on the routing? I want those to go to set email so they are not lost. Can you please help with this?

Hi Mandi,

Conditional Logic will work for a condition such as:

  • If ALL of these conditions or if ANY of these conditions match do something. For example: If date is {sunday} or day is {saturday} send the notification.

But this other scenario is not possible to create with Conditional Logic:

  • If ALL of these conditions or if ANY of these conditions match AND this other conditions match do something. For example: If date is {sunday} or day is {saturday} or date is {monday} AND time is {some_time} send the notification.

About the merge tags, you can find more information here: Gravity Forms Conditional Logic Dates - Gravity Wiz

The ZIP code question looks like an OR/AND scenario which from I understand is not currently possible to create. My guess here is that you could create a different Notification what will only trigger when zip code is not on the routing.

I hope this helps!

Best,

Thank you. I’ve tried this and I’ll see if it works tomorrow.

Thanks for the tip on routing.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.