LayerProof icon

LayerProof

Automate LayerProof public API workflows from n8n

Slide → Save Konva Nodes

AI-generated

Summary

Persist Konva nodes for a slide via the LayerProof API.

Inputs

  • projectId (required) — The ID of the project containing the slide.
  • slideId (required) — The ID of the slide to save Konva nodes for.
  • konvaNodesJson (required) — JSON representation of the Konva nodes to persist.
  • konvaOrderJson (required) — JSON array defining the order of the Konva nodes.
  • saveOptions — Optional save options applied when persisting Konva nodes.

Output shape

API response confirming the Konva nodes have been saved.

The operation sends a PUT request to /api/v2/projects/:projectId/slides/:slideId/konva-nodes with a body containing the parsed Konva nodes, their order, and any provided save options (flattenedImagePath, baseSnapshotId).

Examples

Example 1: Save updated Konva node positions and order for a slide.

Set projectId and slideId to the target slide. Provide konvaNodesJson as a JSON object of node definitions, konvaOrderJson as a JSON array specifying node order, and optionally set flattenedImagePath or baseSnapshotId in saveOptions.

Links

Discussion