Hello,
I am new to Automagic. I would like to setup an SMS received trigger than uses an exact match of the text message. For example, if someone sends me a text of the letter "P", then perform the action. The issue I'm having is that the sender could send me a text with any word that contains the letter "P" and the action takes place. Any help is appreciated. Thanks.
Need Help With Matching Received SMS Text
Moderator: Martin
Re: Need Help With Matching Received SMS Text
Hi,
The trigger itself only allows to detect if the message contains a certain text but you can use a condition Expression to test if the text of the SMS matches exactly your desired text:
Example flow:
-trigger SMS Received: All
-condition Expression: sms_text=="P"
--> true: -action Vibrate
Regards,
Martin
The trigger itself only allows to detect if the message contains a certain text but you can use a condition Expression to test if the text of the SMS matches exactly your desired text:
Example flow:
-trigger SMS Received: All
-condition Expression: sms_text=="P"
--> true: -action Vibrate
Regards,
Martin
Re: Need Help With Matching Received SMS Text
That worked! Thanks Martin.