Paulo Posted June 1, 2021 Posted June 1, 2021 (edited) I hope that might be as useful to someone as it has been for me. https://github.com/pauloportella/alfred-notion-quick-add Edited June 1, 2021 by Paulo adding link 秦子云 1
pigpigfour Posted June 3, 2021 Posted June 3, 2021 Setup ok Notion Database and Token setup ok But not sync to the Notion~~ I dont know why~~
Paulo Posted June 4, 2021 Author Posted June 4, 2021 On 6/3/2021 at 11:41 AM, pigpigfour said: Setup ok Notion Database and Token setup ok But not sync to the Notion~~ I dont know why~~ Have you installed the workflow using npm or directly on Alfred with .workflow file? If it was the latest you might have to open the workflow folder on terminal and run `npm install` Let me know if that helps, so then I can update the instructions on github - otherwise we might need some more details. alf 1
pigpigfour Posted June 4, 2021 Posted June 4, 2021 I used the .workflow to setup to my Aflred. and I follow your step to 'npm install' it seem not ok
christianmagill Posted June 5, 2021 Posted June 5, 2021 I'm running into the same issues, but am super excited about this workflow. Any chance of seeing tagging or even relational connections for something like a master tag database?
PLerma Posted June 8, 2021 Posted June 8, 2021 I was able to make it work. Check that you have renamed the "name" property in your database to "Task" to make it work. If that is not working, check the "Debug" log in the workflow details.
Pete Bastille Posted June 17, 2021 Posted June 17, 2021 Hello, Thank you so much for this workflow, it's a game changer for me ! I currently can't make it work though. I followed the information I found in this thread but I still have the same error message : Does anyone know how to fix this ? Thank you ! Pete
ileonemil Posted June 22, 2021 Posted June 22, 2021 On 6/17/2021 at 8:50 PM, Pete Bastille said: Hello, Thank you so much for this workflow, it's a game changer for me ! I currently can't make it work though. I followed the information I found in this thread but I still have the same error message : Does anyone know how to fix this ? Thank you ! Pete I think you didn't put the right token on the variables
Jack Vaughan Posted June 30, 2021 Posted June 30, 2021 Heya - I installed the .alfredworkflow file and am getting this error every time I do it: {"items":[{"title": "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`"}]} Any advice?
Pete Bastille Posted July 1, 2021 Posted July 1, 2021 On 6/17/2021 at 8:50 PM, Pete Bastille said: Hello, Thank you so much for this workflow, it's a game changer for me ! I currently can't make it work though. I followed the information I found in this thread but I still have the same error message : Does anyone know how to fix this ? Thank you ! Pete Thank you for looking into this. Can you tell me how you find de two variables please ? Maybe I didn't do the correct manipulation. Thanks !
logicelf Posted July 9, 2021 Posted July 9, 2021 Hi Paulo, This seemed like just what I was looking for, but the NPM package doesn't exist, and the workflow bundle doesn't work (env vars are correct, and it reports 'Entry added to Inbox' but no new content is added to the relevant DB. Have you pulled this to work on it? TIA! 秦子云 1
itsdustme Posted September 18, 2021 Posted September 18, 2021 Has anyone had success with this workflow recently? I am hitting errors where it is saying no Database could be found with the ID when it is correct.
alf Posted September 28, 2021 Posted September 28, 2021 (edited) @itsdustme or anyone else that needs help... I just got this running as follows (m1 mac air) installed flow via download from github installed npm:`brew install npm` ran this in the flow directory (as mentioned above): `npm install` retrieved api key and DB id from notion.so as required and added them to the flow vars this was the part that hung me up for a while... you have to specifically share the DB with the api integration you just created. as so: https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration Once I did step 5 everything worked :))))) good luck, and thanks to the creator of this workflow!! @Paulo Edited September 28, 2021 by alf
gds Posted December 13, 2021 Posted December 13, 2021 (edited) Hi there! I'm having a hard time getting this two work. I followed alf's steps above to ensure the API integration was shared with the DB, but I keep getting this when I try to add an item from Alfred: {"alfredworkflow":{"variables":{}}} Does anyone have an idea of what I'm doing wrong? Btw, my dev skill level is... 0. So any dumbed-down explanation/steps would be greatly appreciated. Thanks! SOLVED (updated 19 Dec) I had (blindly, bc I didn't know what it meant) followed pigpigfour's instructions above but it didn't occur to me until that that I needed to edit the DB in Notion itself to match what I had put in that notion.js file (in my case, "Task"). I'm as much of a noob to Alfred Workflows as I am to Notion itself, so I guess this will be obvious to others. But thought I'd share in case it helps someone else. Edited December 19, 2021 by gds Found solution
grahamgaylor Posted February 11, 2022 Posted February 11, 2022 SOLUTION BELOW Was running into this error Quote ERROR: Notion Quick Add[Run Script] Client warn: request fail { code: 'unauthorized', message: 'API token is invalid.' } APIResponseError: API token is invalid. Turns out, I had assumed the NOTION_TOKEN variable that we have to set in the workflows env variables was supposed to be the token described here - https://www.notion.so/Find-Your-Notion-Token-5da17a8df27a4fb290e9e3b5d9ba89c4. However, that is incorrect! The NOTION_TOKEN is actually the Internal Integration Token that's described here - https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration. You must manually create an integration for Notion Quick Add within your workspace to get the Internal Intergration Token which should be used for the env variable NOTION_TOKEN. Hope this helps somebody! Thanks to @alf for the nudge in the right direction. Quote @itsdustme or anyone else that needs help... I just got this running as follows (m1 mac air) installed flow via download from github installed npm:`brew install npm` ran this in the flow directory (as mentioned above): `npm install` retrieved api key and DB id from notion.so as required and added them to the flow vars this was the part that hung me up for a while... you have to specifically share the DB with the api integration you just created. as so: https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration Once I did step 5 everything worked :))))) good luck, and thanks to the creator of this workflow!! @Paulo Edited September 28, 2021 by alf
tts Posted February 14, 2022 Posted February 14, 2022 On 2/11/2022 at 11:28 PM, grahamgaylor said: SOLUTION BELOW Was running into this error Turns out, I had assumed the NOTION_TOKEN variable that we have to set in the workflows env variables was supposed to be the token described here - https://www.notion.so/Find-Your-Notion-Token-5da17a8df27a4fb290e9e3b5d9ba89c4. However, that is incorrect! The NOTION_TOKEN is actually the Internal Integration Token that's described here - https://developers.notion.com/docs/getting-started#step-2-share-a-database-with-your-integration. You must manually create an integration for Notion Quick Add within your workspace to get the Internal Intergration Token which should be used for the env variable NOTION_TOKEN. Hope this helps somebody! Thanks to @alf for the nudge in the right direction. SOLVED This approach worked !! need strictly follow this procedure
polle Posted April 22, 2022 Posted April 22, 2022 I am trying to make this work and it is impossible to follow. Can someone please share the correct and necessary steps to make it work? 1- Download and import workflow. 2- Database ID. (Go to Notion page and use the 32 characters code before the ?) Copy that to a text file 3- Token. (Go to Notion integrations, create a new integration, grab the "secret_ejkadsjkdasfhkjdskhjfdskhjfdhkjdf") Copy to a text file 4- Open Alfred workflow, click [x] paste 2 & 3 under values. 5- Go to your notion database, click share and invite your integration created in 3. 6- ??? So far I tried that and nothing works, invoque Alfred, ": add to inbox" write something and {"items":[{"title": "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`"}]} Anyone willing to share a correct step by step without assuming we know everything? Thanks.
MitchD Posted April 30, 2022 Posted April 30, 2022 (edited) Thank you so much @Paulo I followed the steps outlined above, but I am still getting the following code: Quote {"items":[{"title": "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`"}]} Any Suggestions would be so helpful. Thank you again! Edited April 30, 2022 by MitchD
AntonyT Posted September 19, 2022 Posted September 19, 2022 Hi all, I'm having the same problem as MitchD and Polle - I've installed the workflow, set up the Notion integration, but I get the same error. {"items":[{"title": "Couldn't find the `node` binary", "subtitle": "Symlink it to `/usr/local/bin`"}]} Anyone found a fix?
vitor Posted September 20, 2022 Posted September 20, 2022 For those with the Couldn't find the `node` binary error, the solution is to install Node, which is the language the workflow is written it. Or there’s an alternative workflow you may want to check.
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