deanishe Posted June 19, 2020 Share Posted June 19, 2020 10 hours ago, wrjlewis said: which I think can not be displayed in an Alfred search result You can display them as the result icon (provided you download the images and save them locally first), but you can't show one inline with the text. Link to comment
wrjlewis Posted June 23, 2020 Author Share Posted June 23, 2020 (edited) Version 0.3.1 now out + Support for custom icons + Shows all Notion page icons in Alfred search results natively, resulting in a better design and experience. Edited June 25, 2020 by wrjlewis joeynotjoe 1 Link to comment
wrjlewis Posted June 25, 2020 Author Share Posted June 25, 2020 (edited) Version 0.3.3 now out+ Pre-configured support for OneUpdater +Unicode character support Automatic version updates 🙌 Edited July 7, 2020 by wrjlewis joeynotjoe 1 Link to comment
bertk Posted July 2, 2020 Share Posted July 2, 2020 I can search pages using the workflow. But when I click on one, it opens up the desktop app but doesn't actually go to the page. I'm left at the last page I had open. Link to comment
wrjlewis Posted July 7, 2020 Author Share Posted July 7, 2020 On 7/2/2020 at 11:38 AM, bertk said: I can search pages using the workflow. But when I click on one, it opens up the desktop app but doesn't actually go to the page. I'm left at the last page I had open. Can you please open an issue here Link to comment
Bob89 Posted August 9, 2020 Share Posted August 9, 2020 Hey @wrjlewis started trying out your notion workflow and it‘s really helpful. Quick question though: The search does not return the exact same results, that the internal notion search returns. The search results inside of notion are more plentiful. Is there a specific reason for why that happens and could it be fixed? Thanks a lot! Link to comment
wrjlewis Posted August 10, 2020 Author Share Posted August 10, 2020 On 8/9/2020 at 9:03 AM, Bob89 said: Hey @wrjlewis started trying out your notion workflow and it‘s really helpful. Quick question though: The search does not return the exact same results, that the internal notion search returns. The search results inside of notion are more plentiful. Is there a specific reason for why that happens and could it be fixed? Thanks a lot! isNavigableOnly: Defaults to True. Setting to false allows you to search objects within a page, ie notion objects that cannot be found through the left hand side navigation pane. ^Try setting this, in the workflow environment variables, to False. This should create the same results as the notion quick search function on their web app. Link to comment
Bob89 Posted August 10, 2020 Share Posted August 10, 2020 Ah, perfect, thanks a lot! wrjlewis 1 Link to comment
Mgor Posted August 21, 2020 Share Posted August 21, 2020 At first, I installed it and could not find anything while searching. Then I updated my openssl, and it finally works. It's a little delay but it does its job. Thank you. wrjlewis 1 Link to comment
Bob89 Posted September 23, 2020 Share Posted September 23, 2020 @wrjlewis I think notion might have changed something on their side, but my notion search workflow completely stopped working. Anybody else having the same issue? Can we expect a fix for this? Thanks! Link to comment
wrjlewis Posted September 23, 2020 Author Share Posted September 23, 2020 1 hour ago, Bob89 said: @wrjlewis I think notion might have changed something on their side, but my notion search workflow completely stopped working. Anybody else having the same issue? Can we expect a fix for this? Thanks! Seems to be working for me currently. Sometimes it stops working for me in the past and I have to update my cookie in the env variables (presumably the notion token has expired or refreshed), can you try that? Link to comment
Bob89 Posted September 23, 2020 Share Posted September 23, 2020 @wrjlewis Probably was the token, everything works again. Thank you! :) wrjlewis 1 Link to comment
JSA Posted October 9, 2020 Share Posted October 9, 2020 @wrjlewis Hi, Thanks for the workflow, its been insanely useful for speed up my interaction with Notion. Have one suggestion, could you make it possible to search by title only please. I am having trouble accessing databases due to subpages crowding out the search box. A title search would take care of the problem and might even make the search faster. Tried reading johnathanz's code and merge it with your but was too complicated for me. Thanks again Link to comment
wrjlewis Posted October 10, 2020 Author Share Posted October 10, 2020 31 minutes ago, JSA said: @wrjlewis Hi, Thanks for the workflow, its been insanely useful for speed up my interaction with Notion. Have one suggestion, could you make it possible to search by title only please. I am having trouble accessing databases due to subpages crowding out the search box. A title search would take care of the problem and might even make the search faster. Tried reading johnathanz's code and merge it with your but was too complicated for me. Thanks again Glad you are enjoying using it! Just to check, do you have isNavigableOnly set to true in your Alfred env variables for the workflow? Link to comment
JSA Posted October 25, 2020 Share Posted October 25, 2020 On 10/10/2020 at 1:01 AM, wrjlewis said: Glad you are enjoying using it! Just to check, do you have isNavigableOnly set to true in your Alfred env variables for the workflow? Yes, it is set to true. Link to comment
wrjlewis Posted October 27, 2020 Author Share Posted October 27, 2020 On 10/25/2020 at 3:43 PM, JSA said: Yes, it is set to true. That is unfortunately the only parameter that can be changed. Notion doesn't have an option to only search titles as far as I can see and this workflow is bound by the same restrictions and options that Notion's own quick search has (which I believe doesn't allow title search). Perhaps when Notion makes the API public we'll see an option for this. Link to comment
noah Posted November 5, 2020 Share Posted November 5, 2020 I'm wondering what would be the best way to use this workflow with multiple Notion workspaces? Can I just import an additional instance of the workflow and set it up for a different workspace? Thanks! Link to comment
wrjlewis Posted November 5, 2020 Author Share Posted November 5, 2020 57 minutes ago, noah said: I'm wondering what would be the best way to use this workflow with multiple Notion workspaces? Can I just import an additional instance of the workflow and set it up for a different workspace? Thanks! Hey! What you suggested is currently the quickest way of doing this, and the easiest. I do this myself. You can simply add the workflow again and use a different keyword that suits you. You could use 'NS1' or 'NS2' for example, or something that means something to the workspaces they relate to. There is an open enhancement request to search multiple workspaces within a single workflow, but I haven't got around to tackling that yet or thinking about how it would work. Thanks Link to comment
lynxlinius Posted November 6, 2020 Share Posted November 6, 2020 Hi, Amazing workflow, thanks so much! It would be great to add an optional argument for opening in browser/desktop application that defaults to the option set in vars. I wanted to look into it but haven't had time yet. I feel like it might be doable? Also, for the workspaces, you can store the creds in a JSON & then parse the variable & use the split function or something like that? Or even storing it in vars. (Not best practice but a start). Anyways, thanks so much! Link to comment
Tanja108 Posted April 18, 2021 Share Posted April 18, 2021 Hello, I also have a problem to make it work. I added the cookie as well as the Notion SpaceID. I also tried to copy pate it via texteditor. When I show up Alfred and type e.g. "ns volunteers" the answer answer always is: "no results - go to notion homepage" I checked the ssl and it says: LibreSSL 2.2.7 I am new to Alfred as well as to Notion. And I am an ordinary user ;-) I would very much appreciate someone helping me to make it work. Thank you very much, Tanja Link to comment
Tanja108 Posted April 18, 2021 Share Posted April 18, 2021 47 minutes ago, Tanja108 said: Hello, I also have a problem to make it work. I added the cookie as well as the Notion SpaceID. I also tried to copy pate it via texteditor. When I show up Alfred and type e.g. "ns volunteers" the answer answer always is: "no results - go to notion homepage" I checked the ssl and it says: LibreSSL 2.2.7 I am new to Alfred as well as to Notion. And I am an ordinary user 😉 I would very much appreciate someone helping me to make it work. Thank you very much, Tanja I found the solution: I logged out and logged in again into Notion. Now it functions 🙏 Link to comment
Tanja108 Posted April 18, 2021 Share Posted April 18, 2021 10 minutes ago, Tanja108 said: I found the solution: I logged out and logged in again into Notion. Now it functions 🙏 And I found out: As soon as I am adding a second account to Notion (I have two different emails I am working with right now), the Alfred workflow immediately stops working. Under this circumstances, I receive only the note: "no results - go to notion homepage". Link to comment
Jakub Sypiański Posted May 3, 2021 Share Posted May 3, 2021 For each workspace I need to duplicate the workflow – or is there another solution? Link to comment
wrjlewis Posted May 3, 2021 Author Share Posted May 3, 2021 7 minutes ago, Jakub Sypiański said: For each workspace I need to duplicate the workflow – or is there another solution? There isn’t a solution to this and I’m not sure when I’ll get around to adding it, but good to know it could be useful! Thanks Link to comment
wrjlewis Posted May 5, 2021 Author Share Posted May 5, 2021 On 5/18/2020 at 10:30 AM, fxf said: Hi, What a wonderful workflow! I followed step by step your guide. However, it's not working on my side : no results are displayed The debugger shows this : [11:26:15.798] Logging Stopped. [11:26:16.595] Logging Started... [11:26:23.441] Notion Search[Script Filter] Queuing argument 'l' [11:26:23.488] Notion Search[Script Filter] Queuing argument 'le' [11:26:23.550] Notion Search[Script Filter] Queuing argument 'lea' [11:26:23.641] Notion Search[Script Filter] Queuing argument 'lean' [11:26:25.844] Notion Search[Script Filter] Script with argv '(null)' finished [11:26:25.847] Notion Search[Script Filter] {"items": [{"arg": "https://www.notion.so/", "type": "default", "uid": 1, "title": "No results - go to Notion homepage"}]} [11:26:26.620] Notion Search[Script Filter] Script with argv '(null)' finished [11:26:26.623] Notion Search[Script Filter] {"items": [{"arg": "https://www.notion.so/", "type": "default", "uid": 1, "title": "No results - go to Notion homepage"}]} I use Alfred 4.0.9. Any idea where the problem comes from ? Unfortunately since Notion hasn't released a public API yet, it's difficult to resolve any issues, they don't return error messages. I have seen people have success by: Logging out of notion in their browser. Logging back in Copy the cookie as shown in the readme into the workflow env variables. The spaceid should stay the same but may be worth copying over again to be sure. Try again searching for a page you know to exist in your workspace. 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