How to activate ChatGPT with Siri and save the response



Activate ChatGPT with Siri - The Mobile Spoon


[UPDATE: as of April 2023, using the ChatGPT API requires a paid subscription. See instructions below]


TL; DR:

Looking for a way to activate ChatGPT with Siri using voice commands? There's a shortcut for that. 

Just ask Siri to run ChatGPT, ask your question using voice, get an answer, and store it as a note. 

Install Smart Siri

(Don't forget to place your API key in the right place 👇)


Looking for a Smart Website Summarizer? It's right here.


The long version + how to configure

I created this little shortcut (inspired by Fabian Heuwieser's post) to connect Siri to ChatGPT so I can use it on the move with voice commands. 

The shortcut does the following: 

  1. Prompts you to ask a question 
  2. Sends it to ChatGPT
  3. Reads the answer 
  4. Allows you to save the answer into a new Apple Note
Perfect for using ChatGPT while on the move. 


How to setup 

  1. First, copy your ChatGPT API key from here
  2. Then download the shortcut and add it to your shortcuts app. 
  3. Last, enter your API key in the designated placeholder (don't keep the brackets)

The shortcut should look like this (with your key in the text placeholder):

How to use ChatGPT with Siri - The Mobile Spoon


The first part of the script triggers the text dictation. Then it sends the dictated text to the API function and gets back the response. The response is then read by Siri, followed by a question: "Save answer?" 

If you choose to save, the whole text block will be added to a new note. 

Accessing the ChatGPT API via Paid Subscription

As of April 2023, you need to pay to use the API. Without it, you'll probably get an error saying you exceeded your quota. 

To subscribe, head over to this page and enter your payment details. This will unlock 


That's it! 

Now you can talk to ChatGPT with the help of Siri 🙂.

Do more with AI: 

More productivity boosters: 

That's it for this one! 

Follow me on Twitter or subscribe to my occasional newsletter (I'm too busy to spam) and become 27% more awesome than average.

Comments

Gil Bouhnick The Mobile Spoon
Anonymous said…
This isn’t working for me it pops up but gives no reply
Gil Bouhnick The Mobile Spoon
Gil Bouhnick said…
Did you enter your API key properly?
Gil Bouhnick The Mobile Spoon
Anonymous said…
Doesent work for me either
Gil Bouhnick The Mobile Spoon
Anonymous said…
Can you post a example of a api code, that pasted?
Gil Bouhnick The Mobile Spoon
Anonymous said…
you have to remove < > also and then enter your api key
Gil Bouhnick The Mobile Spoon
James Hopkins said…
Hello, I love the idea of this, but when I try to run it I get. The following , after I enter my api key.
Recognition
Unavailable
Speech recognition is not currently available. You may need to connect to the Internet.
Gil Bouhnick The Mobile Spoon
Anonymous said…
Works perfect! tank you so much!!!
Gil Bouhnick The Mobile Spoon
Gil Bouhnick said…
When replacing the placeholder with the API key - replace the entire text (including the <> brackets)
Gil Bouhnick The Mobile Spoon
Anonymous said…
I've added continuous chat feature to your script. Check it out https://www.icloud.com/shortcuts/464381e3658f42739bcdda1fc3ced312
Gil Bouhnick The Mobile Spoon
Anonymous said…
I downloaded the shortcut to my iphone (Didn't even know or use shortcuts before this, but see how powerful they can be!)...I then clicked on the existing text in the 'Text' field, select all, delete >> Paste API key you just generated at Openai. I then clicked 'Done'.

Next I said all at once "Hey Siri Smart Siri" - and it was now answering and interacting, and writing code (It wrote a qr code generator script...but the drawback is it then had to read back the entire answer to you - every single PHP line of code it read. I had to let it finish to get to the end to hear the "Save Answer?" reply. I said yes, and it was saved to my Apple Iphone Notes app.

So it all works for me. When I ask Smart Siri what time it is, the answer is September 2020 so that's the cutoff.

Overall I'm very thankful for this post and detailed explanation from the author here. I had just downloaded an app to do this but they wanted $69 per year - no thank you - this is free and it gets me what I wanted.

Thank you team!
Ken
Gil Bouhnick The Mobile Spoon
Anonymous said…
It is not returning anything yet what have i done wrong . Api and all set
Gil Bouhnick The Mobile Spoon
Anonymous said…
Very helpful it was. Thanks for sharing 🥰
Gil Bouhnick The Mobile Spoon
Anonymous said…
Thank you, it works fine 👌
Gil Bouhnick The Mobile Spoon
Anonymous said…
this is so good!
Gil Bouhnick The Mobile Spoon
Anonymous said…
Works great but does not read the answer back. How can I fix that?
Gil Bouhnick The Mobile Spoon
Anonymous said…
Silly question. Do you have to pay for openai for this to work? I tried this but it gives me blank responsee.
Gil Bouhnick The Mobile Spoon
Gil Bouhnick said…
Answering some of the questions here:

1. speech recognition should be turned on (mac or iPhone) - if you get an error - check how to turn it in he settings.

2. API key - you need to have an active OpenAI account and turn on the API key option, so you can grab the key and paste it in the script.
Gil Bouhnick The Mobile Spoon
Anonymous said…
I can’t get it to work. It listens and produces text but then nothing and asks me to save or not.
Gil Bouhnick The Mobile Spoon
Alexander said…
What could be the reason it doesnt work in other languages that english? If I select another language in dictation options, it times outs.
Gil Bouhnick The Mobile Spoon
Anonymous said…
Not one person who has answered the statement or question "it is not working for me" has actually offered a viable solution to the problem. It does not matter what shortcut that I use for this - and there are many out there on Routinehub - they do not work with the API Key retrieved from ChatGPT, even though the key is pasted correctly into each shortcut that I have tried. So, I ask on behalf of everyone with this problem: DOES ANYONE KNOW THE ACTUAL SOLUTION WITHOUT REGURGITATING THE SAME NON-SOLUTION AS EVERYONE ELSE?
Gil Bouhnick The Mobile Spoon
Anonymous said…
Not one person who has answered the statement or question "it is not working for me" has actually offered a viable solution to the problem. It does not matter what shortcut that I use for this - and there are many out there on Routinehub - they do not work with the API Key retrieved from ChatGPT, even though the key is pasted correctly into each shortcut that I have tried. So, I ask on behalf of everyone with this problem: DOES ANYONE KNOW THE ACTUAL SOLUTION WITHOUT REGURGITATING THE SAME NON-SOLUTION AS EVERYONE ELSE?
Gil Bouhnick The Mobile Spoon
Anonymous said…
It works just perfect. Do you have a tipp how I can ask my questions in german,too?
Gil Bouhnick The Mobile Spoon
Rana said…
That's a really good shortcut you created, and my iPhone is utilizing it just fine. However, could you please tell me how to use V4 in the shortcut? How can we use V4 here if I see you using V1 Chat GPT (https://api.openai.com/v1/chat/completions)?