# Compare Product CSV Price Changes

**Use case:** 

Find added, removed, and modified product rows between two CSV exports using id as the matching key.

## Input

```json
{
  "csvA": "id,name,price,stock\n1001,Trail Shoe,79.99,42\n1002,Rain Jacket,129.00,18\n1003,Wool Socks,12.50,120",
  "csvB": "id,name,price,stock\n1001,Trail Shoe,74.99,39\n1002,Rain Jacket,129.00,18\n1004,Running Cap,21.00,55",
  "keyColumns": [
    "id"
  ],
  "delimiter": ",",
  "hasHeader": true,
  "caseSensitive": true,
  "trimWhitespace": true,
  "outputFormat": "all-changes"
}
```

## Output

```json
{
  "changeType": {
    "label": "Change Type",
    "format": "text"
  },
  "rowKey": {
    "label": "Row Key",
    "format": "text"
  },
  "changedColumns": {
    "label": "Changed Columns",
    "format": "text"
  },
  "columnCount": {
    "label": "Columns Changed",
    "format": "number"
  },
  "data": {
    "label": "Row Data",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [CSV Diff Tool](https://apify.com/automation-lab/csv-diff-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/csv-diff-tool) to learn more, explore other use cases, and run it yourself.