How to trigger off of "Person fills out form on weekend"

Highlighted
Level 2

How to trigger off of "Person fills out form on weekend"

Hi Community,

We have demo requests submitted all the time, including the on weekends. Usually, we have a rep follow up via phone call but we trying to automate an email that is sent if the demo is submitted during off business hours, like the weekend. 

Has anyone built something similar to this? If so, can you share what you did?

Thanks!
Hoi

2 REPLIES 2
Highlighted

Re: How to trigger off of "Person fills out form on weekend"

I'd recommend using a tool like Calendly. It's cheap and is able to send an automated email after a demo request that allows the requestor to automatically book time on the calendar. I haven't used the tool from a customer standpoint so won't speak to the integration, but have requested demos before from companies that do use it and have no had issues scheduling a demo with a company.

Highlighted
Level 5

Re: How to trigger off of "Person fills out form on weekend"

You could:

- use javascript on the page to fill out a hidden field with the 'day of the week' and use that for automation

- use Email Scripting / Velocity to change content 

- use a Webhook and simple script to return in/out of business hours  

Some resources that might help 

JavaScript

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getDay

Velocity

https://blog.teknkl.com/velocity-days-and-weeks/

While you're going through the effort, you might consider adding in/out of business hours automation instead of just the day of week. 

hope it helps!