I hate spam!

by Casey Ng

Version 15 (November 11, 2022)

Download (190 downloads)

‼️Important‼️
Two additional privileges must be granted manually for this flow to work correctly.

1. Grant "read your text messages (SMS or MMS)" in settings > privileges section.

2. Grant write sms permission through adb using the following command:
"adb shell appops set com.llamalab.automate WRITE_SMS allow"

----------------------------------------------
Description
This flow detects potential spam sms and deletes them.

----------------------------------------------
Settings
You can customize the parameters in the flow. The parameters are in block 22.

Threshold: number of words identified before classifying it as spam.

Confidence: how identical a word is to the keywords. Between 0 and 1, with 1 being the exact same word. 0.7 is a good compromise.

Keywords: words commonly found in spam messages.

----------------------------------------------
Changelog:

V2
Added delay block due to a race condition to delete the message.

V3
Finally found the bug where the sms wasn't deleted. Hopefully squashed for good.

V4,5
Added additional keywords.

V6,7
Changed the way looping is done and to detect wasap.my url links.

V8,9
Detect wa.me links.

V10,11,12
Redo the split regex as found it wasn't working correctly. This should be fixed now.

V13,14
Minor edits

3.7 average rating from 3 reviews

5 stars
1
4 stars
1
3 stars
0
2 stars
1
1 star
0
Reports
0

Rate and review within the app in the Community section.