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

Passing Variables

PreviousConditional NodeNextAPI Invocation

Last updated 2 months ago

Before going into each workflow component/node, it's important to understand how variables are passed between nodes.

Each node will output a JSON object. To reference specific output from a previous node, you can use dot notation.

Take the following example where we define an email subject in a code node and want to reference it in the built-in Gmail: Send Email Integration.

The code node outputs:

"email_subject": {
    "successfull": true,
    "data": {
      "results": "Email from Orchestra",
      "stdout": "",
      "stderr": "",
      "error": "",
      "sandbox_id": "sandbox-5a47"
    },
    "error": null
  }

In the Gmail integration node, we can set the Subject variable to be

{{email_subject.data.results}}

This sets "Email from Orchestra" to be the Subject of the email.

For examples of how to pass variables between nodes, see the workflow examples in the .

workflow library
Page cover image