Skip to main content
Best answer

How do I get and then loop through all rows in a Google Sheet in Zapier?

  • December 21, 2024
  • 4 replies
  • 33 views

Forum|alt.badge.img

I have a list of invitees for an event in a Google Sheet. I want to loop through each row and send an email invite to each person (one on every row). I can’t figure out how to do this easily. I’m sure there is a way.

Thanks!

Best answer by ldruryBest answer by ldrury

It was very helpful. I ended up using a Files by Zapier solution and its working great. Thanks!

View original
Did this topic help you find an answer to your question?
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

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31058 replies
  • December 21, 2024

Hi ​@ldrury 

Give this a try…

 

Use Zapier Tables instead of GSheets: https://zapier.com/apps/zapier-tables/integrations#triggers-and-actions

You can import your GSheet to a Zapier Table.

Add a field to use as a control to trigger the automation. (e.g. Status)

Steps

  1. Trigger: Zapier Tables - Updated Record
    1. Select the field to watch for updates
  2. Action: Filter
    1. Check to make sure the Status, Email, and other fields exists that will be used in the email template
  3. Action: Gmail - Send Email
    1. Map variables from Zap step 1
  4. Action: Zapier Tables - Update Record
    1. Update the Status to Sent

 

You can bulk update the records to change a field value, thus triggering the Zap to run.

 

OR

 

Use Airtable instead of GSheets: https://zapier.com/apps/airtable/integrations#triggers-and-actions

You can import your GSheet to Airtable.

Airtable has native automations.

Airtable Automations have a native integration with Gmail.

You can add a checkbox field to trigger the automation to run for each record.

Help with Airtable Automations: https://support.airtable.com/docs/getting-started-with-airtable-automations


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2374 replies
  • December 23, 2024

Hi ​@ldrury,
 
We just wanted to see how everything is going with your Zap. Did Troy's recommendation get the job done? Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


Forum|alt.badge.img
  • Author
  • Beginner
  • 4 replies
  • Answer
  • December 23, 2024

It was very helpful. I ended up using a Files by Zapier solution and its working great. Thanks!


JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • 2374 replies
  • December 23, 2024

Wow! Thank you for confirming that Troy’s resolution got the Zap running. This will significantly help our Community members to have as a reference for the same issue.