SOLVED: X-callback with Shortcut: Success fails on iOS 14 Beta

Hi,
I am trying to speak some text from the clipboard in shortcuts and return to drafts after the audio has finished.

The called shortcut is simple
See https://www.icloud.com/shortcuts/6514d93acf0d4c1fabc97e87211f1e0b

It gets a text parameter with a language to make a multiple language output possible and speaks the clipboard content.

Example calls triggered as a link from draft are as follows.
The will not be able to open drafts again.

Has anybody the same problem with non beta software? (I am running ios public beta)

  • my information comes from [Use x-callback-url with Shortcuts - Apple Support](https://support.apple.com/en-il/guide/shortcuts/apdcd7f20a6f/3.2/ios/13.

    shortcuts://x-callback-url/run-shortcut?name=Callback.speak&input=text&text=english&x-success={{drafts://create?text=[[clipboard]]}}

    shortcuts://x-callback-url/run-shortcut?name=Callback.speak&input=text&text=deutsch&x-success={{drafts://x-callback-url/create?text=[[clipboard]]}}

    shortcuts://x-callback-url/run-shortcut?name=Callback.speak&input=text&text=deutsch&x-success={{safari://}}

Thanks

1 Like

How are you triggering these URLs from Drafts? An Open URL action step?

Yeah, you got me.

I did a url from a draft.

Moving it to an action step with callback url (and wait for finished) does the trick