Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Update
AI-generatedSummary
Replace the content of an existing SiYuan block using Markdown or DOM (HTML) data. The operation sends the block ID and content to SiYuan’s block update endpoint.
Inputs
- Block ID (required) — Unique ID of the block to update.
- Content (Markdown) (required) — Content to replace the block’s existing content with.
- Data Type — Choose Markdown (default) or DOM (HTML) as the content format.
Output shape
The SiYuan API response for updating the block.
The node returns the endpoint response as JSON; the source does not define a more specific result shape. With Continue On Fail enabled, errors are returned as an object containing error, operation, endpoint, and suggestion.