Using webhook conditions. #9683
Unanswered
LilTrublMakr
asked this question in
Q&A
Replies: 2 comments 11 replies
-
To check for a single tag, you need to specify an operation to inform how the condition is evaluated. To check for an item within a list, for instance:
|
Beta Was this translation helpful? Give feedback.
11 replies
-
Thankful that I found this thread as I was having a heck of time getting my tag-based conditions to work and thought I was doing it wrong. I'll keep my eye on #9876 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get the hang of webhook conditions to leverage when a hook should be ran. So far, I have gotten the mode types to work, but would like to only be ran on certain tags since I am running switches from Ubiquiti and Cisco. Since the formats are a little different, I need to run different webhooks.
I tried running the following code to run the webhook but it does not trigger:
My guess is because the tag is actually an array is the reason that the hook will not fire.
How do I go about making the condition to see if the hook contains a certain tag?
Beta Was this translation helpful? Give feedback.
All reactions