Save Named Table
Persists an in-memory table back to the platform as a Named Table.
Category: Named Tables & Rules Engine · Group: Tables · Activity name: SaveNamedTable

Example
outputVariable = SaveNamedTable("<tableName>", createNew=False, mode="upsert")
Inputs
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Table Name | string | Yes | The name of the in-memory table to save. | |
| Create New | boolean | False | If true, creates a new persistent table. If false, updates the existing one. | |
| Write Mode | string | upsert | How rows are written to the persisted table. 'upsert' (default) writes rows by their key — same-key rows merge. 'replace' deletes all existing rows before writing the batch. Tables without an explicit key get a system-managed _id (UUID per row) so every save is a distinct row. One of: upsert, replace. |
Outputs
| Name | Type | Description |
|---|---|---|
| outputVariable | json | Stores save result (tableName, rows, saved). |