> For the complete documentation index, see [llms.txt](https://en.help.firstline.cc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://en.help.firstline.cc/feature/crm/contact/ke-hu-he-bing.md).

# Customer merge

## Instructions

"Customer Merge" feature provides an effective solution for handling and consolidating duplicate customer records within an organization. With this feature, you can merge multiple duplicate customer records into a single record, ensuring the cleanliness and accuracy of the database.

{% hint style="warning" %}
**Customer merge rule: secondary records will be permanently deleted**

**During the merge process, all associated data of secondary customers, such as service records, work orders, and other related information — will be transferred to the primary customer profile. Other fields will be updated according to the merge order and will not be stacked.**

**After the merge is complete, those secondary customer records will be permanently deleted and cannot be recovered.**
{% endhint %}

## Customer merge rules and example explanation

* **Data transfer**: All related associated data such as service records, work orders, and contact information will be automatically transferred to the primary customer after merging.
* **Field update method**: Customer fields and custom fields will be updated according to the merge order, rather than stacking different data.
* **Update conditions**:
  * If a field of the merging customer is empty, the original data of the primary customer will be retained.
  * If the primary customer's field already has a value, it will not be overwritten during the merge.
* **Tag field:**&#x46;or customer tag fields, a "merge" approach will be used: the tags of the merging customer will be appended to the primary customer, and the primary customer's original tags will be retained.

### Scenario description

<table><thead><tr><th width="163.87109375">Existing and custom fields</th><th width="113.94140625">Primary customer A</th><th width="115.61328125">Merging customer B</th><th width="138.14453125">Merge result</th><th>Instructions</th></tr></thead><tbody><tr><td>Blood type field</td><td>A</td><td>AB</td><td>A</td><td>Primary customer's field already has a value</td></tr><tr><td>Notes field</td><td>Important customer, please prioritize</td><td>Annual VIP</td><td>Important customer, please prioritize</td><td>Primary customer's field already has a value</td></tr><tr><td>Height field</td><td>180</td><td>(empty)</td><td>180</td><td>Primary customer's field already has a value</td></tr><tr><td>Store field</td><td></td><td>Da'an, Wanhua</td><td>Da'an, Wanhua</td><td>Because A has no data, B's data is used to update</td></tr></tbody></table>

## Perform merge

When you need to merge duplicate customer records, simply go to the specific single customer record page and click the "Customer Merge" button. This action will trigger the merge interface, providing an intuitive environment to search for and select the customer records to be merged.

In the merge interface, you can use various search criteria such as "name", "ID number", "phone number", or "member number" to quickly locate relevant customer records. After finding the target customer, you will have the opportunity to review and decide whether to add them to the processing list for merging.

<figure><img src="https://3300265106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MNRu7dk70ei7JV9HlW9%2Fuploads%2FcKtjTO3PHy8tjWbX5hSM%2Fimage.png?alt=media&amp;token=a029f191-3f38-4046-a28f-66aef218e5a8" alt=""><figcaption></figcaption></figure>

If you need to merge customer records, please follow the steps below:

1. **Find customer**: Use the search function to find the customer to be merged.
2. **Add to merge list**: After selecting a customer, click the "Add" button to add them to the merge list.
3. **Adjust merge order**: In the merge list, adjust the customer order as needed.
4. **Execute merge**: After confirming everything is correct, click the "Merge" button to complete the operation.
