SiYuan icon

SiYuan

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

Document → Move

AI-generated

Summary

Move a SiYuan document into a destination notebook or parent document by ID. The operation sends the document ID as a one-element list to SiYuan’s move-documents API.

Inputs

  • Document ID (required) — The ID of the document to move.
  • Target Parent ID (required) — The ID of the destination notebook or parent document.

Output shape

The SiYuan API response data for the move operation.

The handler returns the API result directly; if it is null, n8n outputs {"success":true}.

Links

Discussion