# Audit Customer CSV Exports

**Use case:** 

Compare European semicolon CSV files by customer_id and return only records that changed between exports.

## Input

```json
{
  "csvA": "customer_id;email;status;country\nC001;ana@example.com;active;BR\nC002;li@example.com;trial;PT\nC003;max@example.com;active;DE",
  "csvB": "customer_id;email;status;country\nC001;ana@example.com;active;BR\nC002;li@example.com;paid;PT\nC004;sam@example.com;trial;ES",
  "keyColumns": [
    "customer_id"
  ],
  "delimiter": ";",
  "hasHeader": true,
  "caseSensitive": false,
  "trimWhitespace": true,
  "outputFormat": "modified-only"
}
```

## 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.