This Shortcut creates a playlist in Apple Music from a Spotify Playlist opened in Safari. Change “open.spotify.com/user/” to “open.spotify.com/embed/user/” in the URL. Only works with this “embed” view of the Playlist. Open Shortcut from Share Sheet.
Error if you’ve played a track. Reload playlist to correct it.
Shortcut shuffles the track order because Siri likes it that way. It can’t be changed.