FYI, as the original Workflow is not working anymore, I've published a new working Workflow: Amazon Affiliate Link Generator.
You can find it here: https://www.packal.org/workflow/amazon-affiliate-link-generator
Hey, just wanted to say that as you suggested and as a total noob I was able to create a URL Shortener using Automation Tasks. It took me a little bit of digging to get it to work but let's say I'm proud of myself haha.
Thanks for the suggestion
(If someone want's to create their own, just make sure you choose "Argument required" in the Keyword window)
1. In Alfred Preferences, go to the Workflows section
2. choose Create a new workflow
3. If not automatically opened, click on the top right hand colourful burger
4. Drop the Keyword object that they give in the text below and enter the text you want to use as a prompt. Choose "Argument required" to the right
5. In the Automation section, drag the Automation Task object to the board and double click it to open it.
6. Under URL processing, choose Shorten URL
7. In the Output section, choose Copy to clipboard.
8. Link the 3 objets Keyword -> Automation Task -> Copy to Clipboard
9. Success
To use it:
- copy a URL you want to shorten
- Invoque Alfre
- type in your prompt then space and paste your URL
- The shortened URL will be saved in your clipboard to be pasted.
Okay. Seems I've solved my question. Looking through another workflow I figured out my mistake. I was using an Output module. Needed to use an Action module. Working now.