subscriber_bulk_import
Import subscribers from CSV with conflict handling: skip duplicates, overwrite, or abort. Dry run to preview changes before committing.
Instructions
Import subscribers from a CSV blob with conflict handling.
Expected CSV header: username,domain,password[,email_address][,rpid].
Extra columns are ignored. Blank/comment (#-prefixed) lines are
dropped. Caps at 5000 rows per call — split larger imports.
Parameters
csv_content:
Full CSV text including header row.
dry_run:
When True (default), parse and validate but do not write. Use
this first so you can review the plan before committing.
on_conflict:
skip (default) — leave existing (username, domain) alone and
report them in skipped.
overwrite — update password / attributes on existing rows.
error — abort on first collision; nothing is committed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv_content | Yes | ||
| dry_run | No | ||
| on_conflict | No | skip |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||