Actions71
- Asset Actions
- Attribute Actions
- Block Actions
- Database Actions
- Document Actions
- Markdown Table Actions
- Notebook Actions
- Search Actions
- System Actions
- Tag Actions
Block → Move
AI-generatedSummary
Move a SiYuan block to a new position in a document by placing it after a sibling block or making it a child of a parent block. The operation sends the block ID and whichever destination IDs are non-empty to SiYuan’s moveBlock API.
Inputs
- Block ID (required) — The unique ID of the block to move.
- Move After Block ID — Optional sibling block ID to place this block after. When provided, the block is moved after that sibling.
- Move Under Parent ID — Optional parent block ID to make this block a child of. The UI describes this as the destination when Move After Block ID is empty.
Output shape
The SiYuan API response data for the moveBlock request, or a success object if the response is empty.
Both destination fields are optional in the UI and are passed independently when non-empty; the implementation does not enforce that only one is set. The result is wrapped as n8n JSON output. With Continue On Fail enabled, errors are returned as an object containing error, operation, endpoint, and suggestion.