> ## Documentation Index
> Fetch the complete documentation index at: https://deepline.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate CSV files | Human guide

> Ask your agent to check an input file before enrichment or CRM updates.

```deepline-prompt theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Validate this CSV before enrichment. Return accepted and exception files with reasons and reconciled counts, preserving the original file.
```

The agent validates the file before enrichment, then writes accepted records
and exceptions with reason codes, input revision, row locators, and reconciled
counts. It rejects ambiguous headers and scans for conflicting source IDs
before releasing accepted rows. The original file stays intact, and validation
makes no enrichment calls.

Provide the original CSV, required headers and row fields, stable identity
column, and the rule for whether valid rows may proceed when other rows fail.

Use the [five-row worked import](https://deepline.com/docs/human/guides/validate-incoming-csv-files.md#worked-import-five-rows-one-accepted) as an acceptance fixture.

> [!TIP]
>
> Expect one accepted, two review, two rejected, and no retryable errors. Missing
> optional phone values pass. Both conflicting `lead-102` rows remain in review;
> neither silently overwrites the other. Quoted commas and multiline fields must
> remain field content rather than creating extra columns or records.

[Review and operate a workflow](https://deepline.com/docs/human/templates.md#review-and-operate-a-workflow) covers authorization, pilots, and recovery.

[Agent guide: CLI and SDK instructions →](https://deepline.com/docs/guides/validate-incoming-csv-files.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.