Siri Shortcuts can be used to launch custom actions from third party apps using a user specified keyword with Siri.
Questions tagged [sirishortcuts]
272 questions
14
votes
0 answers
How can we get Text that we Speak from Siri?
I am writing an app that include a scenario where I want a search using Siri like "Hey Siri, APP_NAME PHRASE" give any phrase using Siri and I need that PHRASE as Text to my app. I tried with custom intent but no luck. Is it possible to achieve with…

jo solution
- 401
- 5
- 18
14
votes
1 answer
Siri Custom Intent: Variable in "Shortcuts" app
I've created a custom Siri Intent. It is visible in the "Shortcuts" app. However, it allows me to pick only from donated shortcuts, without an option to specify own parameter.
Is it possible to create a Siri Intent that supports providing parameters…

Richard Topchii
- 7,075
- 8
- 48
- 115
12
votes
3 answers
Weird Shortcuts problem on iOS 15 and WatchOS 8
I have an app which allow users to create shortcuts for it. It worked well on my iPhone and my Apple Watch until I upgrading my devices to iOS 15 and WatchOS 8.0
It keep asking me "Allow *** to share data with (null)" every time even after I said…

echo
- 1,244
- 1
- 16
- 40
9
votes
1 answer
How to customise a Siri shortcut in the shortcuts app
How do you customise a Siri shortcut in the shortcuts app?
This question is related to the new iOS 12 feature: Siri Shortcuts. Users can use Siri shortcuts to trigger app specific features (created by the developer) either through a custom defined…

Hapeki
- 2,153
- 1
- 20
- 36
9
votes
1 answer
How to create a Siri Intent that accepts input passed from user
I created a custom Intent with parameters like so:
I've donated it:
let intent = PlayIntent()
intent.color = color
let interaction = INInteraction(intent: intent, response: nil)
interaction.donate()
and it shows up correctly:
However, I'd like an…

David Albers
- 253
- 4
- 10
9
votes
4 answers
Setting shortcuts to a Bluetooth device in iOS
I can see it is easy to turn on/off Bluetooth, but it would be great if I could set or switch a speaker bluetooth in my devices. Is there a way to set system values?
How can I create an action or shortcut for a Bluetooth device on iOS? I am…

Chris G.
- 23,930
- 48
- 177
- 302
9
votes
7 answers
siri shortcut button (INUIAddVoiceShortcutButton) shows wrong title when have multiple shortcuts (NSUserActivity)
I've 2 siri shortcuts in my App.
I use NSUserActivity to donate these shortcuts. I've also created 2 NSUserActivityTypes in my info.plist.
There are 2 view controllers which handle these shortcuts (1 view controller for 1 shortcut).
If I add 1…

Bilal
- 227
- 2
- 9
9
votes
3 answers
Siri Intent Donation for Shortcuts ending up with error
I have created a simple intent for Siri shortcut and whenever i am trying to donate the intent, it is ending up with following error.
Interaction donation failed: %@ Error Domain=IntentsErrorDomain
Code=1901 "Cannot donate interaction {
…

Vittal Pai
- 3,317
- 25
- 36
8
votes
1 answer
Handling Errors with intent parameters and Dynamic options with Siri
I've an intent parameter set as dynamic from the intent definition.
Let's say that the server where I get information for this option is currently down.
It is not clear how to present to users the fact that the options at the moment cannot be…

MatterGoal
- 16,038
- 19
- 109
- 186
8
votes
1 answer
TouchID authentication inside Siri Intent Extension
I have an Intent Extension with the View category that is working pretty good for showing an app info.
Now I need to enable TouchID for security reasons, so the user needs to authenticate before requesting the info.
I tried this:
func handle(intent:…

alxlives
- 5,084
- 4
- 28
- 50
8
votes
2 answers
How can I open my SwiftUI app and perform a function using NSUseractivity from within Siri Intent Extension?
My Problem
My app has its own Shortcuts actions created using Intents Extensions. They perform background actions perfectly.
For some actions, I'm trying to make the intent extension open the main (container) app when run in Shortcuts and perform a…

mralexhay
- 1,164
- 1
- 10
- 16
8
votes
0 answers
INVoiceShortcutCenter.shared.getAllVoiceShortcuts does not return anything in iOS 13
I am not sure what I am doing wrong. But in this method
INVoiceShortcutCenter.shared.getAllVoiceShortcuts { (vShortCuts, error) in
print(vShortCuts)
}
vShortCuts is an empty array.
var suggestions = [INShortcut]()
let userActivity =…

riyaz
- 1,093
- 1
- 8
- 21
8
votes
1 answer
Is it possible to have a Siri shortcut with a variable parameter?
There are a dozen related actions that users of my app can perform, and I'd like to let them do it with Siri, but I'm unsure how to effectively do that. I know I can donate a INIntent when a user performs an action, but is it possible to donate an…

se_puede_dev
- 585
- 7
- 16
7
votes
1 answer
Specify "Ask Each Time" as default for a parameter in Siri intent
When displaying an instance of INUIAddVoiceShortcutViewController, I want to let one of the shortcut's intent's parameters (of type Decimal) default to Ask Each Time.
Right now, it defaults to the Default Value value in the .intentdefinition file.…

Naftali Beder
- 1,066
- 1
- 10
- 27
7
votes
1 answer
How can I tell if my intent is running in the Shortcuts app?
In my app I have created a SiriKit intent that allows the user to search for people.
If they trigger this intent directly from Siri then I would like to open my app with this search string and show the results - I can do this by passing…

Paulw11
- 108,386
- 14
- 159
- 186