I have defined an Webhook automation that responds to:
https://example.com/api/webhook/foo
I want to keep it simple and just append a query-parameter key to the end like this:
https://example.com/api/webhook/foo?on
https://example.com/api/webhook/foo?off
I can get the key and value (which is empty) from trigger.query
But how do I extract the key-part (in this case on
or off
) to use in a condition?