Batch Ingest Leads
lead_batch_ingestImport up to 100 leads in one batch call. Duplicates are skipped automatically, allowing partial success without failure.
Instructions
Add 1 to 100 leads in a single call. Each lead uses the same schema as lead_ingest. Returns {ingested: Lead[], skipped: Array<{email, reason}>} — duplicates are skipped (not failed) so a partial batch still succeeds. Prefer this over repeated lead_ingest calls for bulk imports (CSV/webhook drops).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| leads | Yes | Array of 1–100 leads, each using the same shape as lead_ingest input. Duplicates within the batch and against existing pipeline emails are SKIPPED (not failed) — partial success is the norm. Returns {ingested: Lead[], skipped: Array<{email, reason}>}. |