Skip to Content
Blackbell for builders
Skills

Import customers by email

Load when importing an email list into a Blackbell account, matching existing customers and optionally adding labels.

  1. For each requested label, call create_label with its name (an existing name returns the existing id), or use supplied account label ids. Put label_ids on each applicable row. Import adds labels and preserves existing ones.
  2. Call import_customers with visitors containing up to 1,000 rows per call. Give each batch its own idempotency_key. For a task result, poll tasks/get for that taskId and inspect the completed tool result. basics
  3. Read every row in results. Count created, matched, newly linked and refused rows separately. Identify errors by row number, correct only refused rows and submit those as a new batch. Report aggregate counts without names, emails or phone numbers.