Trigger campaign for night email opens

Anastasia_Alpee
Level 1

Trigger campaign for night email opens

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

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Trigger campaign for night email opens

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

Anastasia_Alpee
Level 1

Re: Trigger campaign for night email opens

Yes, it should send an email

SanfordWhiteman
Level 10 - Community Moderator

Re: Trigger campaign for night email opens

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.

Anastasia_Alpee
Level 1

Re: Trigger campaign for night email opens

Thank you!