Help

Save data between Zaps

tutorial
Last updated:

Storage: Setting and Receiving Values

Storage by Zapier allows you to quickly store and retrieve small values of data. With Storage, you will be able to reference data between Zap runs or share data between different Zaps. This article walks through how to set up storage, set values, and retrieve values.

Tip

Storage keys can be no longer than 32 characters, and Storage values can be no larger than 25000 bytes. If you need to be able to store more than this, they'll need to look into using a proper external SQL app.


1. Add a Storage step

To add a Storage step to your Zap in the editor:

  • Click the + icon to add an action step.
  • Search for and select Storage by Zapier
  • Select the type of action you want to do for the Action Event, such as setting or reading a value.

A storage step


2. Set up a Storage account

There are no user accounts for Storage. All data stored in Storage is identified and grouped by a Secret Key. This key is 1 to 32 characters in length. You can think of it as a "password" for your Storage data:

Popup to setup your Storage Secret


3. Set a value in your storage

In order to set a value in your Storage:

  • Set Key as a way to identify your stored values
  • Set Value as that value you wish to store. If left blank, this will remove this key from your store.
Example

Say you wanted to store your team details in your Storage, you would set the Key as the person’s name and the Value as the information you wanted to store their slack handle against their name.

Example as to how to set Storage up

Note
  • Secrets and keys can only be 32 characters in length.
  • Only 500 keys can be stored in one account. If your Storage account hits this limit, you will see an error in your Task History.
  • A value can be anything less than 25,000 characters in length.

4. Retrieve a value in your storage

In order to later get a value you set in Storage:

  • Select Get Value as your Action Event
  • Click Continue
  • Select your Storage account, this will be what you created in Step 2.
  • Click Continue
  • For the Key use this to identify the value that would have set up from a “Set Value” step.
  • You also have the ability to Create a Value if it’s doesn’t exist in your storage. Tick the Create Storage by Zapier Value if it doesn’t exist yet? and then map out the Value with the data you wish to store under that Key. Similar to the step up in Step 3.

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 operations 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 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 Storage Secret to use in a Code step with a StoreClient.

Learn more about examples of how to use Storage by Zapier for some common tasks.


Was this doc helpful?

Need More Help?

Zapier Support

Contact our world class support team and we’ll be happy to help you get up and running!
Contact Us

Hire an Expert

We have a directory of professionals across the globe who are ready to help.
Find a Zapier Expert