SiYuan icon

SiYuan

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

Block → Append

AI-generated

Summary

Append Markdown or DOM content as a new block at the end of a SiYuan parent block by calling the SiYuan appendBlock API.

Inputs

  • Parent Block ID (required) — ID of the document or container block that will contain the new block.
  • Content (Markdown) (required) — Content to append. Defaults to Markdown; select DOM (HTML) in Additional Options to send DOM content instead.
  • Data Type — Choose Markdown (default) or DOM (HTML) for the content format.

Output shape

The SiYuan API response data for the appendBlock request, typically an array of operation results.

The node returns the API response directly; exact fields depend on SiYuan's response. A null response is converted to {"success":true}.

Links

Discussion