Create Apple Shortcut for Messages to Select (and possibly delete) messages from unknown senders

I receive many messages from political action groups and politicians asking for donations, opinion polls, etc. Quite frankly, I'm tired of it and I want to delete these messages as easily as possible. I can do this individually and even block and report spam. However, this is too time consuming. I want to create an Apple Shortcut (or apple script or javascript) to 1. Open Messages 2. Tap on Filter 3. Tap on Unknown Senders 4. Tap Select Messages 5. Tap the select button for each unknown sender (this might be a loop in scripting) 5. Tap Delete and Report Junk. 6. The a message to me that says, "x number of Unknown Sender messages have been deleted." or more simply, "All Unknown Sender Messages have been deleted. I know that deleting might be tough but any short cut or script that gets me through the process will be appreciated. Please send response



[Edited by Moderator]



iPhone 15 Plus, iOS 18

Posted on Jun 2, 2025 2:31 PM

Reply

Similar questions

There are no replies.

Create Apple Shortcut for Messages to Select (and possibly delete) messages from unknown senders

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.