Skip to main content
Question

My CSV's header row is on row 2. What can I do?

  • January 28, 2022
  • 3 replies
  • 350 views

Forum|alt.badge.img+1

Like the title says, I’ve got a CSV that comes to Zapier with two top rows. Looks like this:

  1. Some text
  2. The actual header row, col2, col3, etc.
  3. Value 1, Value 2, Value 3, etc.

BTW – this file lives in an SFTP directory. No Google Sheets or Excel. Just a CSV.

Is there a way to indicate that the actual header row starts with row 2? Any other ideas for a solution? Much appreciated Zapier friends.

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.

3 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @ericg 

How are you trying to use the CSV in a Zap?

Perhaps post screenshots with how your Zap steps are configured.


Forum|alt.badge.img+1
  • Author
  • Tinkerer
  • 27 replies
  • January 28, 2022

I’ll be looping over each row below row 2 (the real header). So something like this:

 

Get CSV

:point_down:

Loop over rows (each column needs to be output separately)

:point_down:

Send an email using (address from column 1, name from column 2)

 

Here’s a screenshot of my Utilities output where I’ve imported the CSV. I’m thinking the fact that row 1 isn’t a header (there’s only text in the first column) and that the actual header is in row 2 is causing the issue.


Troy Tessalone
Forum|alt.badge.img+14

@ericg 

Likely a Code step needs to be used to remove the first row: https://zapier.com/apps/code/help