Overview
This node performs a simple arithmetic addition of two numbers provided as inputs. It takes two numeric values, adds them together, and outputs the sum. This node is useful in scenarios where you need to combine or calculate totals from numeric data within an automation workflow, such as summing quantities, prices, or any other numerical metrics.
Example use cases:
- Adding two input values representing counts or amounts.
- Calculating the total score from two separate scores.
- Combining measurements or sensor readings.
Properties
| Name | Meaning |
|---|---|
| Number1 | The first number value to be added. |
| Number2 | The second number value to be added. |
Output
The output contains the original input JSON with an additional field:
sum: The result of addingNumber1andNumber2.
The output structure for each item looks like this:
{
"json": {
// original input fields,
"sum": <number1 + number2>
}
}
No binary data is produced by this node.
Dependencies
- No external services or API keys are required.
- This node operates purely on input data within the workflow.
Troubleshooting
- Common issue: If either
Number1orNumber2is not provided or is not a valid number, the node may throw an error. - Error handling: If the node is set to continue on failure, it will append an error object to the output for the failed item instead of stopping execution.
- Ensure that the input data items contain valid numeric values for both properties to avoid errors.