Overview
Figma’s prototype feature uses “reactions” to define interactions and navigation flows. The Talk to Figma MCP provides tools to extract these reactions and visualize them as connector lines, making prototype flows more visible and easier to document.Available Tools
get_reactions- Extract prototype reactions from nodesset_default_connector- Set connector style for visualizationcreate_connections- Create visual connector lines
Prototype Visualization Workflow
The process of visualizing prototype flows involves:- Preparation and context gathering
- Extract reactions from prototype nodes
- Set default connector style
- Transform reactions to connection objects
- Create visual connector lines
- Verify and document
Step 1: Preparation
Understand Your Prototype
Before extracting reactions, gather context:Identify Prototype Nodes
Prototype reactions are typically attached to:- Interactive components (buttons, links)
- Screen frames (for auto-advance)
- Hotspot layers
- Component instances with interactions
Not all nodes have reactions. Focus on interactive elements and navigation triggers.
Step 2: Extract Reactions
Get Reactions from Nodes
Useget_reactions to extract all prototype interactions:
Understanding Reaction Data
The response contains nodes with their reactions:Common Reaction Types
Trigger Types
ON_CLICK- Click/tap interactionON_HOVER- Mouse hoverON_PRESS- Touch pressON_DRAG- Drag interactionMOUSE_ENTER- Mouse enters boundsMOUSE_LEAVE- Mouse leaves boundsMOUSE_UP- Mouse button releaseMOUSE_DOWN- Mouse button pressAFTER_TIMEOUT- Auto-advance after delay
Action Types
Navigation Actions (create connectors):NAVIGATE- Navigate to another screenOPEN_OVERLAY- Open overlay on topSWAP_OVERLAY- Swap current overlaySCROLL_TO- Scroll to target node
CHANGE_TO- Change component stateCLOSE_OVERLAY- Close current overlayBACK- Navigate backSET_VARIABLE- Set variable value
Step 3: Set Default Connector
Check for Existing Connector
First, verify if a default connector is already set:Setting Up Connector Style
If no default connector exists, you need to manually set one:- In FigJam: Create and style a connector line
- Copy the connector (Cmd/Ctrl + C)
- Switch to Figma: Paste onto your design page
- Select the pasted connector
- Run:
set_default_connectorwith the selected node
Why FigJam Connectors?
FigJam connectors provide:- Visual line styling options
- Arrow styles and directions
- Color customization
- Text label support
- Consistent appearance across connections
Step 4: Transform Reactions to Connections
Filter Valid Reactions
Keep only reactions that should become connectors:Generate Descriptive Labels
Create meaningful text labels for each connection:Enhanced Label Generation
For more detailed labels, include destination names:Prepare Connections Array
Create the final array forcreate_connections:
Step 5: Create Visual Connectors
Execute Connection Creation
With connections prepared and default connector set:Connectors are created as visual representations on the canvas. They don’t modify the actual prototype reactions.
Batch Processing
For large prototype flows, process in batches:Step 6: Verify and Document
Visual Verification
After creating connectors:- Review connector placement in Figma
- Verify labels are readable and accurate
- Check connector routing between nodes
- Adjust positioning if needed
Export Flow Diagram
Complete Workflow Example
Full Implementation
Advanced Use Cases
Filter by Trigger Type
Create connectors only for specific interaction types:Group by Flow
Organize connectors by user journey:Color-Code by Action Type
Whilecreate_connections uses the default connector style, you can prepare documentation showing different action types:
Best Practices
Connector Organization
- Create connectors on a separate page/frame for clarity
- Use consistent labeling conventions
- Group related flows together
- Keep connector density manageable (< 20 per frame)
Label Guidelines
- Be concise but descriptive
- Include trigger and action type
- Mention destination when relevant
- Use consistent formatting
Performance
- Process large prototypes in batches
- Filter unnecessary reactions before creating connectors
- Reuse connector style across projects
- Clean up old connectors before regenerating
Documentation
- Export flow diagrams for stakeholders
- Document connector color meanings if using multiple styles
- Maintain legend for action type conventions
- Update connectors when prototype changes
Troubleshooting
No Reactions Found
- Verify nodes have prototype interactions set
- Check you’re scanning the correct frame/nodes
- Ensure prototype mode is properly configured in Figma
Cannot Create Connections
Error: No default connector set- Must copy connector from FigJam first
- Paste connector onto current page
- Select and run
set_default_connector
Connectors Not Appearing
- Verify WebSocket connection is active
- Check source and destination node IDs are valid
- Ensure nodes haven’t been deleted
- Verify you’re viewing the correct page
Wrong Connector Positions
- Node positions may have changed
- Connector routing is automatic
- Consider manually adjusting in Figma after creation
Prototype Flow Checklist
- Identify interactive prototype nodes
- Use
get_reactionsto extract interactions - Check/set default connector with
set_default_connector - Filter reactions for valid navigation actions
- Generate descriptive connector labels
- Prepare connections array with startNodeId, endNodeId, text
- Create connectors with
create_connections - Verify visual representation
- Export flow diagram for documentation
- Update when prototype changes
Integration with Design Workflow
Design Review
Use prototype connectors during reviews to:- Visualize user journeys
- Identify missing interactions
- Document navigation patterns
- Communicate flows to stakeholders
Developer Handoff
Connector diagrams help developers understand:- Navigation logic
- Interaction triggers
- Screen relationships
- User flow sequences
Documentation
Include flow diagrams in:- Design specifications
- User flow documentation
- Product requirements
- Technical documentation