Get Note

Screenshot of the action, first in "Get note at file path" mode, second in "Get note by title" mode

Returns a specific note. The note will be looked up by either its path or its title.

This action will throw an error if the specified note doesn't exist, so it's best to use it after the "Check For Existence Of Note" action has determined that it does exist.


Returns

A Note object.


Switches

"at file path" / "with title"

"at file path" should be used if you already know the full file path (including folder and file extension).

When selecting "with title", the lookup will try to find the note by its given title. If there are several folders containing a note with the given name, AFO will select the first one after sorting them by a given criterion:

  • "let Obsidian decide": default, is akin to adding the Markdown code [[My Note]] and counting on Obsidian to pick the right file.
  • "select oldest (by creation time)"
  • "select newest (by creation time)"
  • "select oldest (by modification time)"
  • "select newest (by modification time)"
  • "select first by full path": Folder A/My Note would be chosen over Folder B/My Note.
  • "select last by full path"

Parameters

Note Path or Title

Either the file path of the note or its title, the action will use the value of this field depending on the switch "at file path" / "with title".


Options

Open of focus note

Enable if you want the note to be activated in Obsidian.


Changes / History

v2024.1

  • Added the ability to find a note by its title.
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Carlo Contact Carlo