Any success using Hook and Notion together?

I noticed on Twitter (in Nov??) that they said they have hired someone to deal with automation and interoperability (or some such job), which I think bodes well for Hook integration if we can connect with that person.

We’re developing a Software Advocate / Liaison programme and would like to have a couple of volunteers who would agree to interact with the Notion folks and forum, and informally be a liaison between the two user communities. We’ll have more to say on that later this quarter.

1 Like

I’d be happy to help out anyway I can!

FWIW, I’ve been playing around with Craft and thinking of making the switch from Notion - hook links work just fine there. :slightly_smiling_face:

1 Like

Welcome to the Hook Productivity Forum , @cse.

The Craft development team has tremendous momentum. And they definitely are writing for the Mac , iPhone and iPad (Catalyst). And they value integration via x-callback-url. That is huge. I think it makes a lot of sense.

Notion.so market themselves as “All-in-one workspace”. However, as @timstringer was saying in a training session recently, there’s lots to be said for using best of breed apps and connecting them together with hyperlinks. Last time I checked, Notion.so content was in a walled garden/silo. The linking approach is much more flexible.

I do hope Notion.so will provide a linking API at some point.

Compare: Tim’s course:

Learn OmniFocus on Twitter: “NEW Course :mortar_board: Linking OmniFocus - Beyond Task Management: https://t.co/841UIlptHa Learn how to build the Ultimate Productivity “App” with #OmniFocus at its core. Features @HookProductvT, Workspaces (@apptorium), @keyboardmaestro, @craftdocsapp and #DEVONthink (@devontech). https://t.co/fFu4iwwdp4” / Twitter

The Craft development team has tremendous momentum. And they definitely are writing for the Mac , iPhone and iPad (Catalyst). And they value integration via x-callback-url. That is huge. I think it makes a lot of sense.

It’s amazing how far Craft has come, even over the past few months. It’s a beautiful app that’s very fast and really embraces the Apple ecosystem.

Notion.so market themselves as “All-in-one workspace”.

Some people go all-in with Notion and customize it to manage many aspects of their life. Others use it for specific purposes (e.g. to collaborate on a project or to share information). I think both approaches have their merit.

However, as @timstringer was saying in a training session recently, there’s lots to be said for using best of breed apps and connecting them together with hyperlinks.

I posted a recording of my Linking OmniFocus: Beyond Task Management session yesterday in course format. Some of the lessons are free (no membership/login required), including What Is a Productivity System and The Ultimate Productivity App.

Last time I checked, Notion.so content was in a walled garden/silo. The linking approach is much more flexible.

It’s currently possible to manually link to information stored within Notion as I believe each element in Notion (e.g. a record in a table/database) has a unique URL. Though, this linking isn’t always as convenient as it could be.

I do hope Notion.so will provide a linking API at some point.

Notion has an API that’s currently in private beta. I think this will help make it much easier to integrate Notion into a comprehensive productivity system.

I’m continuing to follow Notion closely and think this app/service has a bright future.

2 Likes

thanks for the clarifications, @timstringer . I agree with all your points. A lot of people use and love Notion, whether for “all in one” or parts of it. I had heard about their API. If anyone has particular knowledge of it, please feel free to give us an update. We would love to add Notion.so integration to Hook.

Even today, users can bookmark Notion.so items with Hook, and find them via ⌘F, and hook them from there. So basically any software, like Notion, that provides a Copy Link function is compatible.

1 Like

@LucB Notion releases their API as public beta tomorrow May 13th.

https://i.imgur.com/d0JX5e0.png

1 Like

@bchend please have a look (it’s our 3813).

Hi @LucB
I’m so curious - how’s the progress on integration with Notion coming along?
Hook and Notion are my two “brain”-apps, and having them separated is what I can imagine having a split personality is like. :smile:

Sorry @pug, my assigning via Discourse above rather than our internal tracking system led to it being overlooked. It’s still in a dev’s pipeline here. Hook 3.2 public beta any day now, with several significant new integrations.

1.As I tweeted to @NotionHQ, Notion doesn’t seem to have a client-side API. No AppleScript dictionary and I couldn’t find a x-callback-url on the web. Am I missing something?

I also resumed an email thread with Notion that I had started in spring of 2019 (and continued in 2020).

2. Apparently they have a very active user community and forum. So if any notion user wants to ask a question on their side that might help.

3. I also verified that their Mac app still has a major limitation: Notion still does not support local app links, not even its own! You can paste app URLs like hook://file/, and notion URLs in Notion app, but they will not be treated as hyperlinks. If you paste a markdown link with whose URL field is an app URL, Notion will strip away the URL and just give you the label.

this does not merely affect Hook, it affects all apps. So you can’t even paste a not Notion URL or Markdown , let alone an OmniFocus, obsidian, x-devonthink-item or Things URL/markdown-link in Notion.

If I were a Notion.so user, I would be quite concerned about that.

5. However, Hook can help you get around these limitations via this UI-scripted integration ,

tell application "System Events"
	tell process "Notion"
		set the clipboard to ""
		delay 0.5
		
		keystroke "l" using {command down}
		repeat 50 times -- poll clipboard for ~2.5 seconds
			try
				if (the clipboard) is not equal to "" then
					exit repeat
				end if
			end try
			delay 0.05
		end repeat
		set myUrl to the clipboard
		set myUrl to "notion" & text 6 thru (length of myUrl) of myUrl
		
		set AppleScript's text item delimiters to {"/"}
		set myItem to last item of text items of myUrl
		set AppleScript's text item delimiters to {"-"}
		
		if (count of text items of myItem) > 1 then
			set myItems to items 1 thru ((count of text items of myItem) - 1) of text items of myItem
			
			set myTitle to myItems as string
		else
			set myTitle to name of window 1
			
		end if
		return "[" & myTitle & "](" & myUrl & ")"
	end tell
end tell

please let us know if that works

6.Like I said in #2 above, I heard on MPU that Notion.so has a very active user community and forum. So if any Notion user wants better integration, I recommend they take it to Notion’s forum, and link to this post.

In my communications with Notion I have also linked to this post.

Any updates about this re: Notion and Hook? I’m using Obsidian these days for note-taking and would like to link from my projects in Notion to Obsidian notes. Finally purchased Hook after trying it a few times on the trial, because I think it has promise, but found it still doesn’t work as a clickable link in Notion. Not disappointed about the purchase, as I wanted to test it in other ways, but wanted to ask about updates since I’m not sure if the consumer-side API with Notion has changed anything with this. @LucB

Just saw this on Reddit so it doesn’t seem promising…

Hook can work with any API, including if written in JavaScript, so JS should not inherently be a problem.

I contacted the Notion support/feedback channel and sent them my version of the “suggested email” to developers. Received this response.

“Thanks for writing in. We’ve actually had a few other developers write in about support for Hook before (apple script as well). I’m happy to add a +1 in our internal feedback tracker to add support for this feature.”

1 Like

I have been investigating Notion which seems very powerful. On the other hand I am already a Hook user and do not want to give that up. I am using a workaround to get sort of clickable links in the Notion web app and Mac app as follows:
(1) I paste in the markdown link to say a file on my Mac using the paste as code option in Notion. This stops Notion stripping the markdown from the link. True it then shows the entire markdown link in a code block, but at least you can tell what it is.
(2) To click the link to the file from Notion, I click anywhere on the code block containing the markdown link.
(3) Then I invoke PopClip using a keyboard short cut (mine is Option-Command-P). PopClip immediately recognises the markdown as a hyperlink and gives the “link” option as its default action.
(4) Just press return and you are taken to the file in the link.
It sounds clunky, but it works quickly in practice.
This is my first post here so apologies if this is not up to the required standard for a suggestion to be shared, but I have found it useful.

3 Likes

Welcome to the Hook Productivity Forum , @MrC , and thanks for sharing!

Another trick is: once you have a URL or full link in the clipboard (whatever format), you can use Focus on Link in Clipboard – Hook.

Thank you for doing that, @afischlinguist, and Welcome to the Hook Productivity Forum.

thank you so much for that workaround. integrated it into a keyboard maestro macro and it works flawlessly. solved a lot of problems for me.

1 Like

Welcome to the Hook Productivity Forum , athman. Glad it helps.