Automator to edit a link!

Hi all,

I’ve become spoiled by Shortcuts and can no longer figure out how Automator works. What I’d like is to create a Quick Action that takes a URL that I share to it (via a Service, for example), and prepends “https://song.link/” to it. I can’t figure out how to manipulate a URL that’s shared to an Automator workflow. Any suggestions?

Teddy

I’m not sure what you want to do with the composite URL, but the shell script in this quick action does the concatenation.

The one line of the script is

echo "https://song.link/${1}"
1 Like

Here’s one way.

2020-04-17-16.59.18_screenshot

Edit:
ha ha - @drdrang, I see we had very similar ideas at about the same time :smiley:

1 Like

Jinx! (and then out to 20 chars)

1 Like

Wow, that was easy. I’ve become so ingrained in Shortcuts that this didn’t even occur to me. Big thanks to the good doctor and @sylumer!