# add Whisper to your iOS Action Button

Original: https://swyx.io/add-whisper-to-your-ios-action-button
Published: 2024-01-22

> The new iPhones ditched the physical mute button with a software enabled action button, that allows some customization. the highest degree of customization is Shortcuts. Apple's…

The new iPhones ditched the physical mute button with a software enabled action button, that allows some customization. the highest degree of customization is Shortcuts. Apple's default transcription is terrible. I got a new iPhone recently and so this is my chance.


It took me a while to work out how to make a shortcut that does this so here's a good starting point: https://www.icloud.com/shortcuts/65d0ab52410b463fbfc3d29ab5a15550 (note you will have to add your own openai api key for this to work).

![whisper swyx for sharing, no key](https://github.com/swyxio/swyxdotio/assets/6764957/b692b372-4c42-4d54-a074-f350ee14f1cb)

and then call the api

![whisper swyx for sharing, no key-1](https://github.com/swyxio/swyxdotio/assets/6764957/66129547-fe3d-4b8c-9e01-8557b14b8cd8)

the updated shortcut (same link as above for your ref: https://www.icloud.com/shortcuts/65d0ab52410b463fbfc3d29ab5a15550 )


 also saves down the raw audio file incase, yknow, you like to hear your voice in future. it took a while to figure out how to title the file based on the transcribed content... shortcuts programming isn't very discoverable haha.

limit: [25mb file size](https://community.openai.com/t/whisper-api-limits-transcriptions/167507/2) - about 25 minutes of audio? (estimate - have not tested)
