Actions12
Push to Array
AI-generatedSummary
Pushes a value to the end of an array stored in ephemeral session data at a specified key and scope.
Inputs
- Scope — The data storage scope: execution (current run only), workflow (shared across executions), or global (all workflows). Data is ephemeral and lost on restart.
- Key (required) — The dot-notation key of the target array to which the value will be appended.
- Value Type (required) — The data type of the value to push: string, number, boolean, array, or object.
- Value (required) — The value to append to the array, corresponding to the selected type.
Output shape
A single JSON object per input item.
Returns a JSON object indicating success, the targeted key, the new length of the array, and the operation performed. Throws an error if the key does not point to an array.