Save and retrieve data from Zaps – Zapier

Storage: Setting and Receiving Values

Storage is a tool that allows you to create a data store to save and retrieve data from different Zap runs or Zaps. 

Using this tool doesn't count towards your [task usage](https://help.zapier.com/hc/en-us/articles/8496196837261).

## Limitations

*   Storage keys: up to 32 characters, up to 500 keys per Storage account.
*   Storage values: up to 25 kilobytes.
*   Storage will delete keys after 2 months of inactivity.
*   Secrets: up to 36 characters.
*   For more info, see the [Storage REST API](https://store.zapier.com/).

![ratingStar icon](https://cdn.zapier.com/storage/photos/8843673cace5f7b922c65168a85d657e.png) Tip

If you need additional or long-term storage, you can use a [spreadsheet app](https://zapier.com/apps/categories/spreadsheets) or [database app](https://zapier.com/apps/categories/databases) to save and retrieve data from your Zaps.

## 1\. Add a Storage step

*   In the Zap editor, click the **Action** step, or click the **plus + icon** to add an action to your Zap.
*   Search for and select **Storage by Zapier**.
*   Click the **Event** dropdown menu and select the storage **action** that you want your Zap to perform.
*   Click **Continue**.

## 2\. Set up a Storage account

Your store is identified and protected by the store secret that you enter when you create a Storage account. This is analogous to both a username and a password for your Storage account.

*   In the _Choose account_ section, click **Sign in to Storage by Zapier**.
*   In the dialog box, enter a value in the **Store Secret** field.
*   Click **Yes, Continue**.

![miscEye icon](https://cdn.zapier.com/storage/photos/335619ab6472fe1fefab18d493cb39bf.png) Note

*   Store secrets must use UUID formatting. You can use the [Online UUID Generator Tool](https://www.uuidgenerator.net/version4) to generate your store secret.
*   Storage actions that use the same store secret will use the same store to store and retrieve data.

## 3\. Set a value in your store

To set a value in your store:

*   In the _Choose app & event_ section, click the **Event** dropdown menu and select **Set Value**.
*   In the _Set up action_ section:
    *   Enter the **Key** that you want to use to identify your stored values.
    *   Enter the **Value** to store. If this field is blank, the Zap will remove this key from your store.
*   Click **Continue**.

![actionEdit icon](https://cdn.zapier.com/storage/photos/649a3c82786155ec1f844e1e870a74bf.png) Example

If you want to store your team’s Slack IDs, you can set the person’s name as the **Key** and their Slack ID as the **Value**.

![Example of Set Value action](https://cdn.zappy.app/31e459b23f8bca1e83b3686b5d3b179b.png)

## 4\. Retrieve a value from your store

To retrieve a value from your store:

*   In the _Choose app & event_ section, click the **Event** dropdown menu and select **Get Value**.
*   In the _Set up action_ section:
    *   Enter the **Key** that you want to get a value from.
    *   Click the **Should This Step Be Considered A “success” When Nothing Is Found?** dropdown menu to choose how the Zap should proceed if no record was found during the [search](https://help.zapier.com/hc/en-us/articles/8496241402253#add-your-search-criteria).
*   (Optional) Select the **Create Storage by Zapier Value if it doesn’t exist yet?** checkbox if you want to create a new value in your store if no value is found. Additional fields will appear for you to enter a value.
*   Click **Continue**.

## 5\. Advanced storage operations

There are a number of advanced storage operations for your Zaps:

*   **Get & Set a Child Value:** store and retrieve a value based on a key and a child key.
*   **Remove Value & Child Value:** independent actions to delete values.
*   **Set Value If:** only set a value if the current value matches a previous value.
*   **Increment Value:** store a number in a value and increment (or decrement) that number each time the Zap runs by a specified amount.
*   **Push Value onto List:** add multiple values to a key in a list.
*   **Pop Value from List:** remove a value from a list.
*   **Get List Values:** return and format a list of values as a single piece of text based on a format.
*   **Get Secret:** get your store secret to use in a Code step with a StoreClient.

Check out [examples of how to use Storage by Zapier](https://help.zapier.com/hc/en-us/articles/8496197365389) for more inspiration.