Help

Search for existing data in Zaps

Last updated:

If you want to have your Zap update a different record in an app every time it runs, you'll first need to use a search step to find that record. Search steps are a way to find existing data in your apps that later actions in your Zap can reference and use.

Before you begin, you’ll need to set up your Zap trigger.

Example

For example, you might want to set up a Zap so that every time you receive a new Google Forms submission, it adds a comment to a different Trello card depending on how the form was filled out. In order to update an existing Trello card, a search step must be used to first find that card based on some criteria.


1. Add a search action

  • In the Zap editor, click the + icon to add a new step.
  • Search for and select the app you want to search for data in.
  • Click the Choose Action Event dropdown menu, If your app has any available search actions, they'll appear in a Search section. Select the search action you want to use.

Find Trello card

  • Click Continue.
Note

Some apps have search steps within actions. If you click the Custom tab, then click Add a search step, it will automatically create a new search step.

Trello update card search step


2. Choose your app account

  • In the Choose Account section, click the dropdown menu and select the specific app account you want to search for data in.
  • Click Continue.

3. Set your search criteria

Next, set your search criteria. Different apps have different options available on this screen.

If you want to search based on a value from an earlier step (e.g., your trigger), click the dropdown menu and select the value. If not, you can enter a search string into the field.

Find Trello card

Optional: Create a new record if the search doesn’t find anything

Some search actions let you create a new record if the search doesn’t find anything.

  • Select the Create [item] if it doesn't exist yet? checkbox.
  • Fill in the fields with the values you want to use for the new record.
  • Click Continue.

4. Test your search step

  • Click Test & Continue.
  • If a matching record is found, the test is successful, and you can view the data for the record found.
  • If there wasn't a record that matched your search criteria, you can choose to either skip the test, or create a record that would match the search term you used and test the search step again.

If the Zap doesn't find the data you're looking for in your search step, and you didn't select the checkbox for Zapier to create the data, the Zap will not proceed to the next step. If the data you're looking for is found, or the data wasn't found but you selected the checkbox for Zapier to create the data, the Zap will move onto the next step.

After setting up your search step, you can insert the data into a later action step, or set up an action step to update the data found by using custom values.


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