Triggering to Channel

Ed T
Feb 7, 2025 3:57 AM
Joined Nov, 2023 31 posts

I want to be able to communicate with guests directly through their email.  Unfortunately, the channel doesn't always supply client email.  One channel seems to pass the guest email through in the booking less than 1/2 the time.   

I want the ability to test to see if the email was provided.   I have a series of templates delivered to guest emails.  When the email is not provided none of the templates is sent.

Please advise how I test

If guest.email <> Null then

      Use email triggers to send welcome letters, area warnings etc.

else

     use channel triggers to send welcome letters, area warnings, etc.

 

Suzee S
Feb 9, 2025 11:54 AM
OR Team Member Joined Apr, 2023 29 posts

Hi Ed!

We don't currently support IF..THEN..ELSE logic in our triggers.

You could set up two templates - one email and one channel template.

Create two triggers to send - one to send the email template and the second to send the channel template. You'll use an email condition in each of them. For the:

  • Email trigger, the condition would be the booking has a real email address
  • Channel trigger, the condition would be the booking does not have a real email address


Here's what the condition looks like. I've highlighted the two applicable choices for what you're trying to do.