SUM

Sums the elements in an array of numbers.

Syntax 

SUM(array)

Examples 

Example 1

Input

{
  "my_action": {
    "message": [
      1,
      2,
      3,
      4
    ]
  }
}

Formula

SUM(my_action.message)

Output

10
Was this helpful?