Hey there!
Problem #1: Error handling opening daily notes
I’m having problems with error handling to open daily notes. Currently, I have the shortcut below to open my daily note. Its title is in ISO format (“2025-08-11”) and I’m using an if condition to search the date in the title. The reason I have to do this is because “Open the note” function will fail and stop the shortcut if the note doesn’t exist.
However, because I’m using the search method, it may return a false positive if I have another note with the date in the title.
If I only had the note “2025-08-11 meeting”, my shortcut above would consider the daily note exist, and open the meeting note.
I have experimented with x-callback-url to replace the shortcut above, and I have found it to work consistently due to x-error. I can search for the exact string (“2025-08-11”) and if it doesn’t exist, it will create one with my predefined template.
Great. Problem solved! But then it leads to problem #2, where I still need an error handling for the existence of a daily note for appending text to my daily note.
Problem #2: Appending to daily note
Below is the shortcut I’m using to append to daily note, which works only if I have a daily note created. If I don’t, the shortcut fails. (Side note: when running this, it will also open the note, but not in edit mode (unlike x-callback-url parameter). It’s annoying to have to press into the note again to start writing).
I could add the if statement I had above for error handling, but the false positive problem would still exist.
I tried building an x-callback-url for this, but I found that “/add-note” would create the note if I specified the title (regardless if it exists or not), so I would have a daily note without my template, but with the appended text. It wouldn’t fallback to x-error to create the note first with my template, then append the text I want to append.
Summary
- Shortcut 1: I want to open a daily note. If it doesn’t exist, create one with template.
- Shortcut 2: I want to append text into my daily note. If daily note doesn’t exist, create one with template and append the text.
- Issue is mainly with error handling: How do I determine that the daily note exists without false positives?
Does anybody have any idea how I should go about this? Thank you so much for taking the time to read. Really appreciate any help I can get.






