Dataset Export to S3, GCS, Azure, SFTP & Airtable avatar

Dataset Export to S3, GCS, Azure, SFTP & Airtable

Pricing

from $3.00 / 1,000 file delivereds

Go to Apify Store
Dataset Export to S3, GCS, Azure, SFTP & Airtable

Dataset Export to S3, GCS, Azure, SFTP & Airtable

Export any Apify dataset to your own S3, R2, MinIO, Google Cloud Storage, Azure Blob, SFTP or FTP as CSV, JSON, JSONL, Excel or Parquet (gzip, split, path templates), or upsert it into Airtable or Postgres. Use after any scraper. Free preview.

Pricing

from $3.00 / 1,000 file delivereds

Rating

0.0

(0)

Developer

Cemal Atakli

Cemal Atakli

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Categories

Features

Limited permissions

Share

Export any Apify dataset to your own storage in one step: Amazon S3, Cloudflare R2, MinIO, Backblaze B2, Wasabi, Google Cloud Storage, Azure Blob Storage, SFTP or FTP/FTPS as CSV, JSON, JSON Lines, Excel (XLSX) or Parquet. You can also upsert the rows into Airtable or Postgres / Supabase / Neon.

Add it as an integration after any scraper. Every finished run then lands in your bucket, your SFTP drop folder or your Airtable base automatically, with no code and no glue scripts.

What it does

  • One Actor for all destinations: S3 and S3-compatible stores (R2, MinIO, B2, Wasabi, DigitalOcean Spaces), GCS, Azure Blob, SFTP, FTP/FTPS, Airtable, Postgres and the Apify key-value store.
  • Five file formats:
    • CSV, with a delimiter option and an optional UTF-8 BOM for Excel.
    • JSON array.
    • JSON Lines / NDJSON.
    • Excel XLSX, with a styled header, frozen first row and autofilter.
    • Parquet (snappy), with column types inferred: int64, double, bool and string.
  • File handling:
    • Optional gzip.
    • Split every N rows.
    • File path templates such as exports/{actorName}/{date}/{datasetId}{part}.{ext}.
    • Folders are created automatically.
  • Choose columns:
    • Pick fields with dot paths (rating.stars).
    • Drop fields.
    • Rename fields with a field map.
    • Nested objects are flattened to a.b columns for CSV, XLSX and Parquet.
  • Airtable upsert:
    • Uses performUpsert on 1–3 merge fields, so existing records are updated and new ones created.
    • Sends batches of 10 (the Airtable limit) and stays under 5 requests/s.
    • Values are typecast to your field types.
  • Postgres / Supabase upsert:
    • INSERT ... ON CONFLICT DO UPDATE on your key.
    • Optionally creates the table, with column types inferred and objects stored as jsonb.
    • Only writes fields that match columns.
  • Only new items: the Actor remembers how far a growing dataset was exported and delivers only the rows added since the last run.
  • Free preview: run it without credentials and you see exactly which files or records would be delivered (paths, rows, bytes, the first rows). Nothing is uploaded and nothing is charged. Dry run does the same with your real settings.
  • Delivery log: one dataset row per delivered file, with the location, rows, bytes, MD5, SHA-256 and ETag. Errors are listed per file.

Use cases

  • Land scraped data in an S3 / R2 data lake as Parquet for Athena, BigQuery, Snowflake, DuckDB or Databricks.
  • Send daily CSV files to a client's SFTP drop folder, which agencies and B2B data deliveries often need.
  • Keep an Airtable base in sync with a scraper: price lists, lead lists, job boards, real-estate listings.
  • Upsert scraper output into Supabase / Postgres tables that power your app.
  • Archive every run of a scheduled Actor to Azure Blob or GCS with dated paths.

How to use it after another Actor (integration)

  1. Open the scraper you want to export from. Go to Integrations, choose Connect Actor or task, and pick Dataset Export to S3, GCS, Azure, SFTP & Airtable.
  2. In the input, set Dataset ID to {{resource.defaultDatasetId}}.
  3. Choose the destination, the format and your credentials. Credentials are stored encrypted as secret inputs.
  4. Every successful run of the scraper is now exported automatically.

You can also run it by hand with any dataset ID, or with the username~dataset-name form for named datasets.

Input example (S3, Parquet, split)

{
"datasetId": "{{resource.defaultDatasetId}}",
"destination": "s3",
"format": "parquet",
"splitEvery": 100000,
"filenameTemplate": "lake/{actorName}/dt={date}/{sourceRunId}{part}.{ext}",
"s3Bucket": "my-data-lake",
"s3Region": "eu-central-1",
"s3AccessKeyId": "AKIA...",
"s3SecretAccessKey": "..."
}

Cloudflare R2 / MinIO / B2: also set s3EndpointUrl, for example https://<accountid>.r2.cloudflarestorage.com, with region auto for R2.

Input example (Airtable upsert)

{
"datasetId": "{{resource.defaultDatasetId}}",
"destination": "airtable",
"airtableToken": "pat...",
"airtableBaseId": "appXXXXXXXXXXXXXX",
"airtableTable": "Products",
"upsertKey": ["SKU"],
"fieldMap": {"sku": "SKU", "title": "Name", "price": "Price", "rating.stars": "Stars"}
}

With a field map and no "Fields to export", only the mapped fields are sent. Airtable rejects field names that are not in your table, so map the scraper's fields to your column names.

Output example

One row per delivered file:

{
"destination": "s3",
"status": "delivered",
"target": "apify/my-scraper/2026-11-03/aBcD123-part-0001.csv.gz",
"url": "s3://my-bucket/apify/my-scraper/2026-11-03/aBcD123-part-0001.csv.gz",
"format": "csv",
"gzip": true,
"part": 1,
"rows": 1000,
"bytes": 16689,
"md5": "72216f64b354638d29cc1588db040730",
"etag": "dc32e926b5a06319d8d6442a2e8ba31f",
"deliveredAt": "2026-11-03T12:14:52Z",
"error": null
}

For Airtable and Postgres you get one summary row instead: records written, created, updated and failed. Any ignored columns are listed too. The key-value store record OUTPUT holds the run summary: rows, files, errors, charges and the only-new cursor.

File path placeholders

PlaceholderValue
{actorName}Name of the Actor that produced the dataset
{datasetId} / {datasetName}Source dataset ID / name
{sourceRunId} / {runId}Source run ID / this export run's ID
{date} {year} {month} {day}UTC date parts
{time} {datetime} {timestamp}HHMMSS, YYYYMMDD-HHMMSS, Unix seconds
{part}-part-0001, ... when files are split, otherwise empty
{ext}csv, json, jsonl, xlsx, parquet (+ .gz)

Pricing (pay per event)

EventPrice
File delivered (S3, R2, GCS, Azure, SFTP, FTP, key-value store)$0.003 per file
Rows exported$0.0005 per started 1,000 rows in a file
Record written to Airtable / Postgres$0.0002 per record
Actor start$0.00005

Example costs:

  • 10,000 rows as one CSV to S3 cost $0.008.
  • 1,000 Airtable upserts cost $0.20.

Preview runs, dry runs and failed uploads are free. Set a max cost per run and the Actor stops cleanly before it is exceeded.

ActorDestinationsPrice
This ActorS3, R2, MinIO, GCS, Azure, SFTP, FTP, Airtable, Postgres, KV store$0.003/file + $0.0005/1k rows; $0.0002/record
apify/s3-uploaderS3 onlyfree
apify/airtable-apify-airtableAirtable onlyfree
charlesmarkette dataset deliverySFTP, FTP, Dropbox, Drive$0.0045/file
alaudinburki dataset-to-airtableAirtable only$0.001/row

Security

  • Credentials go into secret input fields. Apify stores them encrypted, and they are never logged or written to the output; error messages are scrubbed.
  • Use least-privilege keys:
    • S3: a key allowed only s3:PutObject on one bucket or prefix. s3:ListBucket is optional.
    • GCS: a service account with roles/storage.objectCreator on one bucket.
    • Azure: a container SAS URL with create and write rights only.
    • Airtable: a personal access token with only data.records:write, limited to one base.
    • Postgres: a user with INSERT and UPDATE rights on one table.
  • SFTP: set the host key fingerprint (SHA256:...) to reject servers you do not expect.

FAQ

Does it work as a webhook / integration? Yes. Use {{resource.defaultDatasetId}} as the Dataset ID. A raw webhook payload containing resource.defaultDatasetId is understood too.

What happens without credentials? You get a free preview. The dataset shows the file paths, row counts, sizes and first rows that would be delivered.

How big can a dataset be? Rows are streamed to disk, so CSV, JSON and JSONL work with millions of rows. XLSX and Parquet hold one file part in memory, so use Split every N rows (for example 200,000) for very large datasets, or give the run more memory. XLSX is split automatically at Excel's 1,048,575-row limit.

Does "only new items" work with webhooks? Each scraper run has its own new dataset, so you do not need it there. Use it for scheduled exports of one named dataset that keeps growing. The cursor only moves after a successful delivery.

Are existing files overwritten? Yes, an upload to the same path replaces the file. The default template includes the time ({time}), so runs do not overwrite each other.

Can I write to Google Drive or Dropbox? Not yet. Use S3, GCS or SFTP, or open an issue if you need another destination.

Use with AI agents (Apify MCP)

This Actor works as a tool in the Apify MCP server. An AI agent can scrape with any Actor and then call gazidev/dataset-cloud-export with the run's defaultDatasetId to save the result to the user's bucket or Airtable base. Agents can also send items directly, as a JSON array, without a dataset. Run with "dryRun": true first to show the user what would be written.