Hi everyone,
I have created a small sample project to create a chat flow with Siri.
The Siri Shortcut is created to show random colour and to ask for one new parameter called "parameter".
Inside the default Shortcut app, it works fine and I am able to trigger the parameter entry with the following code continuously.
func resolveParameter(for intent: ShowRandomColorIntent, with completion: @escaping (INStringResolutionResult) -> Void) {
completion(INStringResolutionResult.needsValue())
return
}
I have configured the Siri Shortcut to use the phrase "Show Random Color".
After I trigger it, I am prompted directly to the Shortcut app to enter the parameter.
Siri doesn't know how to ask the prompt dialog question in order to resolve the parameter.
I have tried multiple attempts and the result is the same.
Any idea how to trigger Siri to talk instead of jumping to the shortcut app?
--
Cameron