Craft is a smooth, beautiful, and well-thought-out note-taking/knowledge-management app.
Here’s how I’ve set up shortcuts/workflows for
- opening Craft’s daily note using Alfred.
- quick entry into Craft’s daily note (at the end) using Alfred or via the keyboard shortcut,
⌘⇧L
(L for log). - passing a search input term to Craft from Alfred.
- creating a new titled document via Alfred.
from anywhere on the Mac – even when Craft is not active.
Table of Contents
Go to Daily Note
To quickly go to today’s daily note I bring up Alfred using ⌘␣
and type dn
(for “daily note”) or tn
(for “today note”) or begin typing today
and hit ↵.
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/go-to-daily-note-alfred-1024x705.png)
First, created this Shortcut:
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/go-to-craft-daily-note-shortcut.png)
Then created a custom workflow in Alfred like this:
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/go-to-craft-daily-note-alfred-workflow-1024x927.png)
Here’s Craft’s icon if you are looking to drag it into your Alfred web searches/workflows.
Quick Entry in Daily Note
in Alfred: log
or add
or adn
or append
keyboard shortcut: ⌘ ⇧ L (L for Log)
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/quick-entry-daily-note.png)
To submit, ⌘ ↵
.
First, a Shortcut:
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/add-to-daily-note-shortcut.png)
Alfred workflow:
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/add-to-daily-note-alfred-workflow-714x1024.png)
Search in Craft
To search in Craft, I bring up Alfred and type ns <query>
or sn <query>
and hit ↵.
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/alfred-note-search-craft-1024x705.png)
It brings Craft to focus, passes the inputted query and shows the results dialog like this:
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/craft-search-dialog-1024x482.png)
These are set up in Alfred at Settings → Features → Web Search.
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/alfred-web-search-craft-search-1024x630.png)
Search URL:
craftdocs://opensearch?spaceId=2371748b-q24b-4626-223f-4fe5863d22eb&query={query}
Replace 2371748b-q24b-4626-223f-4fe5863d22eb
with your spaceID.
To get your space’s spaceID, right-click on any block → Copy As → Copy Deeplink. Paste the string in your clipboard in a text editor and grab the value after spaceId=
.
Create New Document
To create a new document in Craft, I bring up Alfred and type nd <title>
or new <title>
and hit ↵.
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/alfred-creating-new-document-craft-1024x705.png)
I have these also set up as web searches.
![](https://sridharblog.wpenginepowered.com/wp-content/uploads/2023/02/alfred-creating-new-document-craft-web-search-1024x633.png)
Search URL:
craftdocs://createdocument?spaceId=2371748b-q24b-4626-223f-4fe5863d22eb&title={query}&content=
Replace 2371748b-q24b-4626-223f-4fe5863d22eb
with your spaceID.
Reference
https://support.craft.do/hc/en-us/articles/360020168838-Using-URL-Scheme
4 comments
Anders Lorentsen
Really nice.. thx a lot 👍🏼
Zee
Wish you could use Tango.us to show us
Abhinav
these are awesome! Thank you! 🙂
Norm
Wonderful. My first effort at this sort of thing. Your instructions are clear, and everything works as advertised.
Thanks for your sharing.