SOLVED: Add tags to a new OmniFocus task using Shortcuts

Hi, I’m in the process of creating a Shortcut (in Apple Shortcuts) to create a new task and I want to be able to assign (potentially multiple) tags based on selections made when the shortcut runs.

I’ve been able to do this by setting the ‘tags’ section of the OmniFocus ‘Add Action’ step to ‘Ask each time’, but I have a lot of tags and this presents them all, which is a bit unwieldily.

I’ve added a ‘Find Tags’ step with a filter to reduce the tags down to a subset but I can’t work out how to use the output of that step to set the tags on the task. Can anyone assist?

Hi again, I was using the wrong variable! :person_facepalming:

I’ll leave the post here in case anyone finds the bit about filtering the Find Tags useful.