Skip to content
Glacis Help Center home
InboxAsk a human

Calculator

The Calculator node performs basic arithmetic operations within a workflow — no AI needed.

Simple Calculation (Action)

Performs addition, subtraction, multiplication, or division on values from previous steps.

When to use it:

  • Calculating order totals from unit prices and quantities

  • Computing variance between expected and actual values

  • Converting currencies or units

  • Checking thresholds before routing (e.g., "is the total above $10,000?")

Example: Calculate the total for an extracted line item:

{{AI_EXTR.output.quantity}} × {{AI_EXTR.output.unit_price}}

Then use a Condition node to check whether the result exceeds a threshold.

Use Calculator for simple math that you want to be deterministic. Don't use AI nodes for arithmetic — AI can hallucinate numbers, but a calculator can't.


Need help?

If you have questions or run into issues, we're here to help: