SiYuan icon

SiYuan

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

Markdown Table → Update Row

AI-generated

Overview

This node operation updates a specific row in a Markdown table block within the SiYuan workspace. It is useful for workflows that need to modify existing data in Markdown tables, such as updating records or correcting information in a structured text format. For example, it can be used to update a row in a project status table or a task list stored as a Markdown table.

Use Case Examples

  1. Updating a row in a Markdown table to change the status of a task.
  2. Modifying a row in a Markdown table to correct a data entry error.

Properties

Name Meaning
Table Block ID The ID of the Markdown table block to operate on, identifying which table to update.
Row Data The cell values for the row, keyed by column name, specifying the new data to update in the row.
Row Index Zero-based row index, excluding the header row, indicating which row to update in the table.

Output

JSON

  • success - Indicates whether the row update operation was successful.

Dependencies

  • SiYuan API URL and Token for authentication

Troubleshooting

  • Ensure the Table Block ID is correct and exists in the SiYuan workspace to avoid errors.
  • Verify the Row Index is within the valid range of the table rows.
  • Check that the API URL and Token credentials are correctly set and valid.
  • Common error messages include missing credentials, unsupported resource or operation, and invalid row index. Resolving these involves verifying input parameters and credentials.

Discussion