Use an iOS Shortcut to make an Obsidian daily note

Guides

Created:

Screenshot of the Daily Note shortcut on iCloud’s Shortcuts page.

Background

I make a daily note in Obsidian every day by opening Obsidian on my laptop and clicking the day in the Calendar community plugin or clicking my hotkey to jump to the day’s date. I don’t like how this requires me to be at my computer if I want to make an entry in the note, so I made a shortcut to generate the daily note from my phone and gather useful information.

Prerequisites

Instructions (iOS and iPadOS only)

  1. Add this iOS Shortcut to your phone: Daily Note.
  2. Open the Shortcuts app > Library tab
  3. Tap the ... above Daily Note to go into the editor.
  4. Change the word “Life” in the first text block to the name of your vault.
  5. Click the play button.

I also set up an automation to run this after I wake up, but after confirmation.

  1. Create a sleep focus in iOS Settings > Focus > Sleep
  2. Open the Shortcuts app > Automation tab
  3. Tap the + button
  4. Tap Sleep
  5. Set When to “Waking up” and select “Run After Confirmation”
  6. Tap Next
  7. Choose your Daily Note shortcut

Context for nerds

I made an iOS Shortcut (Daily Note) to do the following

Daily notes template

 1---
 2created: {{date}}
 3parent:
 4  - "[[Daily note index]]"
 5---
 6<< [[<% tp.date.now("YYYY-MM-DD", -1) %>]] | [[<% tp.date.now("YYYY-MM-DD", 1) %>]] >>
 7
 8%%appointments%%
 9
10---
11## Noteworthy content consumed
12- 
13
14--- 
15## Open mobile browser tabs
16%%safaritabs%%
17
18---
19## Today I Learned
20- 
21
22---
23## Journal
24
25
26---
27## Notes created today
28```dataview
29list file.ctime
30where file.ctime > this.file.day and file.ctime < (this.file.day + dur(1 day))
31```
32## Notes modified today
33```dataview
34list file.mtime
35where file.mtime > this.file.day and file.mtime < (this.file.day + dur(1 day))
36```
Thanks for reading! If you have any comments, I would love to hear from you at jlmc.space@gmail.com or consider buying me a coffee.