Docs
NodesProcessing Nodes
Edit Page on GitHub

Math Operation

Performs a mathematical operation on two numbers - addition, subtraction, multiplication, or division.

mathoperationcalculateEasy0
Math Operation Node Screenshot

Description

The Math Operation node performs basic arithmetic operations (addition, subtraction, multiplication, division) on two numerical inputs. This allows your agent to perform calculations as part of its workflow.

Common Use Cases

  • Calculating totals or averages
  • Performing conversions between units
  • Computing derived values from input data
  • Implementing business logic that requires numerical calculations

Inputs

The input connections this node accepts:

NameDescriptionTypeFlowThe flow of the workflowFlowNumber 1First numberNumberNumber 2Second numberNumber

Outputs

The output connections this node provides:

NameDescriptionTypeResultThe result of the operationNumberToolThe tool version of this node, to be used by LLMsTool

Fields

The configurable fields this node provides:

NameDescriptionTypeNumber 1First numberValue: 0NumberOperationOperationValue: +Options: + - * /selectNumber 2Second numberValue: 0Number

Last updated on