add_edge
Connect two nodes in a flow with an edge. Use sourceHandle for button connections (e.g., "button-0" wires the first button on a message node). Edges define the flow execution path. Use when the user says "connect the welcome message to the discount step" / "wire button 1 to the next node". Rejects mutations against published flows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| type | No | ||
| flowId | Yes | ||
| source | Yes | ||
| target | Yes | ||
| sourceHandle | No | ||
| targetHandle | No |