# Keep only new rows from a scheduled scraper

**Use case:** 

Run this after a daily or weekly scrape and get only the rows you haven't seen before, cleaned and deduplicated. Give the feed a name and the Actor remembers a one-way fingerprint of each record, so your sheet, CRM or next Actor receives just what's new.

## Input

```json
{
  "url": "https://api.apify.com/v2/key-value-stores/7MDnpHF243bNUL5C3/records/maps_dentists_austin.csv",
  "collapseLists": true,
  "onlyNew": true,
  "onlyNewState": "austin-dentists",
  "includeChanged": false,
  "phoneRegion": "US",
  "phoneFormat": "national",
  "fixEmailTypos": true,
  "applyClusters": "off",
  "checkEmailDomains": true,
  "minDuplicateConfidence": "0.5"
}
```

## Output

```json
{
  "title": {
    "label": "title"
  },
  "Company": {
    "label": "Company"
  },
  "placeId": {
    "label": "placeId"
  },
  "website": {
    "label": "website"
  },
  "Website": {
    "label": "Website"
  },
  "domain": {
    "label": "domain"
  },
  "url": {
    "label": "url"
  },
  "phone": {
    "label": "phone"
  },
  "Phone Number": {
    "label": "Phone Number"
  },
  "phones": {
    "label": "phones"
  },
  "emails": {
    "label": "emails"
  },
  "socials/url": {
    "label": "socials/url"
  },
  "address": {
    "label": "address"
  },
  "City": {
    "label": "City"
  },
  "category": {
    "label": "category"
  },
  "totalScore": {
    "label": "totalScore"
  },
  "reviewsCount": {
    "label": "reviewsCount"
  },
  "source": {
    "label": "source"
  },
  "_source_rows": {
    "label": "_source_rows"
  },
  "_flags": {
    "label": "_flags"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Merge & Deduplicate Datasets: CSV/Excel Cleaner, Only New Rows Actor is ready to run with the inputs already set for "Keep only new rows from a scheduled scraper". [Sign up or log in](https://console.apify.com/create-task-from-example/BlmbjsuzJDyAnSOcx) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Keep only new rows from a scheduled scraper" task

The Merge & Deduplicate Datasets: CSV/Excel Cleaner, Only New Rows Actor will start running based on the input automatically. You can also change all the input fields, like file url, turn list columns into one column, and more, to match your specific use case.

### 3. Receive the "Keep only new rows from a scheduled scraper" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as title, company, placeid, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Keep only new rows from a scheduled scraper" task via API](https://apify.com/patchwell/patchwell-clean-data.md).

## FAQ

### What does the only-new-rows task store?

The only-new-rows task keeps a one-way fingerprint of each record's key and content, never the values, and forgets a feed after 90 days without a run.

### Can the only-new-rows task run after my scraper automatically?

Yes. In your scraper task, open Integrations, connect this Actor with Dataset set to the triggering run's dataset, and every finished scrape is filtered to new rows.

### How is the clean data task billed?

The clean data task charges per input row it reads, shown on the Pricing tab. Files it can't read cost nothing, and the change log and review list come with every run.

## About this Actor

This example demonstrates how to use [Merge & Deduplicate Datasets: CSV/Excel Cleaner, Only New Rows](https://apify.com/patchwell/patchwell-clean-data.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/patchwell/patchwell-clean-data.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/patchwell/patchwell-clean-data.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
