Returns all Periodic Note file paths as a list of texts, sorted from newest to oldest. It does not return the notes themselves, just their paths.
Use the "Get Note" action with the returned file paths to get the actual note contents.
Parameters
Vault
The vault to work in.
Type: Vault reference
Periodic Note Lookup
Options:
- Daily Note
- Weekly Note
- Monthly Note
- Quarterly Note
- Yearly Note
Return Value
Text (list)
Examples
Most of the time you would use this action to get a list of all the file paths of your Periodic Notes of a certain type (Daily, Weekly, etc.), then loop over the results list using the built-in "Repeat With" block. If you want to retrieve the details of the notes, you would use a Get Note action and use the loop variable Repeat Item
as the argument for the "File Path" parameter.
Like so:
If you want to filter the list by folders etc., I recommend using the "Filter List" action from Sindre Sorhus's excellent Actions app (no relation) or a built-in "Repeat With" loop with a contained "If" action.
Related Links
- Search the Actions for Obsidian community forum for "List All Periodic Notes"