Import a pull
pros_import_rowsHand over one pulled list: what it was bought or scraped under, and its rows. These are not accounts and never become accounts here. You read the file; this records it. Nothing here parses and nothing here qualifies.
CRITERIA IS MANDATORY AND IT IS THE POINT (PRO-2). Write the brief this pull was actually made under: the size band, the geography, the industries asked for. A pull whose criteria nobody wrote down cannot have its verdicts checked against anything afterwards, and rows judged against a brief that was never stated are judged against your memory of it.
The same hash is refused twice (PRO-1). Rows whose company name is already staged, or already an account, are skipped and listed back — say so to the person. The batch is accepted whole or refused: if the file says a row count and you hand over a different number, re-read it.
Hand over the seller's own description verbatim rather than your summary of it. Your reading of the row belongs in a verdict, where it is attributed to you and can be argued with. Effects: pull recorded with its criteria; rows staged with provenance; duplicates skipped and listed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | Content hash of the file, or a stable id it carries (vendor + list id + date). | |
| rows | Yes | Every row, in the file's order. | |
| label | Yes | What this pull was, in your human's words — "Phoenix metro, 200-1000 staff". | |
| criteria | Yes | The brief this pull was made under: size band, geography, industries asked for. Mandatory, and read later by whoever checks the verdicts. | |
| row_count | Yes | How many rows the file holds. | |
| campaign_id | No | The campaign this pull was made for, if that is already decided. An existing campaign id. |