SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Markdown Table → Add Row

AI-generated

Overview

This node operation adds a new row to a specified Markdown table block within the SiYuan workspace. It is useful for workflows that need to programmatically update Markdown tables by inserting new rows with specific cell values. For example, it can be used to append data entries to a Markdown table in a note-taking or documentation system.

Use Case Examples

  1. Adding a new row to a Markdown table to log daily tasks or project updates.
  2. Appending user input data as a new row in a Markdown table for record-keeping.

Properties

Name Meaning
Table Block ID The ID of the Markdown table block to operate on, identifying which table to add the row to.
Row Data The cell values for the new row, keyed by column name, specifying the content of each cell in the row.

Output

JSON

  • rowId - The unique identifier of the newly added row in the Markdown table.
  • success - Indicates whether the row was successfully added (true/false).

Dependencies

  • Requires SiYuan API URL and API Token credentials for authentication.

Troubleshooting

  • Ensure the Table Block ID is correct and corresponds to an existing Markdown table block in SiYuan.
  • Verify that the API URL and Token credentials are correctly set and valid.
  • If the operation fails, check for error messages related to unsupported resources or invalid parameters.

Discussion