Deprecated: Return type of I::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 62

Deprecated: Return type of I::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 91

Deprecated: Return type of I::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 71

Deprecated: Return type of I::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 101

Deprecated: Return type of I::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/i.php on line 53

Deprecated: Return type of Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/public/kirby/toolkit/lib/collection.php on line 80

Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /home/public/kirby/toolkit/lib/url.php on line 135
One Tap Less | Trigger Workflows with Clipboard Text as Input

Trigger Workflows with Clipboard Text as Input

The clipboard is the last resort when I build my actions because they leave a footprint. Unless you do a couple of extra steps to maintain a clipboard history, the value that runs through your apps will remain there and push the previous one into nothingness.

Some apps don’t give you a choice though and all you want is to access the iOS sharesheet. A Youtube video? A Vine short? An Instagram photo? None will let you access the built-in sharesheet and trigger extensions and your only alternative is to copy a link to the clipboard.

You possibly stumbled upon Workflow actions to download content from those sites. Here's one to download Youtube videos:

Download from Youtube

Downloads video from Youtube. Takes the share URL as input.

Get Workflow

Here’s another one by tomf64 to download Vine videos. This version was modified slightly to fix some quirks.

Download Vine

Downloads video from Vine. Takes the share URL as input.

Get Workflow

And the last one we’ll work with downloads images and videos from Instagram. I couldn’t find one I could give proper credit to the creator, so I built one myself.

Save From Instagram

Downloads images and videos from Instagram and saves them into your Camera Roll.

Get Workflow

If these actions take the URL as an input1 but the apps they’re related to only copy this URL to the clipboard, then we have to find a way to run Workflow actions with the clipboard set as input.

Trigger With Clipboard

Runs any of your Workflow actions with the clipboard set as an input.

Get Workflow

This action will list your workflows and run the one you choose with the clipboard as input. It only works for text in the clipboard and has the downside of opening Workflow when you run it from the Today Widget. That happens because it triggers the selected action using Workflow’s URL scheme.

I admit, this is only a workaround until the DeskConnect team figures out a way to call workflows within workflows so we can build modular actions. Would be like having x-callback-url built within Workflow and across its workflows. Until then, whenever I need to download a video or photo from one of the services I listed, I copy the link and pull down the Today Widget to run the action I need. It’s not great but gets the job done.


  1. You can modify all of them to check the clipboard in case the input is invalid, but then you’d need to verify all your actions.