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

Actions for Obsidian › Actions › Get Active Note

Returns the currently active/focussed note.

The note is returned as Note, which gives you access to the entire contents of the note file, as well as just its body, front matter, and file path.

This action will return nothing if there is no active/focussed note, which can be tested for using a built-in “If” action with a “has any value” condition.

Parameters

Vault

The vault to work in.

Type: Vault reference

Return Value

Note reference

Examples

Use a built-in If conditional (“If [Active Note] has any value”) with the result of this here action to test if the active tab contains a note:

Screenshot of the described workflow