Are there any apps out there that allow for rule-based management/organization of SMS messages?
Specifically, I'd like to have a whitelist of users that can send messages that conform to some rule, which triggers some sort of event. Ideally, I'd like to be able to somehow parse the SMS message to add data to another program on the phone (or for simplicity's sake, add an entry to the task list). I figure if the program I'm looking for can simply export the message as a file to a directory on the phone, I can easily write a quick and dirty little app that simply monitors that directory for new files, parses them, puts the data where it needs to go, and then deletes the file.
I've read about SMSOrganizer/SMSCreative, but was hoping someone out there knew of some other options I haven't yet discovered. Oh yeah...and if the solution's free, then all the better!
Is there a way to automatically forward specific sms's which match a keyword, to another contact via whatsapp?
Any help would be greatly appreciated!
msharoon said:
Is there a way to automatically forward specific sms's which match a keyword, to another contact via whatsapp?
Any help would be greatly appreciated!
Click to expand...
Click to collapse
I don't have the full answer to your question but you can detect a keyword in a SMS using this profile:
Create a new profile --> Event --> Phone --> Received Text:
Type: Any
Sender: leave this blank
Content: *keyword*
-replace "keyword" by the word you need to be monitored. Don't forget to put it between two asterisk otherwise tasker will not detect your keyword if its not the only word in the received SMS.
Then you can use this event to fire up a task that will forward that SMS (%SMSRB) to another contact via whatsapp. You'll probably need to make a script for that or maybe you could find the old whatstasker plugin (not on the playstore anymore and not sure if its still working). In whatstasker plugin, you can select a contact and the text to be sent. set the text field to %SMSRB.
Edit: found something here that might be useful: http://forum.xda-developers.com/showthread.php?t=2550924
***12/15/2017*** The method below has been replaced with the following improved method: Text Messaging with Google Home and AutoVoice
**Updated 5/27/2017**
After installing this profile you will be able to say "OK Google, text <name of any contact or a ph#>" followed by "message" then <the body of your message>.
Video Demo - 1
Video Demo - 2
Part 1.
1. Download and install the Tasker, AutoContacts BETA and Pushover apps. Also download the Send_Message.prf.xml (you will make use of this file in Part 3).
2. Open AutoContacts, grant all permissions and allow it to load your contacts (I recommend that you upgrade to the full, paid version or you will only have access to a limited number of contacts).
3. Open Pushover and create an account (it’s free).
Part 2.
1. Go to IFTTT.com and create the following two applets:
Applet# 1:
a. “This” – Google Assistant channel - “Say a Phrase with a Text Ingredient”
i. Under “What do you want to say?” – Enter “please text $”
ii. Under “What do you want the Assistant to say in response?” – Enter “ok, text $ , would you like to send this message”
b. “That” – Pushover channel - “Send a Pushover notification”
i. Under “Title” enter “text”
ii. Under “Device” select your device’s name. You can leave, or change, the other default entries according to your preference.
Applet# 2:
a. “This” – Google Assistant channel - “Say a simple phrase”
i. Under “What do you want to say?” – Enter “please send message”
ii. Under “What do you want the Assistant to say in response?” – Enter “ok, sending message”
b. “That” – Pushover channel - “Send a Pushover notification”
i. Under “Title” enter “text”
ii. Under "Message" enter "send"
iii. Under “Device” select your device’s name. You can leave, or change, the other default entries according to your preference.
Part 3.
1. Place the "Send_Message” xml file in your device’s Tasker/profiles folder (if these folders do not exist then create them).
2. Open Tasker and long-press “Profiles,” then select “Import” and import the xml file from Part 1.
3. Back-out of Tasker to save the profile. Done!
To send a text message, use the following command format:
1. “Ok Google, text <name of your contact> "message" <followed by the body of your text message>." GH will read back your message and ask if you want to send it.
2. Say "Ok Google, send message" to send or, restate your message to make corrections. Enjoy!
**Important**
- You must say the word "message" after you state the name of the contact to message and before you state the actual message body! The Tasker profile identifies the word "message" as the "splitter/separator" between the name of your contact or ph# and the body of your text message.
- Turn off battery optimization for Tasker, AutoContacts, and Pushover or your device may disable these apps when idle.
Other Google Home Projects:
- Ask Google Home - Who Called?
- How-To Hear Missed Call and Unread Text Message Reminder on Google Home
- How-To Make Google Home Announce Incoming Calls and Auto-Read New Text Messages
- Google Home - Quick Todoist Update and Recurring Reminder
- Google Home Spotify Alarm
- How-To Reply to Text Message with Google Home
- How-To Have Google Home Read Your Last Text Message
- How-To Initiate Phone Calls via Google Home
- How-To Create Calendar Events using Google Home
- Google Home - Announce Incoming Notifications
- Start Navigation with Google Home
thanks for posting this great tip but I have a problem
I've setup everything as per your instructions, my GH understands the voice commands I give it, but no text message is actually sent
I wonder if there is some setup of autocontacts that I need to do? I'm new to tasker so don't fully understand how it all works together
edit: I got it to work, needed to upgrade autocontacts to the beta version. thanks again for all your great GH tips
lonespeaker said:
thanks for posting this great tip but I have a problem
I've setup everything as per your instructions, my GH understands the voice commands I give it, but no text message is actually sent
I wonder if there is some setup of autocontacts that I need to do? I'm new to tasker so don't fully understand how it all works together
edit: I got it to work, needed to upgrade autocontacts to the beta version. thanks again for all your great GH tips
Click to expand...
Click to collapse
My bad, I forgot to mention and link to the BETA version of AutoContacts. Glad that you figured it out. OP updated.
Thanks for the guide, I followed it and ran into the same problem as the first comment. I realized I also did not have the beta version of AutoContacts so I followed your link to download it and ran into a message on GooglePlay saying "Your account isn't currently eligible for this app's testing program" Is there anyway to get added to this or make regular AutoContacts to work with the rest of the set up?
Thanks
rayma39 said:
Thanks for the guide, I followed it and ran into the same problem as the first comment. I realized I also did not have the beta version of AutoContacts so I followed your link to download it and ran into a message on GooglePlay saying "Your account isn't currently eligible for this app's testing program" Is there anyway to get added to this or make regular AutoContacts to work with the rest of the set up?
Thanks
Click to expand...
Click to collapse
I have never encountered that issue. Try going here to sign up for BETA and see if that works: https://joaoapps.com/beta-testing/
I have followed every single step and on the tasker profile keeps giving me an error on the Variable Split.
Variable split: can't split unset value to set %pushovermesssage
Do I need to be rooted to use it? I have the galaxy s8
thanks
mrniceguy1849 said:
I have followed every single step and on the tasker profile keeps giving me an error on the Variable Split.
Variable split: can't split unset value to set %pushovermesssage
Do I need to be rooted to use it? I have the galaxy s8
thanks
Click to expand...
Click to collapse
You don't need root. Make certain that you are phrasing your message properly, i.e. "text <name> message <body of your message>" Open the pushover app and confirm the message is coming over correctly.
muniz_ri said:
You don't need root. Make certain that you are phrasing your message properly, i.e. "text <name> message <body of your message>" Open the pushover app and confirm the message is coming over correctly.
Click to expand...
Click to collapse
I checked the pushover app and it is coming over correctly but I always get a message on my own phone from anonymous with the text % pushovermessage2.
When I run the pushover task in tasker I get an error in line 6
thanks
mrniceguy1849 said:
I checked the pushover app and it is coming over correctly but I always get a message on my own phone from anonymous with the text % pushovermessage2.
When I run the pushover task in tasker I get an error in line 6
thanks
Click to expand...
Click to collapse
Can you send a test message and post a screen shot of the pushover message?
muniz_ri said:
Can you send a test message and post a screen shot of the pushover message?
Click to expand...
Click to collapse
This is what I get thanks
mrniceguy1849 said:
This is what I get thanks
Click to expand...
Click to collapse
That doesn't help me. I need to see the message coming over from IFTTT to pushover like this:
I'm having a similar issue. Pushover is receiving the messages but the phone is not sending the texts.
mrniceguy1849 said:
I checked the pushover app and it is coming over correctly but I always get a message on my own phone from anonymous with the text % pushovermessage2.
When I run the pushover task in tasker I get an error in line 6
thanks
Click to expand...
Click to collapse
I'm having the same issue.
GrazedNutsack said:
I'm having a similar issue. Pushover is receiving the messages but the phone is not sending the texts.
Click to expand...
Click to collapse
Please post a screen shot of your pushover message like the example that I posted a couple of posts above.
muniz_ri said:
Please post a screen shot of your pushover message like the example that I posted a couple of posts above.
Click to expand...
Click to collapse
This forum won't allow me to post images atm. I'm having the same exact issue as 'mrniceguy1849'.
GrazedNutsack said:
This forum won't allow me to post images atm. I'm having the same exact issue as 'mrniceguy1849'.
Click to expand...
Click to collapse
I suspect the issue is user error which is why I need the screenshot to confirm. mrniceguy1849 never posted the screenshot when requested.
muniz_ri said:
I suspect the issue is user error which is why I need the screenshot to confirm. mrniceguy1849 never posted the screenshot when requested.
Click to expand...
Click to collapse
I guess but it's strange that we both have the same exact 'user error'. I was fiddling with it all night last night and couldn't get it to work properly. I'd post screenshots if I could.
I think the problem people are having is they're not saying "message" after they say the contact name and before the text content. If you watch the video, the formula is:
Hey Google text <contact> message <text contents>
Hey Google send message
If you never say "message" the program never knows that you stopped saying the contact name and started the message body.
walktheline687 said:
I think the problem people are having is they're not saying "message" after they say the contact name and before the text content. If you watch the video, the formula is:
Hey Google text <contact> message <text contents>
Hey Google send message
If you never say "message" the program never knows that you stopped saying the contact name and started the message body.
Click to expand...
Click to collapse
Exactly!
I'm getting unknown plugin for autocontacts, is there a fix/reason for that?
Hi all. There's this one tasker tutorial on how to send yourself emails, but it doesn't work. At least for me. You have to install SL4A and PY4A and all these kinds of stuff from random github links, both apps being old and not providing errors on failure of python scripts.
So I wrote a fresher, shorter python script to mail yourself, and using the tasker plugin QPyPlugin I managed to send myself an email.
REQUIREMENTS
NOTE: QPyPlugin is a paid app, and it's really limited, but it does the job for this case.
Tasker (duh)
QPython3 (or QPython)
QPyPlugin (Paid: 3$)
This python script
Steps
First of all you'll have to edit the script and enter your data instead of the data written. Enter your email, your password, and if you'd like to use another smtp server other than gmail enter it's data.
Make sure the script is located at "qpython/scripts3/" (or "qpython/scripts", depending if you're using QPython3 or QPython). It will stay there.
Let's create the simplest task we can: A greeting email.
1. Create a new task named whatever you'd like
2. Now lets write what we're going to send into a file. The default location is "temp/mailout.conf" and it's changeable inside the script. If you are going to change it make sure you'll be writing to the file you specified in the script instead of "temp/mailout.conf".
Add a "Write File" action. In the File field, enter "temp/mailout.conf". In the text, enter the following:
Code:
To: [email protected]
From: Tasker Greeting Task
Subject: Hello from tasker!
Hello there!
I can use multiple lines, and even tasker variables.
It is now %TIME.
Crazy, right?
That's the syntax for the config file. The first lines can be an field you'd like, but the first line must be To: <address>. After the fields, enter a blank line and after that, type the body.
Make sure "Append" is not selected, so it'd create a new file each time you run it.
3. Now let's run the script. Add a "QPyPlugin" action. Press the configuration button and select which QPython app you have (QPython or QPython3) and the script.
That's it! Try to run the task and check your email.
Ideas / actual usage
Send yourself the weather & the news every morning
E-Mail participants in a calendar event reminding them about it
Email yourself the phone's location when your battery is low (Which is what I use it for)
When someone fails entering the phone twice email yourself the phone's current location
The possibilities are endless!
FAQ
Q: I'm getting a ValueError with something about the first line of the file and I don't know what to do!
A: Really? It says so right there. The first line of the mail file must be "To: <address>".
Q: I'm getting another error!
A:
Make sure you inputted the correct username & password in the script.
If you changed the SMTP server make sure you entered it properly and it's working.
Make sure that the mail file you create matches with the path & name in the python script (defaults to "/temp/mailout.conf").
Q: How do I know you're not going to steal my precious data?!
A: Because you can see so for yourself in the script
Hey guys, I'm trying to automate a task I do often for work. When I get a potential new customer, I receive a standard email with their information in a specific format. For example:
Name - x
Email - y
Phone - z
I am trying to figure out a way to interact with this body of text and automate it as much as possible. I would have to add a new contact with the name, and send out a standardized email as well as a text.
I haven't really made complex tasks like this, so I'm a bit lost as to where to start. I am rooted. I would also like to note that I'm using a proprietary email app (Blackberry Hub+ Inbox), so I think it may be easiest to start off the task by manually copying the body of the text and then somehow triggering the task.
Thanks in advance!
This project is actually a little complex, and it also interested me so, while I usually don't do this, here is a taskernet share.
Requires AutoTools to be installed because a webscreen is used. On install, you must edit actions 15 & 16 in the task. These are variables for the email subject and body.
The profile triggers when data starting with e.g. "Name - John Doe" is copied to the clipboard. Then a button pops up on the right side of your screen and when you tap it the information is entered into a new contact form that you can edit, cancel or save.
A second button becomes available which triggers the composed email action.
The buttons will time out after 30 seconds without triggering the associated task. You can also "fling" them away to dismiss.
The task is expecting each piece of information to be on a separate line like:
Name - John Doe
Email - [email protected]
Phone - (999) 999-9999
The labels for each line are used as variables in the task to identify the associated data. Therefore, the order does not matter. Though if "Name - " is not first, the profile will not trigger. You would need to edit the regex in the profile context.
If, for example, an address is on multiple lines, the task will need to be modified to handle that.
To limit the activation of this profile to only when the data is copied in a specific app such as an email client, add that app as a context in the profile.
The task is heavily commented.
Finally, I add my username into the profile and task names to help avoid the possibly of namespace collisions (when the imported project has the same profile, task or variable names as existing profile, task or variables). The -ktmom can be removed.