Good morning,
I've spent literally the past hour attempting to figure this out based on your directions above, but still no success. I have been able to get the "token_v2=...." dynamic into Alfred's "cookie" area, and stripped out the final part of the token information (i.e. starting with the ".www.notion.so / 7/26/2053...."). I also followed your initial instructions that you supplied in GitHub about this topic, copied and pasted the cookie info (which was different than the above information), and still no success.
I am seeing that copying & pasting the cookie information of either the token_v2= information, or the results you find in the Developer area of Safari (i.e. Networks Tab - click on "search" item on left hand side - Headers Tab) is working with Alfred because when I search in Alfred via the "ns" wording, I still see the "No Results - Go to Notion Homepage" text as before. The issue is still with the Space ID, which refuses to show up in the Cookies area, even though I have the "Block All Cookies" check box UN-checked in Safari's Preferences area. I found my "Notion User ID", copied and pasted that into Alfred, but still no success....
There are SO many places to view in the Developer area that it's almost like I'm having to think on the level of an Android in order to figure this stuff out.... I have to commend you all who are coders and developers for doing this stuff, because the average person (such as myself) is not into having to search and focus at this level to perform something as simple as this.... Honestly, all I care about is things simply working, and if it doesn't, it feels like the scenario where you go to a candy machine to get some candy, you put your dollar in there, and the candy machine keeps spitting out your dollar, which makes you want to shake the daylights out of the machine to get it to work (LOL)....
All in all, I sincerely hope that the developers of Notion will finally release their Public API so that this workflow will be as simple as a) installing the Workflow from Alfred, and b) begin typing my search request in there so it can go straight to either the Desktop app, or the Web app immediately.... In the meantime, I'll just use the Quick Find feature within Notion to search for stuff (similar to how Things 3 is operating now) in order to find items....