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 Type
Options:
- Daily Note
- Weekly Note
- Monthly Note
- Quarterly Note
- Yearly Note
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”.
![Screenshot of a workflow, made with AFO v1.2 when only Daily Note was supported.](/_astro/afo-check-for-daily-note.D7LIf3iM_1toLX3.webp)
Related Links
- Search the Actions for Obsidian community forum for "Check For Periodic Note"