Here is what I want to build: Shortcuts that keeps a counter of how many times times it was run, takes image from system clipboard, saves it to a specified folder named with the count and then runs a shell command with variables from user input and the count. I am almost there. Everything works except for inserting variables into the shell command and successfully running it.
And this is how I would hope the command to look like when passed into the terminal (when typed into the terminal, it works):
jj -i /Users/yanbarta/Library/Mobile\ Documents/iCloud~is~workflow~my~workflows/Documents/Answer_sheet.json -v "B" "7" -o /Users/yanbarta/Library/Mobile\ Documents/iCloud~is~workflow~my~workflows/Documents/Answer_sheet.json
But I want to replace "B" with variable: Answer and "7" with variable New_counter
Thanks for your help.