giovanni Posted March 17, 2018 Share Posted March 17, 2018 Hi, I created a custom search to show all gmail messages with a specific label, which works well (https://mail.google.com/mail/u/0/#label/{query}) However, I would like Alfred to suggest labels based on a custom list (e.g. a text file with all the labels). In other words, I would like to 1) type the keyword, 2) type space, 3) type the first letter of a label and have Alfred suggest all the labels beginning with that letter, so that I can select and send the {query} string. Is there a similar workflow I can edit, or would anyone have pointers on how to accomplish this? Thanks! Giovanni Link to comment
Tsunami Posted March 18, 2018 Share Posted March 18, 2018 (edited) You can use a List Filter input connected to an Open URL action. For each List Filter item, set Title and Arg to the name of the label. Subtitle is optional. Then set the URL for the Open URL action to "https://mail.google.com/mail/u/0/#label/{query}". Edited March 18, 2018 by Tsunami giovanni 1 Link to comment
giovanni Posted March 19, 2018 Author Share Posted March 19, 2018 This works perfectly! Thank you! Giovanni Link to comment
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