Skip to main content
Question

Loop only running once, including all data found instead of running multiple times

  • July 31, 2026
  • 3 replies
  • 22 views

LARPIT

This post has been edited by a moderator to remove personally identifiable information (PII). Please remember that this is a public forum and avoid sharing personal or potentially sensitive details.

I keep staring at this zap I made and I am stumped. I am probably missing something obvious. 

I set this up to run live over the weekend so these screen shots are based on a live run not a test run.

Is it possibly combining them because the email address is the same on the 2 test records?

Is the find Spreadsheet rows in the wrong spot?

What am I missing?
 


 

From the Gmail send configuration
The actual email I recieved

 

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • August 3, 2026

Hi ​@LARPIT 

Your GSheet step is returning nested arrays, so the nested arrays get flattened.

Post screenshots showing how your GSheet step is configured in these tabs: 

  • Setup
  • Configure

 

 


Forum|alt.badge.img
  • New
  • August 4, 2026

Nested arrays are probably the immediate cause. The clean test is to make the Google Sheets step return one flat line-item array per column, then map two same-length arrays into Create Loop From Line Items—for example, Row ID and Email—not the Raw Rows object. In the loop preview, iteration 1 should show one scalar Row ID and one scalar Email; if either field still shows the whole bracketed collection, the data is still nested before the loop. Keep Find Spreadsheet Rows outside the loop only if it creates the batch; any per-row lookup belongs inside. The identical email should not collapse iterations by itself, but use Row ID as the loop identity so downstream dedupe does not turn two rows into one.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • August 10, 2026

Hey ​@LARPIT 👋

I did some testing in a Zap and I think it might be nesting the search results like Troy mentioned due to the settings on the Google Sheets action. Not sure which Google Sheets action you’re using but when I tested a Lookup Spreadsheet Row action and set the If multiple search results are found field to Return all results as line items. Step run status is "success" I got a nested set of line items like the one pictured in your screenshot: 

1ae5d0256cbd927ba744dd87fad43138.png
2aaf0eb9013c44029163b3a8f3e60123.png

And when I changed the If multiple search results are found field to use the default Return first search result. Step run status is "success". (Default) option instead, it then output multiple rows of data as un-nested line items. For example:

9d245b984a09fb632f825bd37a670103.png

Can you try updating the Google Sheets action in your Zap to use Return first search result. Step run status is "success". (Default) option for the If multiple search results are found field instead? Then, in the Create Loop From Line Items action, you’ll need to reselect the fields from the Google Sheets action and retest it to check it generates the loops correctly.

Next, in the Gmail Send Email actions within the loop select the individual Looping fields and that don’t have the word “Preview” in the name. For example, you’d want to map the Task Name field not the Preview Loop Values Task Name field:
580bf120fd6d74997ce4890d0af9b69e.png
Let us know if that does the trick!