How to run a Shortcut from a web page in iOS

Solution 1:

I needed to do 2 things,

  1. Choose "Shortcut Input" as the value for "Run Javascript on"
  2. Click the 3 dots on the top right and enable "Show in Share Sheet"

Also the alert causes it to timeout, no problem. It was just a test.