***

title: addActions
slug: /reference/typescript/agents/function-result/add-actions
description: Append multiple raw actions to the FunctionResult action list.
max-toc-depth: 3
---------------------

For a complete index of all SignalWire documentation pages, fetch https://signalwire.com/docs/llms.txt

[functionresult]: /docs/server-sdks/reference/typescript/agents/function-result

Append multiple raw actions at once. Each action object is added to the
action list in order.

## **Parameters**

<ParamField path="actions" type={"Record<string, unknown>[]"} required={true} toc={true}>
  Array of action objects to append. Each object should map a single
  action name to its payload.
</ParamField>

## **Returns**

[`FunctionResult`][functionresult] -- `this`, for chaining.

## **Example**

```typescript {4}
import { FunctionResult } from '@signalwire/sdk';

const result = new FunctionResult('Processing your request.')
  .addActions([
    { set_global_data: { status: 'active' } },
    { hold: 60 },
  ]);
```