At present, it is possible to take action if an SMS is received from one, or more than one, or all senders. I would like to be able to take action if an SMS is received from all senders except a specific sender.
For example, read text out loud if an SMS is received from anyone other than my Bank. Thanks.
SMS Received Trigger if Not From a Specific Sender
Moderator: Martin
Re: SMS Received Trigger if Not From a Specific Sender
SMS Received tigger provides you two variables, which you can use for excluding senders: sms_sender and contact_name.
Trigger SMS Received: "All" check box checked
Condition Expression: "sms_sender =! "bank phone number"" or "contact_name =! "bank contact name"".
->TRUE: continue flow if sender is NOT the bank.
->FALSE: continue flow if sender IS the bank.
contact_name variable works if you have saved the aforementioned number to your contact book.
If you want to have only one or a few numbers to trigger the flow, it would be best to setup the trigger as such. Leave "All" check box unchecked and use the "..." button to select the numbers you want. After that you can continue your flow and won't need the condition.
Trigger SMS Received: "All" check box checked
Condition Expression: "sms_sender =! "bank phone number"" or "contact_name =! "bank contact name"".
->TRUE: continue flow if sender is NOT the bank.
->FALSE: continue flow if sender IS the bank.
contact_name variable works if you have saved the aforementioned number to your contact book.
If you want to have only one or a few numbers to trigger the flow, it would be best to setup the trigger as such. Leave "All" check box unchecked and use the "..." button to select the numbers you want. After that you can continue your flow and won't need the condition.