Obsidian Vault icon

Obsidian Vault

Read and write notes in a self-hosted Obsidian Vault via REST API

Actions7

Note → Create or Update

AI-generated

Summary

Creates a note in a self-hosted Obsidian Vault, or overwrites it if it already exists, by sending a PUT request with the path and Markdown content to the vault's REST API.

Inputs

  • path (required) — Note path relative to the vault root, for example 02 Projekte/EchtJetztKI/Notes.md.
  • content (required) — Markdown content to write. It becomes the note's full content, replacing any existing content.

Output shape

One output item per input item. Its json is the parsed JSON response from the vault API's /api/notes/write endpoint.

The source doesn't define the response fields, so they depend on the server. The request uses the configured Obsidian Vault API credentials, and the credential Base URL is required. If 'Continue On Fail' is enabled, a failed item returns {error: message} instead of stopping the workflow.

Examples

Example 1: Save a daily summary as a note

Resource: Note, Operation: Create or Update, Path: Daily/{{$today.toISODate()}}.md, Content: {{$json.summary}}

Example 2: Create a project note from a template

Path: Projects/Alpha/Notes.md, Content: a Markdown string with a heading and bullet points

Links

Discussion