# 12 · Contacts: add, import, tag, segment, clean up duplicates and companies

**Purpose:** keep one tidy customer list: add people one by one or from a spreadsheet, group them with tags and saved segments, and clear out duplicates so your broadcasts reach the right people, once.

## Before you start

- Everyone who messages one of your connected numbers is added to **Contacts** automatically (see [01 · Getting started](https://wsapme.com/guides/getting-started.md) for connecting a number). You can also add people yourself.
- **Import**, **Export**, **Duplicates**, **Number check**, **Merge…**, the **Data** menu and **Delete** are shown to owners and admins only. Every team member can add contacts, tags and notes.
- For an import you need a CSV, Excel (.xlsx) or vCard (.vcf) file. The first row must hold the column names and one column must hold the WhatsApp numbers. A file can have up to 100,000 rows and 10 MB.

> The screenshots use a demo workspace with Demo mode on, so names show as "Customer ABC", companies as "Company ABC" and phone numbers as dots. The contacts are made up, and so is the one number typed into **Add contact** (+1 303 555 0101, from a range kept for fiction). In this guide nothing was merged, archived, opted out, erased or deleted, and **Export** is greyed out because Demo mode is on; those parts are described from the screens and the module documentation and are marked below. The import files are made up too (fictional 555 numbers); in the import screenshots and the import video their product, interest and state values are left unblurred on purpose, while names and numbers stay hidden.

**Watch first (3:41, Malay narration):** [Manage your contacts](https://wsapme.com/guide-media/video/12-contacts-tags-segments-import-malay.mp4). The Contacts list, Add contact, uploading a file and matching its columns (recorded before the Review import screen was added), tagging a contact, filtering and saving a segment, selecting several contacts, Duplicates and Companies. Nothing is imported, merged or sent in the video.

## Part 1 · The Contacts list

1. In the sidebar, under **Customers**, click **Contacts**.
2. The buttons at the top are **Completeness**, **Duplicates**, **Number check**, **Import**, **Export**, **Export to Google Sheets**, **Tags** and **Add contact**.

   ![The top of the Contacts page with Import, Tags and Add contact highlighted](https://wsapme.com/guide-media/img/contacts-tags-segments-import/01-contacts-top.webp)

   A new workspace also shows a **Set up your CRM** checklist here. It ticks itself off as you go; the **×** hides it.

3. Above the table, type in **Search name, phone or email**, or use the filters: **All tags**, **Everyone** (or **Opted in** / **Opted out**), **Active** (or **Archived**), **Any activity** (for example **Chatted in last 7 days** or **Quiet for 30+ days**), **Any owner**, **Any source** (WhatsApp, Added by hand, Import and so on), **Any number** (**On WhatsApp**, **Not on WhatsApp**, **Invalid number**, **Not checked**) and **Any score**.
4. The last box sorts the list: **Recent chats**, **Newest first**, **Name A–Z** or **Highest score**.
5. Click **Columns** to choose what the table shows. **Phone**, **Tags**, **Owner**, **Score** and **Last message** are shown at first; under **More columns** you can add **Company**, **Job title**, **WhatsApp**, **Source**, **Email** and **Added**, and move columns up or down. Your choice is remembered for you only.

   ![The filters above the table, and the bar that appears when contacts are ticked](https://wsapme.com/guide-media/img/contacts-tags-segments-import/02-list-filters-bulk.webp)

Once your workspace has its own contact fields (see [09 · Account, team and billing](https://wsapme.com/guides/account-team-billing.md)), a **Fields** button also appears, to filter by those fields, and you can click a cell such as email, owner or company to change it in place *(from the documentation, not captured: the demo workspace has no custom fields)*.

## Part 2 · Add a contact

1. Click **Add contact**.
2. Fill in **WhatsApp number**: first choose the country with the flag (the country code is filled in for you), then type the rest of the number. Then type a **Name**. **Email (optional)** and **Tags** can be added too.
3. If the number, the email or a very similar name is already in your list, a yellow box says **Looks like a contact you already have** and links to that contact, so you do not create a double.

   ![The Add contact form with the "Looks like a contact you already have" warning](https://wsapme.com/guide-media/img/contacts-tags-segments-import/03-add-contact.webp)

4. Click **Save contact**. The new contact's page opens, and you become its owner. If the number is already saved, the form says **This number is already saved as …** and nothing is added. *(In this guide the form was not saved.)*

## Part 3 · Import many contacts from a file

**Watch first (2:31, Malay narration):** [Review an import before you confirm](https://wsapme.com/guide-media/video/12-contacts-import-review-malay.mp4). Uploading a file, two columns as tags, a new contact field that is also a tag, the Start workflows switch and the Review import results; the video stops before Confirm, so nothing is imported.

1. On the Contacts page click **Import**.
2. Under **Upload a CSV, Excel or vCard file**, choose your file and click **Upload**. For an Excel workbook only the first sheet is read.
3. **Match columns** lists every column of your file with a few sample values. Wsapme matches common column names by itself, in English and Malay (for example Nama, No Tel, Syarikat). Check each one and change it if needed: **WhatsApp number**, **Name**, **First name**, **Last name**, **Email**, **Company**, **Job title**, **Owner (team member name or email)**, **Notes**, **Tags (comma separated)**, one of your contact fields, **+ New contact field…** or **Don't import**. A **WhatsApp number** column is required.
   - **Several columns as tags.** Choose **Tags (comma separated)** on as many columns as you need, for example Produk and Minat. Their values add up, and a tag is never added twice to the same contact. A **Tag prefix (optional)** box appears under each Tags column: with the prefix "Produk", the value "Brownies" becomes the tag "Produk: Brownies".
   - **A new contact field.** For a column that has no field yet, choose **+ New contact field…** at the bottom of the list. **New field name** starts as the column name, and **Type** is suggested from the values in the file (marked "(suggested)"): Number, Date, Email, Link, Yes / No, Dropdown when a few values repeat, otherwise Text. You can change both. For Dropdown and Multiple choice, the options are the column's different values. The field is added to **Settings → Contact fields** only when you confirm the import; nothing is created before that. Names of built-in details such as Email or Name are refused: choose that detail in the list instead. The line under the table counts your contact fields (up to 50) and how many this import adds.
   - **A field that is also a tag.** On a contact field column, new or existing, tick **Also add the value as a tag** and type a **Tag prefix (optional)** such as "Negeri". A contact from Selangor then gets Selangor in the Negeri field and the tag "Negeri: Selangor". The example next to the prefix shows how the tag will look.

   ![Match columns: Produk and Minat set to Tags, Negeri set to a new Dropdown field that is also added as a tag with the prefix "Negeri"](https://wsapme.com/guide-media/img/contacts-tags-segments-import/04-import-match-columns.webp)

4. Under **Options**:
   - **Country for numbers without a country code**: a number such as "012-345 6789" is read as a number in this country. Numbers that already have a country code work as they are.
   - **Tag every imported contact**: click **Tag** to add one or more tags to everyone in the file. Tags columns, and fields set to **Also add the value as a tag**, add theirs too.
   - **Update contacts that already exist**: contacts are matched by phone number. When ticked, filled-in cells replace the saved values and empty cells change nothing. When not ticked, existing contacts only get the tags.
   - **Start workflows for these contacts**: off at first. While it is off, this import starts no workflow, so nothing is sent to the imported contacts. Turn it on only when you want workflows that start when a tag is added (or, for a lead import, when a lead is created) to run for them; those workflows may send them messages. When the import is the first run of a Google Sheet sync, the page says so: your choice then also applies to every later automatic run of that sheet.

   ![Options, with the Start workflows for these contacts switch off](https://wsapme.com/guide-media/img/contacts-tags-segments-import/11-import-options-workflows.webp)

5. Under **Review import**, click **Review import**. Wsapme checks every row of the file with your settings, as a dry run: nothing is saved yet. On a large file a bar shows how many rows have been checked. Then you see:
   - **New contacts**, **Contacts to update**, **Skipped** (already saved, or a number repeated earlier in the file) and **Not imported**.
   - **New contact fields** that confirming will create, with their type and number of options.
   - **Tags**: every tag the import adds, how many contacts get each one, and **New** next to tags that do not exist yet. One import makes at most 500 new tags from the file's values; a column with many different values (names, addresses) works better as a field.
   - **Workflows**: if any workflow would start for these contacts, it is listed with how many contacts it matches, and whether it will start (it does not while **Start workflows** is off). The demo workspace has no such workflow, so this part is not in the picture.
   - **Problems** by kind (**Show rows** lists the rows) and **Examples, as they will be saved**.

   ![Review import: 11 new contacts, 2 skipped, 1 not imported, the new Negeri field and the tags with how many contacts get each](https://wsapme.com/guide-media/img/contacts-tags-segments-import/05-import-review.webp)

6. **Confirm and import … rows** works only after a review made with the current settings. If you change a column or an option afterwards, the review says **The settings changed since this review. Review again before you confirm.** and the button is greyed out until you click **Review again**. Contacts can also change between the review and the confirm (new chats, another import), so review again before a late confirm. **Cancel** drops the file. *(In this guide no import was confirmed after the review, so no field or tag was created.)*

   ![The end of the review with Confirm and import 14 rows](https://wsapme.com/guide-media/img/contacts-tags-segments-import/05b-import-review-confirm.webp)

7. You can leave the page while the import runs. When it is done, the report shows **Added**, **Updated**, **Already saved / duplicates** and **Not imported**, then the new contact fields, the tags added and, when workflows matched, whether they started. If some rows had problems, **Rows to check** lists them and **Download rows** gives you a file with just those rows and the reason, to fix and import again.

   ![The report of a finished import: 6 added](https://wsapme.com/guide-media/img/contacts-tags-segments-import/06-import-report.webp)

**A file exported from Wsapme v2.** When the first two columns are phone and name, or the file name contains "lead_id_" and a number (as a v2 lead group export does), a box **This looks like a Wsapme v2 lead group export** appears above **Match columns**. v2 kept people apart by lead group; here a tag does that. **Tag everyone with** suggests the file name (change it if you like) and **Add tag** puts it under **Tag every imported contact**. **Make the other … columns contact fields** sets the remaining columns to **+ New contact field…**. Nothing is copied from v2 by itself: export the lead group in v2, then import the file here.

![The Wsapme v2 box with Tag everyone with and Make the other 2 columns contact fields](https://wsapme.com/guide-media/img/contacts-tags-segments-import/12-import-v2-hint.webp)

The same page has **Sync a Google Sheet**: publish a sheet to the web as CSV, paste its link, choose **Every hour** or **Every day** and click **Add sheet**. You match the columns once and the sheet is then imported again on its own. Each mapped sheet has a box **Start workflows for contacts each run adds or tags**; a sheet mapped before this option existed shows "(now: only for contacts that were already saved)" *(from the documentation, not captured: no sheet was connected)*.

## Part 4 · A contact's page

1. In the list, click a contact's name.
2. **Details** holds the **Name**, **Email**, **Company**, **Job title**, **WhatsApp number** and **Notes**. Change them and click **Save**. To link a company, search for it in **Company** or type a new name to create it.
3. **Activity** shows the contact's messages, changes and your team's notes, newest first. Use **All**, **Messages**, **Changes** and **Notes** to narrow it down. Type in **Add a note for your team** (use @ to mention a teammate) and click **Add note**. Customers never see notes.
4. On the right:
   - **Tags**: click **Tag**, then tick a tag, or type a new name to create one. Click the **×** on a tag to take it off.
   - **Leads**: the deals with this contact, and **Create lead** (see [06 · Sales pages, Ads and leads](https://wsapme.com/guides/sales-ads-leads.md)).
   - **Files**: **Add a file** keeps quotes, photos and documents with the contact, up to 20 MB each. Only your team sees them.
   - **Relationships**: **Add** links family, colleagues or the person who referred them.
   - **Broadcasts**: opt the contact out of broadcasts (Part 9).
   - **About**: the **Owner**, whether the number is on WhatsApp (with a **Check** link), the **Source**, when the contact was added and the last message.

   ![A contact's page with the Tag button highlighted](https://wsapme.com/guide-media/img/contacts-tags-segments-import/07-contact-page.webp)

The buttons at the top are **Archive**, **Merge…**, **Data**, **Testing** (see [10 · Testing chatbots and Clear chat](https://wsapme.com/guides/testing-chatbots.md)) and **Delete**.

## Part 5 · Tags

Tags are free labels such as VIP or Wholesale. Use them to filter the list, build segments and choose a broadcast audience.

1. On the Contacts page click **Tags**.
2. Pick a colour, type a **New tag name** and click **Add**.
3. Each tag shows how many contacts have it. Owners and admins can rename a tag by typing over its name, change its colour, merge it into another tag or delete it. Deleting a tag only removes the label; the contacts stay.

You can also create a tag on the spot on a contact's page, in the import options and in the **Add tag** menu for ticked contacts: click **Tag**, type the new name and press Enter.

## Part 6 · Saved segments

A segment is a saved filter with a name. Its contacts update by themselves as your data changes, and you can pick it as the audience of a broadcast (see [03 · Broadcast and follow-ups](https://wsapme.com/guides/broadcast-and-followups.md)).

**From the list**

1. Filter the Contacts list, for example choose a tag.
2. Click **Segments**, then **Save current filters…**.
3. Type a **Name** and click **Save segment**.
4. Next time, click **Segments** and choose it under **Saved segments** to apply it. Click it again, or **Remove**, to go back to the full list.

**With the builder**

1. Click **Segments**, then **Manage segments**. Each segment shows how many contacts it has and how many are reachable (they can still receive broadcasts).

   ![The Segments page with one saved segment and its count](https://wsapme.com/guide-media/img/contacts-tags-segments-import/08-segments.webp)

2. Click **New segment**, type a **Name** and click **Add condition**. Conditions include **Has any of these tags**, **Has all of these tags**, **Has none of these tags**, **Added in the last … days**, **Chatted in the last … days**, **No messages for … days**, **Never messaged us**, **Has an open lead in**, **Owned by**, **Has no owner**, **Linked to a company**, **Number status**, **Came from**, **Lead score at least** and **Opted in only**. A contact must match all of them.
3. Click **Add an "or" group** when a contact may match one group or another.
4. The count at the bottom updates as you build. Click **Create segment**. *(The builder was opened but no segment was created with it in this guide.)*

On the Segments page the three icons next to a segment change its conditions, rename it and delete it. Deleting a segment does not touch its contacts.

## Part 7 · Change many contacts at once

1. In the Contacts list, tick the box next to each contact, or the box in the table header for the whole page. When the list has more contacts than fit on the page, a **Select all … contacts** link appears.
2. A bar shows how many are selected, with **Add tag**, **Remove tag**, **Opt out**, **More**, **Archive**, **Delete** and **Clear**. Under **More** you find **Set company…**, **Set owner…**, **Create leads…** and **Check WhatsApp numbers** (and **Set a field…** once you have custom fields).
3. After a bulk change, a line above the list offers **Undo** for an hour *(from the documentation, not captured: no bulk change was made in this guide)*.

## Part 8 · Duplicates, number check and completeness

**Duplicates**

1. On the Contacts page click **Duplicates**. Wsapme groups contacts that look like the same person and says why: **Same phone number** (written differently), **Same WhatsApp ID**, **Same email** or **Similar name at the same company**.
2. In a group, choose **Keep this one** on the contact to keep, untick any contact that should stay separate, then click **Merge**. Messages, conversations, leads, tags and history move to the contact you keep and the others are removed.
3. Click **Not duplicates** if they are different people; the group is not suggested again.
4. A merge can be undone for 30 days under **Recent merges** on the same page *(from the documentation, not captured: nothing was merged)*.

   ![The Duplicates page with one suggested group and the Merge button highlighted](https://wsapme.com/guide-media/img/contacts-tags-segments-import/09-duplicates.webp)

You can also open a contact and click **Merge…** to pick its duplicates by hand. The list refreshes every few minutes and after each merge, so check it again a few minutes after an import.

The **Number quality** box on the same page counts contacts that are **Not on WhatsApp**, have an **Invalid number**, or are **Not checked**. To check numbers, select contacts in the list and choose **More → Check WhatsApp numbers**; Wsapme asks WhatsApp through your connected number, up to 5,000 at a time *(not run in this guide)*.

**Number check**

**Number check** lists numbers that are not valid, or that WhatsApp rejected and look mistyped, with a suggested correction. Click **Fix** on a row or **Fix all suggested**; when the corrected number belongs to another contact, **Merge** is offered instead *(from the documentation, not captured: the demo workspace has no mistyped numbers, so the page says "No mistyped numbers found. Nice.")*.

**Completeness**

**Completeness** shows what share of your contacts have a **Name**, **Phone**, **Email**, **Company**, **Job title**, **Owner** and **Tags**. Click **… missing** next to a detail to open the list of contacts without it, then fill them in, in bulk where you can.

## Part 9 · Opt out, archive, export, erase and delete

- **Opt out.** A contact who replies STOP or UNSUBSCRIBE is opted out automatically. To do it yourself, open the contact and, under **Broadcasts**, add a **Reason (optional)** and click **Opt out of broadcasts**. Broadcasts and follow-ups then skip this contact, but you can still reply to their chats. **Opt back in** reverses it; only do that when the customer asks.
- **Archive.** Click **Archive** on a contact's page, or tick contacts and click **Archive**. Archived contacts leave the list and are not counted in segments or broadcasts. Choose **Archived** in the **Active** filter to see them and **Unarchive** to bring them back. A new message from an archived contact brings it back by itself *(from the documentation, not captured)*.
- **Export.** **Export** downloads the contacts that match your current filters as a CSV file *(from the documentation, not captured)*. It is greyed out while Demo mode is on. **Export to Google Sheets** needs the Google integration (see [08 · Integrations](https://wsapme.com/guides/integrations.md)).
- **One person's data.** On a contact's page, **Data** offers **Export all data (JSON)** and **Export all data (CSV, zip)** for a customer who asks for a copy of their data, and **Erase all data…** for a deletion request. Erasing asks you to type ERASE and then click **Erase permanently**: the contact, their conversations, notes, leads, tags and history are removed and cannot be brought back. *(The dialog was opened and closed; nothing was erased.)*
- **Delete.** **Delete** removes the contact. Their messages are kept, but tags, notes, fields and leads are lost.

## Part 10 · Companies

1. In the sidebar, under **Customers**, click **Companies**. The table shows each company's **Contacts**, **Open deals**, **Won (12 months)**, **Last chat** and **Owner**.

   ![The Companies list](https://wsapme.com/guide-media/img/contacts-tags-segments-import/10-companies.webp)

2. Click **Add company**, type a **Name** and, if you like, a **Website (optional)**. Companies are also created when you type a new name in a contact's **Company** box, or import a file with a Company column.
3. Click a company to open its page: **Details** (name, website, phone, email, address, owner, notes), **Activity** of all its contacts, **Group** (**Part of** another company, and its **Subsidiaries**), **People** (click **Add** to link contacts; a contact already at another company moves to this one) and **Deals**.
4. **Duplicates** on the Companies page suggests companies that look like the same business, for example the same name with and without "Sdn Bhd", the same website or the same phone. Choose **Keep this one** and click **Merge**, or **Not duplicates**. A company merge can also be undone for 30 days *(not run in this guide)*.

## Common problems

| Problem | What to do |
|---|---|
| **This number is already saved as …** when adding a contact | The person is already in your list. Open the contact named in the message, or the one in the yellow **Looks like a contact you already have** box, instead of adding a new one. |
| **Enter a valid phone number, including the country code** | Choose the right country with the flag first, then type the number without the country code. Typing another country code into the box does not change the country. |
| **Review import** shows **Invalid phone number** under **Problems** | Those rows have a number that is too short, too long or missing. If your numbers have no country code, choose the right country under **Options**. After the import, **Download rows** lists the rows that were not imported. |
| The import does not start and asks for a WhatsApp number column | Set one column to **WhatsApp number** under **Match columns**, then click **Review import** and **Confirm and import … rows** again. |
| **Confirm and import … rows** is greyed out | Click **Review import** (or **Review again** after you changed a setting) and wait for the result. |
| **This is a built-in contact detail** under a new field name | Choose that detail (for example **Email**) in the list for the column instead of **+ New contact field…**, or give the field another name. |
| Imported contacts did not enter a workflow | **Start workflows for these contacts** was off (the default). Start them by hand, or import with the switch on. |
| An import did not change contacts you already had | **Update contacts that already exist** was not ticked, so they only received the tags. Import the file again with it ticked. |
| **Save current filters…** is greyed out | Filter the list first (a tag, a search, an activity and so on). It is also greyed out while a saved segment is applied. |
| You cannot see **Import**, **Duplicates** or **Delete** | These are for owners and admins. Ask one of them. |
| **Export** is greyed out | Demo mode is on. Turn it off in the menu at the bottom left, then export. |
| A segment shows fewer **reachable** than **contacts** | Some contacts in it opted out or have no phone number, so a broadcast will skip them. |

## Related

- [03 · Broadcast and follow-ups](https://wsapme.com/guides/broadcast-and-followups.md): use a saved segment or tags as the audience.
- [06 · Sales pages, Ads and leads](https://wsapme.com/guides/sales-ads-leads.md): leads and the pipeline.
- [08 · Integrations](https://wsapme.com/guides/integrations.md): Google Sheets.
- [09 · Account, team and billing](https://wsapme.com/guides/account-team-billing.md): contact fields and who sees which contacts.
- [10 · Testing chatbots and Clear chat](https://wsapme.com/guides/testing-chatbots.md): the Testing menu on a contact.
