CSV To Dataset ID For Connector OS avatar

CSV To Dataset ID For Connector OS

Under maintenance

Pricing

Pay per usage

Go to Apify Store
CSV To Dataset ID For Connector OS

CSV To Dataset ID For Connector OS

Under maintenance

SalesNav export, Apollo pull, conference list from a VA, CRM dump, literally any spreadsheet → paste CSV → get Dataset ID.

Pricing

Pay per usage

Rating

5.0

(3)

Developer

Saad Belcaid

Saad Belcaid

Maintained by Community

Actor stats

6

Bookmarked

75

Total users

31

Monthly active users

10 days ago

Last modified

Share

Turn any CSV into an Apify Dataset ID — the universal input format for Connector OS Station.

If it's in a spreadsheet, it's in the pipeline. SalesNav exports, Apollo pulls, conference attendee lists, CRM dumps, spreadsheets from a VA — all become a dataset ID in seconds.


How to use it

This actor takes exactly one input. Fill in either the CSV Content field or the CSV URL field — not both. If both are filled, CSV Content wins and the URL is ignored.

Option 1 — Paste CSV text (CSV Content field)

Use this when you have the CSV in your clipboard.

  • Open the CSV in a text editor, select all, copy, paste into the "CSV Content" textarea.
  • The first row must be the column headers. Remaining rows are data.
  • Works with any delimiter (comma, semicolon, tab, pipe) — auto-detected.
  • Handles multi-line quoted cells, embedded commas, BOM.

Do not paste a URL into this field. The actor will detect it and fail with a clear error asking you to use the URL field instead.

Use this for CSVs hosted online or in Google Sheets.

  • Direct .csv URL: paste it as-is.
  • Google Sheets: paste the share link. The sheet must be shared as "Anyone with the link" (viewer access). If sharing is restricted, Google returns a login page and the actor fails with Got HTML instead of CSV.
  • Only the first tab of a Google Sheet is exported unless the URL contains gid=<tab id>. Put your lead data on the first tab, or copy the URL from your browser while viewing the right tab (it contains #gid=...).

What comes out

Every row in the CSV becomes one item in the resulting Apify dataset. Columns are auto-detected from the header row. No filtering, no deduplication, no enrichment — pure pass-through.

  • Dataset row count = CSV row count (minus the header row and empty lines).
  • Plug the dataset ID straight into Connector OS Station.

Troubleshooting

The actor fails hard (does not create a half-full dataset) when anything at the input or output boundary is wrong. Every error message names the field and what to fix.

SymptomLikely causeFix
Run fails: It looks like you pasted a URL into the "CSV Content" fieldURL pasted into the wrong fieldPut the URL in the "CSV URL" field, leave "CSV Content" empty
Run fails: The "CSV Content" field contains only whitespaceTextarea has only spaces, tabs, or blank linesPaste real CSV text, or switch to the "CSV URL" field
Run fails: The "CSV URL" field must be a full http(s) URLMissing scheme (e.g., docs.google.com/... instead of https://docs.google.com/...)Include https:// at the start of the URL
Run fails: Got HTML instead of CSV. If Google Sheets, make sure the sheet is shared...Google Sheet is restricted or requires loginShare → General access → "Anyone with the link" (Viewer)
Run fails: Failed to fetch CSV: HTTP 4xx/5xxURL is wrong, private, or the host is downOpen the URL in a private browser window; if you cannot access it anonymously, neither can the actor
Run fails: Fetched URL returned an empty bodyLink resolves but the server sent nothingTry the link in a browser; confirm it downloads a non-empty file
Run fails: CSV parsed but contains no data rowsContent has a header row only (no data), or the file is empty after parsingPaste the full CSV including data rows; for Google Sheets, confirm the exported tab has data on it
Log warning: only 1 column detectedpapaparse auto-detection misread the delimiter (or the file is genuinely single-column)If multi-column was expected, check the source delimiter; for TSV/pipe-delimited files, re-export as comma-delimited
Log warning: Parse warnings: NCSV has unescaped quotes or inconsistent column counts — some rows may have collapsedOpen the CSV in a text editor, look near the error row number printed, fix the quoting
Fewer rows than expected (but no warning)CSV contains multi-line quoted cells — one row legitimately spans many raw linesCount rows from the source (spreadsheet row count), not from the raw file line count

What the log tells you

On every run, look at the first few log lines:

  • CSV from direct input (N chars) — you used the CSV Content field.
  • Fetching CSV from <url> — you used the CSV URL field.
  • Google Sheets detected → CSV export URL — the URL was rewritten to the Sheets export endpoint.
  • Google Sheets URL has no gid — defaulting to first tab (gid=0)... — if your data is on a different tab, include #gid=<id> in the URL (the browser address bar shows the gid when you click the tab).
  • N rows, M columns: col1, col2, ... — what was parsed. This N is the dataset item count.
  • Parse warnings: N (if any) — the CSV has quoting issues and some rows may have collapsed. Inspect the source CSV.
  • WARNING: only 1 column detected — delimiter detection likely failed. Check the source file.

If the run fails, the error message tells you exactly what went wrong — this actor does not silently produce empty or partial datasets.


Tech notes

  • Runtime: Node 20.
  • Parser: papaparse — battle-tested against millions of CSVs.
  • Google Sheets URL rewrite: docs.google.com/spreadsheets/d/<ID>/...export?format=csv&gid=<gid or 0>.
  • Output: one Actor.pushData call with the full row array.