Bulk contact import lets you upload multiple contacts at once through a guided import flow in your agent’s Contacts page. You can use this to:Documentation Index
Fetch the complete documentation index at: https://chatbase.co/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Quickly add new contacts
- Update existing contacts by External ID
- Import custom attributes in bulk
Import contacts
The import flow consists of four steps.Upload file
Upload a.csv or .xlsx file by dragging it into the upload area or clicking to select a file.
LimitsYou can also download a CSV template with the correct headers. The template includes:
- Maximum file size: 5 MB
- Maximum rows per upload: 1,000
- Standard contact fields
- Any custom attributes defined for the AI agent
Map columns
After uploading your file, Chatbase automatically matches your file headers to contact fields. Supported fields include:- External ID
- Name
- Phone
- Custom attributes
Important External ID is required. You must map a column to External ID before continuing.
Mapping rules
- Each CSV header can only be mapped to one field
- Custom attributes appear automatically during mapping
- Unmapped columns are ignored during import
Review and confirm
Before importing, Chatbase displays a paginated preview table with all mapped rows. Each row is validated against existing contacts and duplicate values.Duplicate handling
| Condition | Result |
|---|---|
| Duplicate External ID in the file | Row is blocked |
| Duplicate email or phone in the file | Row is blocked |
| Email or phone already exists in another contact | Row is blocked |
| External ID already exists | Row is marked as Update to update the existing contact |
| Missing External ID | Row is automatically excluded |
Note Phone numbers are normalized to E.164 format before duplicate checks are performed.
Row selection
You can:- Select individual rows
- Deselect rows you do not want to import
- Use the Select all checkbox
Completing the Import
After the import completes, Chatbase displays the import results. This includes:- Number of successful imports
- Number of failed rows
- Detailed error messages for failed rows
Add a single contact
Contacts can also be added individually. Go to:- External ID
- Name
- Phone
- Any Custom attributes
Important External ID is required when creating a contact manually.
Custom attributes
Custom attributes allow you to store additional information about contacts. Manage them from:Supported attribute types
- Text
- Number
- Boolean
- Date
Behavior
- Custom attributes appear during import mapping
- Custom attributes appear in the contacts table
- Archived attributes are hidden from forms
- Archived attribute data is preserved