Skip to main content
Best answer

How to store results from each loop in a line item

  • July 25, 2025
  • 4 replies
  • 27 views

Forum|alt.badge.img

I have created a table with issues and the risk level of each issue. And I intend to create a loop based on a line item, to find the risk level of each issue and store them in a new line item.

I tried to create a new line item before the loop and use “line itemizer (create/append/prepend)” to append the risk level I found in each loop in the line item. However, the result always shows only the last risk level instead of all risk levels in a line item.

Here is how my loop looks like:

And here is the configuration of step 8:

 

Best answer by DennisWF

Hey ​@Emma_YUN! What are you looping over in Step 5?

If you’re just trying to pull all the issues from your Zapier Table and store them in a Line Item Array, I don’t think you need a Loop step at all. You should just be able to just pull the relevant records from your Table, and set the “If multiple search results are found” parameter to “Return all results as line items”.

Let me know if that helps!

 

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

4 replies

DennisWF
Forum|alt.badge.img+5
  • Zapier Solution Partner
  • 153 replies
  • Answer
  • July 25, 2025

Hey ​@Emma_YUN! What are you looping over in Step 5?

If you’re just trying to pull all the issues from your Zapier Table and store them in a Line Item Array, I don’t think you need a Loop step at all. You should just be able to just pull the relevant records from your Table, and set the “If multiple search results are found” parameter to “Return all results as line items”.

Let me know if that helps!

 


Forum|alt.badge.img
  • Author
  • Beginner
  • 3 replies
  • July 25, 2025

Hey ​@Emma_YUN! What are you looping over in Step 5?

If you’re just trying to pull all the issues from your Zapier Table and store them in a Line Item Array, I don’t think you need a Loop step at all. You should just be able to just pull the relevant records from your Table, and set the “If multiple search results are found” parameter to “Return all results as line items”.

Let me know if that helps!

 

Thank you so much Dennis! This perfectly solve my problem! I input all the issues as a line item and get all risk levels in another line item.


DennisWF
Forum|alt.badge.img+5
  • Zapier Solution Partner
  • 153 replies
  • July 25, 2025

Glad that helped, ​@Emma_YUN!


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6780 replies
  • July 28, 2025

That’s awesome ​@Emma_YUN! A huge thanks to ​@DennisWF for lending a hand here!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗