Queries Obsidian for the existence of a specific note. Returns YES
or NO
.
Parameters
Vault
The vault to work in.
Type: Vault reference
File Path
The path of the note, relative to the vault root.
Type: Text
Return Value
Boolean (YES
/NO
)
Examples
If you want to test whether a note Hello there.md
exists, you’d set this action’s “File Path” parameter to Hello there
. This would be followed by a built-in “If” action that checks the result of the “Check For Existence…” block using an is
comparison – a positive result means “note exists”, a negative “note doesn’t exist”:
![Screenshot of the action in a workflow](/_astro/afo-check-for-note.ByO0SEe3_W0Jzl.webp)
Related Links
- Search the Actions for Obsidian community forum for "Check For Note"