1. Docs
  2. Formulas
  3. Functions

SUM

Sums the elements in an array of numbers.

Categories: Arrays, Numbers

Syntax

SUM(array)

Examples

Example 1

Input

1
{
2
"my_action": {
3
"message": [
4
1,
5
2,
6
3,
7
4
8
]
9
}
10
}

Formula

SUM(my_action.message)

Output

10

Sample actions

Event Transform
My Action
Event Transform
SUM

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?