# Contacts

Source: https://www.nabrah.ai/en/docs/contacts

Contacts store the identity and channel details of the people your agents and team talk to. One contact list is shared by calls, WhatsApp, web chat, Instagram, email and tickets, so every conversation with the same person is linked to the same contact.

![Contacts list with source tags](https://nuonmwcmc4avrmft.public.blob.vercel-storage.com/cms/6813b36f3438ddbef3ee0c280806ba45.webp)

## Find your contacts

Open **CX → Inbox → Contacts**. The header shows how many contacts the workspace has.

| Control                         | What it does                                                                                                         |
| ------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| **Search**                      | Finds contacts by name, phone or email                                                                               |
| **Sort**                        | **Last activity (newest)** by default. You can also sort by last activity (oldest), name, email or phone, A–Z or Z–A |
| **Cards view** / **Table view** | Switches between cards and a table. The list shows 16 contacts per page                                              |

Each contact shows its name, email, phone number and last activity. Two labels can appear next to it:

| Label                                    | Meaning                                                                                                                                                                |
| ---------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Web chat**, **Email** or **Instagram** | Where the contact came from. Contacts that started on web chat, an email inbox or Instagram get this tag. Contacts from calls and WhatsApp have a phone number instead |
| **Blocked**                              | The contact is blocked                                                                                                                                                 |

> **A web chat contact often has no phone or email.** Website visitors only give the details the pre-chat form asks for. See [Chat widget](https://www.nabrah.ai/en/docs/chat-widget).

## Create a contact

Click **New contact**, then choose **Manual** or **Bulk**.

![Create contact dialog](https://jg7fuogekuhtmhth.public.blob.vercel-storage.com/media/docs/import/cmr0o3ss10001b3d5w9zkdkzg.png)

### Manual

| Field            | Description                                                                              |
| ---------------- | ---------------------------------------------------------------------------------------- |
| **Name**         | Optional. A contact without a name is shown by its number                                |
| **Email**        | Optional. Must be a valid email address                                                  |
| **Phone number** | Required. A Saudi mobile number, written as `5XXXXXXXX`, `05XXXXXXXX` or `+9665XXXXXXXX` |

If Nabrah has to rewrite the number you typed, it asks you to confirm it first, for example *You entered "0500000111". Do you mean +966500000111?* Click **Confirm** to save it in that form.

### Bulk

1. Click **Download CSV template** to get a file with the right headers.
2. Fill in one contact per row under `name`, `email`, `phone_number`. `phone_number` is required on every row.
3. Click **Choose CSV file**, then **Start import**.

Only `.csv` files are accepted. When the import ends, **Import results** lists every row and whether it was imported, so you can fix and re-upload the rows that failed.

## View and edit a contact

Click a contact card, or **View**, to open its page.

| Area                    | What it shows                                                                           |
| ----------------------- | --------------------------------------------------------------------------------------- |
| Profile                 | Name, email, phone, **Created at** and **Last activity**                                |
| **Start WhatsApp chat** | Opens a WhatsApp conversation with the contact's number                                 |
| **Overview**            | The contact's calls and tickets, filtered by **All activity**, **Calls** or **Tickets** |

Click **Edit** to change the name, email or phone number. The trash icon on a card deletes the contact after you confirm. Deleting can't be undone.

## Export contacts

Click **Export**, choose what to include, then click **Download CSV**.

![Export contacts dialog](https://jg7fuogekuhtmhth.public.blob.vercel-storage.com/media/docs/import/cmr0o4rfj0002b3d5vrgbi085.png)

| Option                               | Description                                                                                                                                                |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Export scope**                     | **All contacts**, or **Selected contacts**. With selected contacts, tick them under **Choose contacts**. **Select all** and **Clear** help with long lists |
| **Sort order**                       | The order of rows in the file. Same options as the list                                                                                                    |
| **Only include contacts with email** | Leaves out contacts without an email address                                                                                                               |
| **Only include contacts with phone** | Leaves out contacts without a phone number                                                                                                                 |

The file has the columns `id`, `name`, `email`, `phone_number`, `blocked`, `last_activity_at` and `created_at`.

## Troubleshooting

| Symptom                                         | Cause                                                 | Fix                                                                    |
| ----------------------------------------------- | ----------------------------------------------------- | ---------------------------------------------------------------------- |
| **Phone must be a valid Saudi mobile**          | The number isn't a Saudi mobile number                | Enter it as `5XXXXXXXX`, `05XXXXXXXX` or `+9665XXXXXXXX`               |
| **Only CSV files are supported**                | The bulk file isn't a `.csv` file                     | Save the sheet as CSV and choose it again                              |
| **No rows found in CSV file**                   | The file is empty or has no rows under the header     | Use the template and add at least one row                              |
| Some rows fail on import                        | A row has no phone number, or an invalid email        | Fix those rows from **Import results** and import them again           |
| **Select at least one contact to export**       | **Selected contacts** is chosen but nothing is ticked | Tick contacts under **Choose contacts**, or switch to **All contacts** |
| **New contact** and the delete icon are missing | You have view access to Contacts                      | Ask the workspace owner for edit access                                |

## Frequently asked questions

**Why does a contact have a Web chat tag and no phone number?** It was created by a website visitor in the chat widget. Visitors give only the details your pre-chat form asks for.

**Do I need to create contacts before people message me?** No. Contacts are added automatically when people reach you on WhatsApp, web chat, Instagram or email. Create them yourself when you want to add details or reach someone first.

**Who can add or delete contacts?** Members with edit access to Contacts. Members with view access can search, open and export contacts.
