Adding webhook choice into nested programs in Nurture Stream | Community
Skip to main content
Lucas_Metherall
New Participant
March 30, 2021
Solved

Adding webhook choice into nested programs in Nurture Stream

  • March 30, 2021
  • 1 reply
  • 3517 views

Hi all,

 

We had an agency build us a function into one of our Nurture Programs; either send an SMS (call webhook) or send email.

 

I cannot locate that program they built, or any discussion around doing this, does anyone have any insight into how:

 

- I can have a nested program trigger a webhook to send an SMS as first rpeference

- Send an email to those who did not qualify for the SMS Webhook.

 

Thanks,

 

Lucas

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

Well worked out, that should do the trick. If you want to be absolutely sure not to have someone in both flows, you can add a Remove from Flow between the two steps, to entirely remove the people who were sent the email before moving on to the SMS step.

1 reply

Lucas_Metherall
New Participant
March 30, 2021

I think I found a solution;

 

in flow step:

1. Send email - add choice "if mobile number does not start with the proper prefixes, send email"

         Default = Do nothing

2. Call Webhook (Request Campaign) - add choice "if mobile DOES start with proper prefixes, request campaign"

        Default = Do nothing

 

This would split the audience into two groups and address them both, as per what we need.

 

 

Katja_Keesom
Katja_KeesomAccepted solution
Community Manager
March 30, 2021

Well worked out, that should do the trick. If you want to be absolutely sure not to have someone in both flows, you can add a Remove from Flow between the two steps, to entirely remove the people who were sent the email before moving on to the SMS step.

Amit_Jain
Community Manager
March 30, 2021

Agree with @katja_keesom! Removing from flow is required to handle the edge cases and only send either email or SMS.