Overview
Creating nodes and connecting them is the core of building Flows. This guide covers all the ways to add nodes and create connections between them.Creating nodes
Method 1: Ask Triton
The easiest way to add nodes is through conversation. Examples:- “Add a validation Action to this Flow”
- “Insert a sentiment analysis Agent after the input”
- “Add three Actions: fetch_data, process_data, and store_results”
- Triton creates the node
- Suggests appropriate connections
- Configures basic settings
- Maintains Flow structure
Method 2: Right-click menu
For manual control:- Right-click on empty Canvas space
- Select Add Node
- Choose node type:
- Action — Select from your existing Actions or create new
- Agent — Select from existing Agents or create new
- Flow — Add a sub-Flow
- Control — Router, Merge, Loop
- Click to place on Canvas
Method 3: Drag from Agent Toolbox
For visual workflows:- Open Agent Toolbox panel (right side)
- Browse or search for component
- Drag onto Canvas
- Drop where you want it
Method 4: Copy and paste
To duplicate existing nodes:- Select the node(s) you want to copy
- Copy:
Cmd+C
(Mac) /Ctrl+C
(Windows) - Paste:
Cmd+V
(Mac) /Ctrl+V
(Windows) - The duplicate appears offset slightly
Method 5: Quick add (keyboard)
For power users:- Press
A
(Add) or/
(Command) - Type to search for component
- Arrow keys to select
Enter
to add to Canvas at current view center
Connecting nodes
Method 1: Click and drag
The standard way to create edges:- Hover over the source node’s output port (right side)
- Click and hold on the port
- Drag toward the destination node
- Drop on the destination’s input port (left side)
- Edge appears, connecting the nodes
- Compatible ports highlight green when hovering
- Incompatible ports highlight red
- Edge follows cursor while dragging
Method 2: Select and connect
For precision connections:- Select the source node
- Right-click → Connect to…
- Choose the destination node from list
- Select which output port → which input port
- Click Connect
Method 3: Ask Triton
Let AI handle connections: Examples:- “Connect validate_input to process_data”
- “Wire the output of fetch_user to the input of notify_user”
- “Connect all three fetch Actions to the merge node”
- Automatic port mapping
- Handles type conversions if needed
- Maintains data flow logic
Method 4: Auto-connect
When adding a node between existing ones:- Drag a new node onto an existing edge
- Drop it on the edge line
- The edge automatically splits and connects through the new node
Connection validation
Triform validates connections to prevent errors.Compatible connections
Connections work when:- Type match: Output type equals input type
- Schema compatible: Fields align (or can be mapped)
- No cycles: Would not create an infinite loop (unless intentional)
Incompatible connections
Connections fail when:- Type mismatch: String output → Number input
- Missing required fields: Output lacks required input fields
- Cycle detected: Would create unintended loop
- Port highlights red when hovering
- Cannot drop to create connection
- Error message explains why
Type conversion
Sometimes Triton can add automatic conversion: Example:- Source outputs:
{ "value": 123 }
- Destination expects:
{ "value": "string" }
- Triton offers to add a type conversion step
Mapping fields
When schemas don’t match exactly, you need field mapping.Automatic mapping
Triton maps fields automatically when names match: Source output:user_id
→user_id
✓ (exact match)user_name
→name
(no match, needs manual mapping)
Manual mapping
When auto-mapping isn’t enough:- Click the edge
- Properties Panel shows Field Mapping
- Map each destination field:
- Select source field from dropdown
- Or write a transformation expression
- Click Save
user_name
→name
(simple rename)first_name + " " + last_name
→full_name
(combine fields)price * 1.1
→price_with_tax
(calculation)
Disconnecting nodes
Remove a single connection
- Click the edge to select it
- Delete: Press
Delete
orBackspace
- Or right-click edge → Delete
Remove all connections from a node
- Select the node
- Right-click → Disconnect All
- Confirm
Remove node and reconnect
To remove a node but keep the Flow intact:- Select the node
- Right-click → Delete and Bridge
- The node is removed and edges reconnect around it
Advanced connection techniques
Conditional connections
Create edges that activate based on conditions:- Connect nodes normally
- Click the edge
- Properties Panel → Add Condition
- Define condition:
status == "approved"
- Edge now labeled with condition
Named output ports
Some nodes have multiple output ports: Example:success
→ Continue normal flowerror
→ Error handlingwarning
→ Log and continue
Multiple inputs
Some nodes accept multiple inputs: Merge node:- Wait for all: Waits for A, B, and C before proceeding
- First wins: Proceeds as soon as any input arrives
- Custom logic: Combine inputs with a function
Connection best practices
Connect left to right — Makes flow easy to follow
Avoid crossing edges — Rearrange nodes to minimize crossings
Use named ports — Clarifies purpose of each connection
Validate schemas — Ensure type compatibility before connecting
Test connections — Run executions to verify data flows correctly
Common connection patterns
Pattern 1: Linear connection
Pattern 2: Fan-out
Pattern 3: Fan-in
Pattern 4: Error handling
Pattern 5: Loop
Troubleshooting connections
Problem: Can’t connect two nodes
Possible causes:- Type mismatch between ports
- Schema incompatibility
- Would create invalid cycle
- Check output/input types (hover over ports)
- Add transformation node between them
- Ask Triton: “Why can’t I connect A to B?”
Problem: Connection exists but data doesn’t flow
Possible causes:- Condition on edge isn’t met
- Upstream node failed
- Field mapping incorrect
- Check execution trace
- Verify edge condition
- Review field mapping
Problem: Too many crossing edges
Solution:- Rearrange nodes to reduce crossings
- Use auto-layout: Right-click → Auto Layout
- Split into sub-Flows