Alfred to Obsidian Logging to the current Daily Note

I’m finding I’m using Obsidian more and more and only needed some simple Alfred integrations to make my life simpler and thought I’d share my basic of basics workflow.

OLog

Allows you to log data to the Daily Note in 3 different ways.
Opens the daily note from anywhere.

Searches Obsidian.

Requirements

Ensure you have Obsidian Community Plugin Advanced Obsidian URI enabled.

Environment Variables

Update your vault name in the environment variable vaultname

Commands

olog <text> - Brings Obsidian to the front, appends current time and starts a new line with the typed text.

clog - Brings Obsidian to the front, appends current time and starts a new line with contents of the latest clipboard entry.

hotkey: <hyper>+o (or choose your own) - Brings Obsidian to the front, appends current time and starts a new line with currently selected text.

os <text> - Bring Obsidian to the front and searches with the typed text.

odn or hotkey of your choice - Brings Obsidian to the front and opens the current Daily Note.

Hope its useful to at least one other person :)

2 Likes

Have you looked at these existing Alfred workflows for Obsidian too?

2 Likes

hi,

Thanks and yep but they were a little too much compared to what I needed so I thought I’d start with some basics :slight_smile:

Made a couple of updates to
a - make time logging work
b - highlight where to do some customisations on the format of the data going into the daily note.