bk-one Posted February 10, 2020 Posted February 10, 2020 Hey, thanks for creating Alfred - wanted to get that off my chest for a while! One question I have, is a multi-step workflow similar to the one requested here possible? Basically creating a workflow like the file dialog, where you select a file first and then select an action? I would also like to add notes to a CRM system, by searching for a specific case first via hotkey trigger and then add a note in a second step that will then be added to that case via API. I got my "search for a case" workflow up and running, but didn't find a way on how to move further than a simple "keyword - search via API - open URL" workflow. Any example on how to do a "keyword - search via API - allow user to select action on one specific item of the result set - allow user to add additional data" workflow would be highly appreciated. Would also appreciate a "no, it's not possible" answer :) Cheers Ben
deanishe Posted February 10, 2020 Posted February 10, 2020 Yes, it's possible. The general technique is you save the result of each step to a workflow variable and combine them all at the end. Off the top of my head, this workflow of mine uses a multi-stage workflow to add new searches.
bk-one Posted February 10, 2020 Author Posted February 10, 2020 Cool, thanks for the answer! But is it also possible to define actions like in the file workflow? See screenshot ..
deanishe Posted February 10, 2020 Posted February 10, 2020 16 minutes ago, bk-one said: But is it also possible to define actions like in the file workflow? I'm not sure exactly what you're asking. You can show lists containing any text you want. Going by your description, in the first step you should save your case ID to a variable, then have a Keyword or Script Filter to capture the note.
bk-one Posted February 12, 2020 Author Posted February 12, 2020 Let me try to clarifiy. If I search for a file with "find name-of-file.pdf" I can navigate to the right (via cursor) and see options like "Open", "Reveal in Finder", "Email To". I would like to create the same option with a custom workflow.. e.g. search for a specific task in a ticket system, on return I can open the URL, but on "cursor right" I would like to have actions like "Add note", "assign to self", "...". I know that I can have several entries in a workflow, so I could - let's say I search for "Ticket A" - have entries in the result list like "Ticket A - open", "Ticket A - add note", "Ticket A - assign self", etc. but it would pollute the result list. So I would love to create a custom workflow exactly how the build-in "find" workflow works - and define the actions on a "cursor right" movement. Did that clarify things? Thanks for your patience and willingness to help Cheers Ben
deanishe Posted February 12, 2020 Posted February 12, 2020 2 hours ago, bk-one said: let's say I search for "Ticket A" - have entries in the result list like "Ticket A - open", "Ticket A - add note", "Ticket A - assign self", etc. but it would pollute the result list That's not what I'm talking about. You can also chain as many lists as you want: 2 hours ago, bk-one said: create a custom workflow exactly how the build-in "find" workflow works - and define the actions on a "cursor right" movement. You can't. Alfred does not allow workflows to use the File Actions UI. You can only do it using the "regular" UI as above.
bk-one Posted February 13, 2020 Author Posted February 13, 2020 Thanks for your reply .. yeah, I'm aware of that path - just hoped there is also a way to emulate the File Action UI .. but understood about the workaround Cheers Ben
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now