LogoLogo
  • 👋Welcome to Arcee AI Docs
  • Arcee Orchestra
    • Introduction to Arcee Orchestra
    • Getting Started
    • Workflows
      • Workflow Components
        • Model Node
        • Code Node
        • Integrations
        • Knowledge Retrieval
        • Conditional Node
      • Passing Variables
      • API Invocation
        • List Available Workflows API
        • Workflow Execution API
        • Workflow Execution Steps API
        • Execution History API
        • Workflow Diagram API
        • API Code Examples
        • Upload Workflow JSON API
        • Workflow Runs API
    • Workflow Library
      • Research Automation
      • Real Time Financial Analysis
      • Blog Writer
      • Code Improvement
      • Energy Domain Assistant
    • Chat Interface
    • FAQ
  • ARCEE CONDUCTOR
    • Introduction to Arcee Conductor
    • Getting Started
    • Features & Functionality
      • Auto Mode
      • Auto Reasoning Mode
      • Auto Tools Mode
      • Compare
      • Direct Model Invocation
      • Usage
      • API
    • Arcee Small Language Models
      • Model Selection
      • Model Performance
    • Pricing
Powered by GitBook
On this page
  1. Arcee Orchestra
  2. Workflows
  3. Workflow Components

Conditional Node

PreviousKnowledge RetrievalNextPassing Variables

Last updated 1 month ago

The conditional node enables dynamic decision-making and branching logic within workflows. It allows workflows to evaluate specific conditions or rules and execute different paths based on the outcome.

In the risk analysis example above, the workflow input is passed to a senior analyst model. Based on the determined risk and reward, different actions are taken. If the risk is low enough, a draft proposal is be generated. If the risk is too high, more analysis can be run. If the risk to reward ratio is in the middle, more research can be done with integrations. If the ratio falls outside expected boundaries, company policies can be searched to determine the right course of action.

Setting Up Conditionals

Each condition has a name and the set of criteria which define it. You specify a variable from an earlier step in the workflow, the condition, and the value to compare it against. Values can be strings or integers/floats depending on which condition is selected. For a single condition, you can specify multiple criteria using and or or .

Once the conditions have been defined, the action which occurs for each condition can be specified within the conditional node, by setting Then: or you can drag a connection line to your next node.

Supported Operators

  • == checks if the selected variable is equal to the provided value

  • != checks if the selected variable is not equal to the provided value

  • > checks if the selected variable is greater than the provided value

  • < checks if the selected variable is less than the provided value

  • >= checks if the selected variable is greater than or equal to the provided value

  • <= checks if the selected variable is less than or equal to the provided value

  • in checks if the selected variable contains the provided value/text

  • not in checks if the selected variable does not contains the provided value/text

Conditional Node Workflow
Condition
Page cover image