How can I use "webhook is called" in a smart campaign but isolate the behavior to the "parent program"?
I have this:
- Program A
- Smart Campaign A
- Triggered by "Fills Out Form".
- Does a number of things including calling "Webhook X".
- Smart Campaign B - Triggered by "Webhook Is Called".
- Smart Campaign A
- Webhook - is - "Webhook X"
- Response - contains - "Y"
- Flow: Send Alert
- Program B
- Smart Campaign C
- Triggered by "Fills Out Form".
- Does a number of things including calling "Webhook X".
- Smart Campaign C
This is what occurs:
- I fill a form out that triggers "Smart Campaign A" under "Program A", which calls "Webhook X" and in turn triggers "Smart Campaign B".
- "Smart Campaign B" under "Program A" checks for a specific response code. If it finds it, it triggers an alert that includes some information about "Program A", including its program ID and a bunch of other {{my.tokens}} specific to the program.
The problem is, if I fill out a form under "Program B", "Smart Campaign C" also calls "Webhook X" and causes "Smart Campaign B" under "Program A" to send an alert.
How can I use "webhook is called" in a smart campaign but isolate the behavior to the "parent program"?
There's a bunch of tokens under "Program A" that I'd like to include in the body of the e-mail alert, so I want "Smart Campaign B" to be a child of "Program A."