Automate sending a response to an incoming text in certain cases

81 views
Skip to first unread message

SweetTasha

unread,
Jan 29, 2024, 5:07:46 AMJan 29
to Tasker
I sometimes see a message similar to this: "For safety, I've activated Focus-assist, as I'm driving." I want to send a similar response when I get a text message in certain situations, including but not limited to when I am driving.
A user at forum "Android Central" recommended to try Tasker.

Thanks for your help,
SweetTasha

Dan Muller

unread,
Jan 29, 2024, 11:51:50 AMJan 29
to Tasker
This is pretty straightforward to do. You'll create a profile that is triggered by the Received Text event. 

Call a task that includes a Send SMS action block. Within that, use %SMSRF in the Number field (this is the number of the sender of the last text message that came in). Type your message in the Message field. You can use the If option within the block to set the condition (such as, connected to your car's Bluetooth), or if you have some complex condition, you might want to use an If/Else/Endif structure within the task.

Robert Rosenwald

unread,
Jun 28, 2024, 9:02:17 PM (4 days ago) Jun 28
to Tasker
I get a lot of SPAM text messages for which I Block the sender and report as SPAM. Every time I do this I get back a message from my cell phone provider, Verizon, that begins with "VZW FREE MSG: Thank you...." and I get notified as well with the message appearing as Unread. I'm sure Tasker could mute the notification sound and then return to full volume and also that it could mark the message as read, but I have no idea how to do this. Any help would be much appreciated.

Dan Muller

unread,
Jun 30, 2024, 6:15:03 PM (2 days ago) Jun 30
to Tasker
Tasker will not be able to mute the sound in time. It can only detect a message after it arrives, by which time the notification tone would already have been played. What you can do, however is to let Tasker take control of the notification tone. To do that, you must turn off the text message notification tone in the Android settings. Now you can create a profile in Tasker that detects that a message has arrived and plays the alert tone you want. Of course, you will now set up the necessary logic to skip playing the tone if the message body contains whatever content will identify the ones you want to ignore. BUT PLEASE NOTE: You will also have to include logic to not play a tone when the phone is silenced or on Do Not Disturb, etc. so don't forget to do that.

I don't think Tasker can directly mark the message as read. I can't think of a workable way of doing that indirectly.

Robert Rosenwald

unread,
Jul 2, 2024, 9:26:29 PM (7 hours ago) Jul 2
to Tasker
Thank you for your response. I have been able to reduce volume on incoming texts from specific senders already, so that part Tasker handles as I wanted. I was hoping for a way to have Tasker "read" the message (though I don't want to actually hear the message). I'll try some possible round about ways to get what I want done. Can you briefly tell me what AuoNotification is meant to do?
Reply all
Reply to author
Forward
0 new messages