How to make an automated text response system?

152 views
Skip to first unread message

Kilam A

unread,
May 10, 2017, 2:49:09 PM5/10/17
to Tasker
Hi, I am a noobie when it comes to tech stuff so I really need help with this. This is what I want to be able to do...

Lets say I make a list of codes. If someone (anyone) text me that exact code, I want to send them an automatic text response. I want to make several different responses for different codes.

Example:

Code 1: 1234     Response: "You are the winner"
Code 2: 789       Response: "Sorry, you lost"

if some user texts me "1234", I want an auto text sent to them saying "You are the winner". This response should be sent to as many people who text me "1234".
If they text "789", I want an auto text sent to them saying "Sorry, you lost"

IS THIS EVEN POSSIBLE??

Thank you.

Neil Strawbridge

unread,
May 11, 2017, 8:37:57 AM5/11/17
to Tasker
Yes. I have something like this set up between my wife and me. She has the habit of not charging her phone, so I set it up so that if I text her with "Status report" it will reply with the stats, including how much battery or is left and whether or not it's charging.

First, build your task with your response message. You'll use Send SMS (found under Phone > Send SMS) to send the message. Fit the phone number, you'll specify the variable %SMSRF.

Next, you'll need to set up a profile that monitors incoming texts. You'll choose the event Phone > Received Text. You can specify which senders to act on (or not). The key here is specifying the income message (content). Only one content statement is allowed power task, but there are at least a couple of different ways to handle this (I'll explain in a moment). Next, you'll need to select the task you just created.

Done.

Handling incoming messages...

You could leave the content blank and the profile would execute your selected task. In the task itself, you could examine the message for your required content. For example, if the incoming text reads as 1234, then send a reply text to the sender "Winner Winner Chicken Dinner!"

You could specify multiple profiles, each with a unique code which calls a different task.

Now, be careful. Here's why: If you receive multiple messages close together, things could get confusing as Tasker only recognizes the phone number of the last text message received. It's possible only the last sender will receive all the responses if you happen to get a bunch of texts on top of each other. Tasker dies not keep a log of these text numbers, so the value of that variable I gave you above will be replaced with the latest incoming SMS sender's phone number.

Good luck!

Reply all
Reply to author
Forward
0 new messages