Hi,
the use case is that an API calls come via an incoming web hook.
for security, it contains a key as an identifier. im parsing the key value into an automation variable, then i make a comparison, but i cant get it to work. it passes even if the key passed into the value is not the expected key.
in the image below, the first line of the log shows the incoming webhook data. the second line shows the extracted key. the left panel shows that its the APIkey variable that is printed in the 2nd line of the log, followed by the comparison.
this are the details of the comparison
What is "passing" in your If rule? That is to say, what action are you trying to gate? What is the THEN to go with your IF?
I wonder if maybe your If rule is flipped the wrong way, and you meant to do:
Also, if you're trying to match exact text, you should use "equals", not "exactly matches regular expression"
It also might help if you can explain the bigger picture of what you're trying to do.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.