I'm creating a workflow to add tasks to Nozbe using a keyword + query. I have it functioning now, however, it has a flaw I think more experience creators can tell me how to easily fix (this is my first workflow creation).
Currently I have the keyword triggering an AppleScript with the following code:
on alfred_script(q)
tell application "Nozbe"
reopen
activate
tell application "System Events"
key code 53
delay 0.1
keystroke "i"
keystroke "a"
keystroke "v" using command down
key code 36
key code 53