imports_run
Owner only: import customers (and one service address each) from a CSV with the mapping the owner confirmed. mode all_or_nothing (default) writes nothing if any row fails; per_row writes the good rows and reports the rest. dry_run true checks without writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | ||
| mode | No | ||
| source | No | Where the file came from (jobber, housecall_pro, ...). Old ids are remembered per source. Defaults to the preset, or csv. | |
| dry_run | No | ||
| mapping | Yes | ||
| shop_id | Yes | ||
| on_match | No | A row that matches a customer already in Doing Work (by old id, then email, then phone): skip (default) leaves it; update fills blanks, adds tags and a new service address, and never replaces an email or phone. | |
| preview_hash | No | The preview_hash from imports.preview. When sent, the run is refused if the file or mapping changed since that preview. |