Skip to content
Actions for Obsidian icon Home Actions for Obsidian 2024.2.1 › Actions

Actions for Obsidian › Actions › Check For Periodic Note

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".

Screenshot of a workflow, made with AFO v1.2 when only Daily Note was supported.