Save and retrieve data from Zaps

Available on plans:

Free

Pro

Team

Enterprise

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.

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.
ratingStar icon Tip

If you need additional or long-term storage, you can use a spreadsheet app or database app 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 Account tab, click Sign in to Storage by Zapier.
  • In the dialog box, enter a value in the Store Secret field.
  • Click Yes, Continue.
miscEye icon Note
  • Store secrets must use UUID formatting. You can use the Online UUID Generator Tool 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 App & event tab, click the Event dropdown menu and select Set Value.
  • In the Action tab:
    • 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 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

4. Retrieve a value from your store

To retrieve a value from your store:

  • In the App & event tab, click the Event dropdown menu and select Get Value.
  • In the Action tab:
    • 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.
  • (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 for more inspiration.

Was this article helpful?
5 out of 14 found this helpful