Plus Node

Plus Node

Overview

The Plus Node is a simple arithmetic node designed to add two numbers together. It takes two numeric inputs and outputs their sum. This node is useful in workflows where basic mathematical addition is required, such as calculating totals, combining values from different sources, or performing incremental updates.

Practical examples:

  • Adding quantities of items to get a total count.
  • Summing two numeric fields from incoming data for further processing.
  • Combining scores or metrics before passing them downstream.

Properties

Name Meaning
Number 1 The first number to be added.
Number 2 The second number to be added.

Output

The node outputs an array of items where each item contains a json object with a new field:

  • sum: The result of adding "Number 1" and "Number 2" for the corresponding input item.

Example output JSON structure for one item:

{
  "sum": 15
}

No binary data is produced by this node.

Dependencies

  • No external services or API keys are required.
  • The node relies solely on the input data and configured properties.

Troubleshooting

  • Common issues:

    • Input data missing or not properly formatted may cause errors.
    • Non-numeric inputs for the number properties could lead to unexpected results or errors.
  • Error messages:

    • If an error occurs during execution, it will either continue processing subsequent items if "Continue On Fail" is enabled, attaching error details to the output, or it will throw an error stopping the workflow.
    • Errors typically relate to invalid input types or missing parameters.

Links and References

Discussion