nodes.insertBetween
Insert new nodes between two connected nodes in a visual workflow. Removes the existing connection and creates sequential edges through the inserted nodes.
Instructions
Insert node(s) between two connected nodes. Removes existing edge and creates new edges through the inserted nodes.
Use node for single insertion: Source → NewNode → Target
Use nodes for chain insertion: Source → A → B → C → Target
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | Yes | Source node ID (start of existing edge) | |
| targetId | Yes | Target node ID (end of existing edge) | |
| node | No | { name, shape?, color? } - single node to insert (use OR nodes, not both) | |
| nodes | No | [{ name, shape?, color? }] - array of nodes to insert in sequence (use OR node, not both) |