Skip to content

Conditional Edges (LLM Logic)

Agents can capture variables that summarize outcomes (e.g., status or category). You can reference these as decision variables to control which edge to traverse.

  1. Capture decision variables In the agent’s Variables tab, add Capture Variables the agent will produce (e.g., status).

  2. Select decision variables In the Decision tab, pick variables that drive branching.

  3. Label edges Label edges with descriptive outcomes (e.g., “approved”, “needs_review”).