Best answer

Working with Salesforce line items - find multiple records

  • 4 August 2021
  • 3 replies


The likely solution here is you’d need to have a lookup table with Google Sheets to handle multiple line items.

@steph.n How would I create a google sheet containing the Salesforce line items? Each line item is it’s own record in Salesforce. Also, how would a lookup table be used in this case? I see it being used as a reference tool in the link.


Best answer by SamB 10 August 2021, 18:16

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +12

Hi @reemakiki!


You can use the Google Sheets action Create Spreadsheet Row(s) to create a row in a Google Sheet for each line item that you have from a previous step. Does that help to get you started in the right direction? If not could you let us know what you’re trying to do with the Zap and any steps you have set up so far? Thanks!

Hi @Danvers !


I am trying to do that, when I try the “Find Record” or “Find Record(s)” action for Salesforce, Zapier only retrieves the first record found. I am trying to find a way to retrieve all of the Order Products within an Order record.

Example: Zap step “Find Record” only retrieves Product “1000045092”

Is there a loop through and export all of them into a Google Sheet? My thought is that I could then use this sheet to create line items in Quickbooks.

I am convinced that there is a workaround for this as there are so many possible use cases:  Find all contacts within an account, find all line items from a quote or opportunity, etc.. Would appreciate your insight!

Userlevel 7
Badge +11

Hey @reemakiki

The Salesforce Find Record(s) search action allows you to perform multiple searches, but will only return the first result of each search, unfortunately.
It looks as though you’ve already reached out to our Support team about this and they’ve added you to an existing feature request to have multiple search results returned. While I don’t have an ETA on when that functionality would be added we will be sure to email you as soon as it is! 

The only workaround I can think of in the meantime, would be to try using a Webhooks by Zapier step to search Salesforce for all the products in an order. Alternatively, you could try building your own private integration with Salesforce using the Zapier developer platform. Both of those options are a bit more advanced though so may not be ideal.