Credit to Time Johnsen
- Open Shortcuts
- Click the bottom tab Automation at the bottom center. It's not Shortcuts, it's Automation.
- Create a new Automation using
+
at the top. This will open Personal Automation and you'll be looking at a list.
- Select the green bubble Message to start creating an Automation and then you'll see this
When
screen.
- Leave Sender blank.
- Message Contains will be whatever you want and you will probably need multiple of them since we can't do matching afaik.
- TEXT STOP TO QUIT
- TEXT STOP TO END
- Reply Stop to End What I would do is use the "Stop to End" part of "Reply Stop to End" but then if they say "Stop To End" it won't match. So, you'll have to play with this or make multiple automations. 😔 This is why I made this gist.
-
Select Run Immediately (new feature!)
-
Click Next
-
On this screen click New Blank Automation
- Click Add Action
- In Search for apps and actions, search for Variable and select Set Variable
- Click Variable Name and set it to
Sender
and leave Shortcut Input alone.
- Click Done to go back to adding actions. Search for another action below the Set Variable you just set and find Send Message under Sharing. Now we need to edit the Send message action because it's wrong here. Just showing you the weird screen flow.
- Click "x Sender" and set this to our stop message. Click Clear Variable.
- The variable is cleared and then it says
Send "Message" to
. Click Message. If the spammer is saying sendSTOP
then we putSTOP
here. If they saidStop
then putStop
here.
- For Recipients we need to long press to pull up a menu and select our Sender variable.
- Then click Done to finish up your Automation.
Oof. That was a lot. You should have an automation like When I Get a Message Containing 'STOP2END' ... Send Message but you'll have to repeat this for all the different spamming messsages. 😔 Hopefully one day we don't have to do this anymore.
I added a bit onto this to also block the number. You need to create a contact with a fake phone number and block that contact. Then this adds the senders number to that contact, blocking the number.