> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Storage connector

- Connector: `appmixer.utils.storage`
- Version: 2.0.4
- Components: 13 (3 triggers, 10 actions)

Storage utilities give you permanent storage options that allow you to adjust your business logic to your needs.

- Connector page: <https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4>
- Documentation: <https://docs.appmixer.com/connector-configuration/utils/storage>
- Source code: <https://github.com/clientIO/appmixer-connectors/tree/dev/src/appmixer/utils/storage>
- Download package: <https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/download>

## Authentication

**Type:** Other

## Triggers (3)

- [On Item Added](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.OnItemAdded.md) (`appmixer.utils.storage.OnItemAdded`): This trigger fires any time item is added to storage.
- [On Item Removed](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.OnItemRemoved.md) (`appmixer.utils.storage.OnItemRemoved`): This trigger fires any time item is removed from storage.
- [On Item Updated](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.OnItemUpdated.md) (`appmixer.utils.storage.OnItemUpdated`): This trigger fires any time item has changed.

## Actions (10)

- [Create Store](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.CreateStore.md) (`appmixer.utils.storage.CreateStore`): Create a new storage.
- [Clear](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Clear.md) (`appmixer.utils.storage.Clear`): Clear Storage.
- [Find](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Find.md) (`appmixer.utils.storage.Find`): Find values in Storage.
- [Get](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Get.md) (`appmixer.utils.storage.Get`): Get value from Storage.
- [Get Many](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.GetMany.md) (`appmixer.utils.storage.GetMany`): Get multiple values from Storage.
- [Modify](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Modify.md) (`appmixer.utils.storage.Modify`): Modify a value in Storage using an operator.
- [Remove](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Remove.md) (`appmixer.utils.storage.Remove`): Remove value from Storage.
- [Save To File](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.SaveToFile.md) (`appmixer.utils.storage.SaveToFile`): Store the entire data store to a file.
- [Set](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.Set.md) (`appmixer.utils.storage.Set`): Set value to Storage.
- [Set Many](https://connectors.appmixer.com/connector/appmixer.utils.storage/2.0.4/component/appmixer.utils.storage.SetMany.md) (`appmixer.utils.storage.SetMany`): Set multiple key-value pairs to Storage.

## Changelog

### 2.0.4

- GetMany: await context.sendJson so the output is sent before receive() resolves.

### 2.0.3

- Create Store and List Stores: the store id of an existing store is sent as a string. It came out of the engine as an ObjectId and left the component as a Buffer, so a component fed with it (e.g. an AI Agent's Memory Data Store) rejected it as an invalid store id.

### 2.0.2

- Output examples for all storage components. ListStores: the name and store id options had label and path swapped and now read [0].name / [0].storeId.

### 2.0.1

- Fixed SaveToFile component json2csv dependency imports to use v6+ scoped packages.
- Fixed 'Transform is not a constructor' error when flattenValue is false and fileType is csv.

### 2.0.0

- Breaking change: Improved the input options for components.
- Breaking change: Set component now supports setting multiple key-value pairs at the same time.
- New action: Create Store.
- New action: Modify.
- New action: Get Many.
- New action: Set Many.

### 1.1.2

- SaveToFile compatible with Node 18.

### 1.1.1

- SaveToFile flattening to CSV improved.

### 1.1.0

- SaveToFile component added.

### 1.0.0

- Initial version
