SOLVED

Re: Are the order of webhook calls guaranteed

Go to solution
Jo_Pitts1
Level 10 - Community Advisor

Are the order of webhook calls guaranteed

Hi there.

If I have two webhook calls in a single triggered smart campaign flow, are they guaranteed to execute in the order they are listed?

Cheers

Jo

1 ACCEPTED SOLUTION

Accepted Solutions
SanfordWhiteman
Level 10 - Community Moderator

Re: Are the order of webhook calls guaranteed


with the second campaign containing the second webhook, and triggered off the Webhook is Called trigger?

Exactly.

 

View solution in original post

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Are the order of webhook calls guaranteed

Is this a trick question? 🙂

 

The 1st HTTP request-response is guaranteed to finish before the 2nd one starts.

 

But that doesn’t mean the data value change from the 1st is guaranteed to be done when the 2nd one starts.

Jo_Pitts1
Level 10 - Community Advisor

Re: Are the order of webhook calls guaranteed

@SanfordWhiteman , even though I knew you'd be the one to anwer - NO it wasn't a trick question.

 

Given the statement


But that doesn’t mean the data value change from the 1st is guaranteed to be done when the 2nd one starts.


And that (in reality) the data value changing is the crux of my question, is the right approach to use two smart campaigns with the second campaign containing the second webhook, and triggered off the Webhook is Called trigger?

 

Cheers

Jo

SanfordWhiteman
Level 10 - Community Moderator

Re: Are the order of webhook calls guaranteed


with the second campaign containing the second webhook, and triggered off the Webhook is Called trigger?

Exactly.

 

Jo_Pitts1
Level 10 - Community Advisor

Re: Are the order of webhook calls guaranteed

That I can do 🙂 

Thanks @SanfordWhiteman.  I love avoiding race conditions!!