Mautic Community Forums

Campaign Condition to trigger action in business/social hours

Your software
My Mautic version is: 3.3.3
My PHP version is: 7.4

Your problem
My problem is:
We have an autoresponder that we have setup in a campaign, looking for a tool that will allow us to trigger an action (email, sms, webhook or something) only in social hours for specific circumstances.

ie if now() is between 9am and 5pm, then send/trigger action
else schedule in action for the next social window 9.00am

Keen to have it to setup in a way that its aware of the next social window, not having to setup split logic that would be 5pm - 12am (set tomorrow 9am) and 12am - 9am (today 9am)

Objectively, we get alot of enquiries after hours in Real Estate.

  1. We are trying to send them the auto responder email and confirmation sms immediately
  2. Then schedule in a follow up introduction email and sms in morning along with a webhook to 3rd party software which would then trigger other functionality.

There after the campaign would then return back to a common DRIP campaign relative to the date of enquiry.