Table of Contents
Quickly identify harassing calls: use shortcuts and ChatGPT to intercept suspicious calls
Home Mobile Tutorial iPhone I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Mar 12, 2025 am 12:32 AM

Quickly identify harassing calls: use shortcuts and ChatGPT to intercept suspicious calls

Tired of answering marketing calls that claim you have had an accident that is not your responsibility? This article will introduce a clever way to quickly identify and process incoming calls from unknown numbers using iPhone shortcuts and ChatGPT.

Google searches for harassing calls take too long and often cannot complete the search before the incoming call hangs up. While shortcuts can help, unfortunately, iPhones cannot automatically trigger shortcuts on incoming calls. So I had to find a different way, using the tap on the back gesture to trigger my shortcut, checking the call number through ChatGPT.

Google search for harassing calls is inefficient

Receiving calls from unfamiliar numbers is always frustrating. It can be a spam call or a big call from a doctor or energy provider that you don't want to miss.

But the reality is that if you answer, it is likely to be a spam call; if you don’t answer, you may miss an important call.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

So when an unrecognized number appears, I quickly google it to see if it has been reported as a harassing call. The problem is that the phone often hangs up before I search for the number and read the results.

Create shortcuts to automate processes

I've encountered this situation again recently and I started thinking about whether I could automate this process so that my iPhone would automatically check the number every time I receive an incoming call from a non-contact number.

I know that it is possible to create an iPhone shortcut that performs web searches. It looks like it should be possible to create a shortcut to help me check the number so that it can quickly determine if it is a spam call or a legal call.

Shortcut command cannot be triggered when incoming calls

However, I quickly encountered obstacles. Ideally, I would like to be able to trigger my shortcuts every time the iPhone calls. This way, whenever the phone rings, the shortcut will run, extract the phone number, search for relevant information, and see if it comes from a number with spam phone records.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

The problem is that while automation can be triggered on iPhones in a variety of ways, shortcuts cannot be triggered on iPhone calls at this time. This is a shame because it will be a very useful trigger; you can create many useful automations based on this. I had to find another way.

Use the gesture of tapping the back

If the shortcut cannot be triggered when the iPhone starts ringing, my only option is to start the shortcut manually. I can use the action button on the iPhone 15 Pro, but I have used it for other purposes and there is no shortcut action that can be used to change the function of the action button when the phone rings.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

So I decided to trigger the shortcut by tapping the back gesture. This is an accessibility gesture that can be used to perform actions on your iPhone, such as opening the camera or control center by tapping the back of the iPhone two or three times. One of the options for tapping the back gesture is to run the shortcut, so once the shortcut is created, I can run it three times by tapping the back of the iPhone when the phone rings.

Plan shortcuts to check incoming call numbers

The final step is to create a shortcut to check the incoming call number when it is incoming calls. I can use the web search, but this still requires me to check the results to determine if the number is a spam call. I think the quickest and simplest way is to ask ChatGPT.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

I need to pass the incoming call number to ChatGPT. Since the number will appear on the screen on incoming calls (unless the number is hidden), I can let the shortcuts take a screenshot. I can then use the "Extract Text from Image" operation in the shortcut application, which uses optical character recognition (OCR) to extract text from the image.

After extracting the text (including the phone number), I can pass it to ChatGPT and ask it to search for the number online and tell me if it might be a spam call.

Create shortcuts

Now that I know all the steps required in the shortcut, it's time to start building it. This shortcut requires only three operations to work.

Open the Shortcuts app and click the “ ” icon in the upper right corner to create a new shortcut. Click "Search Action", enter "Screenshot", and select "Search Screenshot". Search for Extract and select Extract text from image. This will extract text from the screenshot, including the incoming call number.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Search for "ChatGPT" and select "Ask ChatGPT" from the results. You can choose the model you want to use; I chose GPT-4. Click on “Message” and enter something like this: “Search for the phone number in this text and tell me if it is safe or spam. Set the first word of the response to “SCAM” or “SAFE” and keep the response short.”

Click "Text from Image" above the keyboard, which will add the text extracted from the screenshot to your message. Click the arrow and turn off "Continuous Chat" so that ChatGPT only gives you a single reply.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Click the shortcut name at the top of the screen and select Rename. Take a easy-to-remember name for your shortcut and click "Done" to save.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Assign shortcuts to Tap the back gesture

After creating the shortcut, the last step is to assign it to the tap back gesture. You need to do this through accessibility settings.

Go to Settings > Accessibility. Under Physics and Movement, select Touch. Scroll to the bottom of the screen and select Tap the Back. Select Double Click or Three Click. Scroll down and select the shortcut you created. Your shortcut is now set to Tap Back gesture.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Use shortcuts when incoming calls

Now that I have set my shortcuts to run whenever I use the tap back gesture, I have a better chance to check if the caller is a spam call before the caller hangs up. When I call and I don't know the number, I will tap the back of the iPhone three times and the shortcut will run. After a minute or two, ChatGPT will tell me if the call is a spam and I know if I want to answer it.

I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help

Shortcuts are not perfect, but they help

This approach is not ideal and has some major drawbacks. The biggest problem is that the caller hides their numbers. There are no numbers to check, so shortcuts become useless. It’s frustrating that some legal calls also hide their numbers, so you’re back to the starting point.

Another problem is that this method does not take effect immediately. When incoming calls, you have to pick up your phone, perform a tap-to-back gesture, and wait for ChatGPT to check the number. If you are not fast enough, the caller may hang up before you complete the process.

However, in many cases it works enough to enable me to answer before a legal incoming call hangs up.


Without the possibility of triggering shortcuts when the iPhone starts ringing, using the tap-back gesture is the best thing I can do with the iPhone native tools. However, my next plan is to see what I can make with Home Assistant. For Android phones, there is a "phone_state" sensor that changes when the phone rings, but this doesn't exist on the iPhone, so it seems that another workaround is needed.

The above is the detailed content of I Was Sick of Spam Calls So I Made This iPhone Shortcut to Help. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Will R.E.P.O. Have Crossplay?
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

The Best 11-inch iPad Air Cases of 2025 The Best 11-inch iPad Air Cases of 2025 Mar 19, 2025 am 06:03 AM

Top iPad Air 11-inch Cases: A Comprehensive Guide (Updated 03/14/2025) This updated guide showcases the best iPad Air 11-inch cases available, catering to various needs and budgets. Whether you own the new M3 or the M2 model, protecting your investm

Google Assistant Will No Longer Work With Waze on iPhone Google Assistant Will No Longer Work With Waze on iPhone Apr 03, 2025 am 03:54 AM

Google is sunsetting Google Assistant integration in Waze for iPhones, a feature that has been malfunctioning for over a year. This decision, announced on the Waze community forum, comes as Google prepares to fully replace Google Assistant with its

The Best 13-inch iPad Air Cases of 2025 The Best 13-inch iPad Air Cases of 2025 Mar 20, 2025 am 02:42 AM

Recommended Best iPad Air 13-inch Protective Case in 2025 Your new 13-inch iPad Air is easily scratched, bumped, or even broken without a protective case. A good protective case not only protects your tablet, but also enhances its appearance. We have selected a variety of protective cases with excellent appearance for you, and there is always one for you! Update: March 15, 2025 We updated the selection of the best budget iPad Air case and added instructions on case compatibility. Best Overall Choice: Apple Smart Folio for iPad Air 13-inch Original price $99, current price $79, saving $20! Apple Smart Fo

The Simple Reason I Don't Use Apple Family Sharing (However Good It Is) The Simple Reason I Don't Use Apple Family Sharing (However Good It Is) Mar 22, 2025 am 03:04 AM

Apple's Family Sharing: A Broken Promise? Ask to Buy's Failure to Protect Against Redownloads Apple's Family Sharing, while convenient for sharing apps, subscriptions, and more, has a significant flaw: its "Ask to Buy" feature fails to pre

The Best iPad Pro 13-inch Cases of 2025 The Best iPad Pro 13-inch Cases of 2025 Mar 25, 2025 am 02:49 AM

If you've taken the plunge with the 13-inch iPad Pro, you'll want to kit it out with a case to protect it against accidental damage.

Apple Intelligence Is a Bust but It's Had One Major Benefit Apple Intelligence Is a Bust but It's Had One Major Benefit Mar 25, 2025 am 03:08 AM

Summary Apple Intelligence has so far underdelivered with unimpressive features, some of which probably won't arrive until iOS 19 launches later in

For Under $15, This Little Anker 10K Charger Is a Steal For Under $15, This Little Anker 10K Charger Is a Steal Mar 23, 2025 am 03:02 AM

Anker Zolo 10K Portable Charger

Which iPhone version is the best? Which iPhone version is the best? Apr 02, 2025 pm 04:53 PM

The best iPhone version depends on your individual needs. 1. iPhone12 is suitable for users who need 5G. 2. iPhone 13 is suitable for users who need long battery life. 3. iPhone 14 and 15ProMax are suitable for users who need powerful photography functions, especially 15ProMax also supports AR applications.

See all articles