Returns the most recent Daily, Weekly, Monthly, Quarterly or Yearly Note.
If there is a current note (e.g., for today, for this week, etc.), it will be considered the most recent, otherwise the most recent past note will be returned.
The note is returned as Note, which gives you access to the entire contents of the note, as well as separate fields for its body, its front matter, and its file path.
The action will return an error if there is no note at all.
Parameters
Vault
The vault to work in.
Type: Vault reference
Periodic Note Type
Options:
- Daily Note
- Weekly Note
- Monthly Note
- Quarterly Note
- Yearly Note
Open or focus note
If enabled, after a successful operation, the note will be brought to the front in Obsidian.
Type: Boolean (YES
/NO
)
Return Value
Related Links
- Search the Actions for Obsidian community forum for "Get Most Recent Periodic Note"