Kontaktimport vorbereiten
prepare_contact_importPreview an existing CSV import, not create CRM contacts yet. csv is the exact supplied UTF-8 document; requestKey is the stable UUID for these same bytes. dryRun controls whether the preview source is stored; afterRow is the previous pagination.nextAfterRow, not a line to invent. confirm_contact_import is the separate explicitly confirmed application. Parse a bounded UTF-8 RFC4180 CSV with org_name,address_line_1,postal_code,city,country_code,preferred_language,lawful_basis and optional attention_line,address_line_2,state,website,email,phone,external_ref,source_url,tags,segment. Preview tenant-scoped duplicates/suppression before writes. dryRun=true persists nothing; otherwise stores only the preview source. Keep requestKey and CSV unchanged. Optional campaignKey/campaignTitle group imported members. Follow pagination.nextAfterRow with the same requestKey/CSV as afterRow, including empty pages. Does not grant marketing consent, create users, send or subscribe anyone.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"requestKey": "<requestKey>",
"csv": "<csv>"
},
"name": "prepare_contact_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | Yes | Exact supplied UTF-8 RFC4180 CSV with the required postal/contact headers. Never infer absent lawful basis or missing address fields. | |
| dryRun | No | true parses/previews without persistence; false (default) stores only the preview source, never applies contacts or sends. | |
| afterRow | No | Copy pagination.nextAfterRow from the preceding preview/confirmation page with the same import identity and source. Default 0 starts the first page, including after an empty page. | |
| requestKey | Yes | Stable UUID for this exact CSV import preview. Keep it with identical CSV bytes during pagination and retry. | |
| campaignKey | No | Optional stable campaign grouping; supply campaignTitle together with it or omit both. | |
| campaignTitle | No | Human title of the optional campaign grouping; supply campaignKey together with it. |