[Q] How to use if function

Hello .

i am going to use if function , but i dont know how to do it .

i wanna do this

if source contains certain Strings1 then Ban , Rety , Fail , ( this is possible with keycheck )

if contains Strings2 then Run Http request1

if contains Strings3 then Run Http request2

any help please ?

IF STRINGKEY @data.SOURCE Contains "abc"
// Here put the request 1
ELSE IF STRINGKEY @data.SOURCE Contains "def"
// Here put request 2
END
1 Like