Queries Obsidian for the existence of the current Daily, Weekly, Monthly, Quarterly or Yearly Note. Returns YES
or NO
, tailor-made for an "If" block.
Parameters
Vault
The vault to work in.
Type: Vault reference
Periodic Note Lookup
Options:
- Daily Note
- Weekly Note
- Monthly Note
- Quarterly Note
- Yearly Note
Open or focus note
If enabled, the note will be brought to the front in Obsidian if it exists.
Type: Boolean (YES
/NO
)
Return Value
Boolean (YES
/NO
)
Examples
If you wanted to test whether today's Daily Note exists in a vault called "Testbed", you'd set the vault parameter to Testbed
. This would be followed by a built-in "If" action that checks the result of the "Check For Existence…" block – a positive result means "note exists", a negative "note doesn't exist".
Related Links
- Search the Actions for Obsidian community forum for "Check For Periodic Note"