Help

Save and retrieve data from Zaps

Last updated:
Storage: Setting and Receiving Values

Storage: Setting and Receiving Values

You can use Storage by Zapier to create a data store to save and retrieve data from different Zap runs or Zaps.

Limitations

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 Action 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.
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 Choose app & event section, click the Action 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.
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 Choose app & event section, click the Action 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.
  • (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.

Need More Help?

Contact Support

Tell us about your problem, and we’ll find you a solution or you can email support.
Get Help

Hire an Expert

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

Zapier Community

Connect with other Zapier users and industry professionals to get help crafting the perfect workflow.
Check out the community