Skip to main content
Level 2
February 26, 2019
Question

Trigger campaign for night email opens

  • February 26, 2019
  • 1 reply
  • 2765 views

Hi!

Does anybody know the best way to set up a trigger for email opens that happen during specific hours? I want to create a trigger campaign for those who open and read our emails at nights. How it's done now:

  1. Trigger for action "Opens email" regardless of time
  2. In the flow we add system time to a custom field
  3. Then we check if this custom field's value start with 1am or 2 am etc, then request a campaign

I was wondering if there's a more elegant way to solve this issue, without the need to use a custom field.

Thank you,

Anastasia

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SanfordWhiteman
Level 10
February 26, 2019

Depends on how you're responding to the activity. Does that requested campaign do something immediately, like send an alert?

Level 2
February 26, 2019

Yes, it should send an email

SanfordWhiteman
Level 10
February 26, 2019

You're doing about the best you can with the built-in options.

Certainly a webhook is a more proper fit for such data processing (since it can process date-like strings as dates) but it's not worth the overhead just to save on a single Datetime field.

The most efficient way by far would be to have a Resource Lead call a webhook twice a day, the webhook in turn looping back to activate/deactivate the campaign via the REST API. But again, not worth the extra build unless you're super-comfortable with this kind of work.