Page 1 of 1

Need Help With Matching Received SMS Text

Posted: 11 May 2017 15:09
by Jdrumr
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.

Re: Need Help With Matching Received SMS Text

Posted: 11 May 2017 19:54
by Martin
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

Re: Need Help With Matching Received SMS Text

Posted: 12 May 2017 12:49
by Jdrumr
That worked! Thanks Martin.