Page 1 of 1

Help With Incoming Call Exceptions

Posted: 01 Dec 2016 19:49
by danvonranger
Hi,

I've managed to create a Flow that sends my wife an SMS message when I'm on the road using the Incoming Call Trigger. I would like to create another Flow that sends a different message to everyone else but I can't find a way of saying "ALL numbers except 076543210".

Thanks in advance for any help and/or advice.

Dan

Re: Help With Incoming Call Exceptions

Posted: 01 Dec 2016 20:02
by MURTUMA
phone_number == 123 tests if variable "phone_number" IS 123.
phone_number != 123 tests if variable "phone_number" is NOT 123. In other words, ALL numbers except 123.

Configure the trigger Incoming Call allowing all numbers. Then add condition Expression with either of above examples(ofcourse with correct variable names, of which I can't remember right now).

-trigger Incoming Call
-condition Expression: phone_number == 123
>TRUE: message to wife
>FALSE: message to everyone else

Re: Help With Incoming Call Exceptions

Posted: 05 Dec 2016 20:02
by danvonranger
Thanks for getting back to me. Yep, that makes perfect sense.