Overview
Thereaction_to_connector_strategy prompt guides AI agents through converting Figma prototype reactions (interactions) into visual connector lines using FigJam-style connectors. This creates a visual representation of prototype flows directly on the canvas.
When to Use
Use this prompt when:- Visualizing prototype interaction flows
- Creating flow diagrams from prototypes
- Documenting navigation paths
- Generating user journey maps from prototypes
- Converting interaction logic to visual diagrams
Process Overview
Step 1: Preparation & Context Gathering
Get node context and set up default connector:- A FigJam connector pasted onto the Figma page
- The connector can be styled however you want (color, thickness, arrow style)
- Once set, this connector style will be used for all generated connections
Step 2: Get Reactions Data
Retrieve prototype reactions:Step 3: Filter Valid Reactions
Keep only reactions that create connections:CHANGE_TO- State changes within componentCLOSE_OVERLAY- Closes overlays without navigationBACK- Goes to previous screenSET_VARIABLE- Variable manipulation
Step 4: Generate Connector Labels
Create descriptive labels for each connection:- “On click, navigate to Home Screen”
- “On hover, open overlay Settings Panel”
- “After delay, navigate to Next Page”
Step 5: Prepare Connections Array
Format data for the create_connections tool:Step 6: Execute Connection Creation
Create the connector lines:Complete Example
Setup Instructions
Creating the Default Connector
- Open FigJam (File → New FigJam file or use existing)
- Create a connector with your desired style:
- Color
- Thickness
- Arrow style
- Line style (solid, dashed, etc.)
- Copy the connector (Cmd/Ctrl + C)
- Return to Figma design file
- Paste the connector (Cmd/Ctrl + V) onto the page
- Select the pasted connector
- Set as default:
Updating the Default Connector
To change the connector style:- Copy a different styled connector from FigJam
- Paste it onto the Figma page
- Select it
- Call
set_default_connector()again
Common Patterns
Navigation Flow
Overlay Flow
Hover Interaction
Error Handling
No Default Connector
Missing Destination Nodes
No Reactions Found
Related Prompts
- Design Strategy - For creating prototypes
- Read Design Strategy - For analyzing prototypes