Actions11
- Vault Actions
- Search Actions
- Periodic Note Actions
- Recent Actions
Overview
This node operation appends content to a specified file within an Obsidian vault using the Local REST API. It is useful for scenarios where you want to programmatically add notes, logs, or updates to existing files in your vault without overwriting the current content. For example, you could append daily journal entries, add new tasks to a to-do list, or log events automatically.
Use Case Examples
- Appending a new log entry to a daily journal file named 'Logbook.md'.
- Adding additional notes to a project file within the vault.
Properties
| Name | Meaning |
|---|---|
| File Path | Specifies the relative path to the file within the vault where content will be appended. This is required to identify the target file. |
| Content | The text content to append to the specified file. This is required and can be multiline text. |
| Request Options | Optional settings to control request behavior such as batching of requests, SSL certificate validation, proxy configuration, and request timeout. |
Output
JSON
filePath- The path of the file to which content was appended.appendedContent- The content that was appended to the file.status- The status or result of the append operation, indicating success or failure.
Dependencies
- Requires an API key credential to authenticate with the Obsidian Local REST API.
Troubleshooting
- Ensure the file path is correct and the file exists in the vault; otherwise, the append operation may fail.
- Check network connectivity and API endpoint settings (protocol, host, port) in credentials to avoid connection errors.
- If SSL certificate validation fails, consider enabling the 'Ignore SSL Issues' option, but be aware of security risks.
- Proxy settings must be correctly configured if used, including authentication details if required.
- Timeouts may occur if the server is slow or unresponsive; adjust the timeout setting accordingly.
Links
- Obsidian API Documentation - Official documentation for interacting with Obsidian via its API, useful for understanding available endpoints and usage.