> 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/hui-ru-zi-ding-biao-ge.md).

# Import custom forms

The custom form import feature lets you batch import "customer table data with custom fields" into the system at one time. For example, data from your original Excel file or data exported from another system can be quickly transferred to FIRST LINE through this feature.

{% hint style="info" %}
Please make sure your import file (CSV) is **UTF-8** encoded, otherwise it cannot be imported.
{% endhint %}

## **Import Template Management**

You can use the list import feature by clicking **System Management ⇒ Custom Table Import**to enter the management page.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO-xbQyvFoSFZ_iV6vU%2F-MO-zZHuFmqDNDImklKV%2Fimage.png?alt=media\&token=741e0e32-0fde-49ae-b877-31344506561c)

As shown above, the page has three buttons: “Import Template”, “Import Records”, and “Add Import”.

1. **Import Template**: Before you import, you need to create a corresponding template for the import file and set the fields in the import file accordingly. After the initial setup, it will greatly reduce the inconvenience of importing and maintain high scalability and collaboration.
2. **Import Records**: Every import will be recorded for you, including when it started, when it ended, the number of successful imports, and even the original file, making it easy for you to manage the list history.
3. **Add Import button**: Clicking it will take you to the settings screen, which will be introduced in detail below.

## **Create Import Template**

### Basic Information

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO-xbQyvFoSFZ_iV6vU%2F-MO0-6P6yXx6rOauQxLR%2Fimage.png?alt=media\&token=383e4bb1-8343-47bd-b734-c9b227112f8d)

1. **Template Name**: Required field, used to identify the import template you are using. You can name it based on the list source or field content, such as XX Bank list or online shopping member list, making it easier for operators to identify.
2. **Description**: Additional template information. This field will also be shown in the template list for easier identification.

### Matching Conditions

You can in “**Matching Conditions**add a condition to determine whether it is a duplicate customer. When the system finds the same customer based on the condition, it will update it.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO0-RzEvpP8rX1QGW8h%2F-MO0-o10VU2-uvgfctvl%2Fimage.png?alt=media\&token=d6776499-fb5c-4b75-98c8-6d3b6cffb400)

{% hint style="warning" %}
When, under the specified conditions, the system finds**multiple customers with the same conditions**it will**not perform any updates**.
{% endhint %}

### Edit Template

You can click or drag the default fields on the right side of the template editor to add corresponding fields to your template on the left.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO02PpW-BK9gHL0UjcA%2F-MO05NpE6QVseMyZkU-5%2Fimage.png?alt=media\&token=893928ef-0e31-43a9-a0b4-03cb4c5c1712)

{% hint style="info" %}
If you need to add, remove, or modify the draggable default fields on the right, you can refer to “**Customer and Ticket Custom Fields**” to design your custom fields.
{% endhint %}

## Start Import

Please first confirm whether the data fields you want to import match the import template you have set up.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO02PpW-BK9gHL0UjcA%2F-MO02yBvJh54iAuKuX2r%2Fimage.png?alt=media\&token=79eb3b3a-146a-4d20-8be7-7147a41ba075)

After the import template is set up, find the template you want to use for this import and click “Start Import” on the right.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO02PpW-BK9gHL0UjcA%2F-MO037_Pc-5DuLWQpkIO%2Fimage.png?alt=media\&token=b73a0375-c1b7-4c5a-aa09-c7c01da4fd67)

{% hint style="info" %}
When uploading a file, if the source data contains a header row, please check Advanced Settings and do not import.
{% endhint %}

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO02PpW-BK9gHL0UjcA%2F-MO03NofSHgeLiqczf-L%2Fimage.png?alt=media\&token=4c513f20-bb53-4d96-9fe3-434331783a11)

After clicking “Import”, a progress bar will appear at the top of the page showing the import status. At this time, you can also switch to the “**Import Records**” tab to view information such as whether each record was uploaded successfully and the number of imported records.

In addition, if needed later, you can also click “**Download Import File**” behind that record to obtain the original data for that import at the time, making it convenient to manage and keep.

![](https://842546780-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MNRu7dk70ei7JV9HlW9%2F-MO02PpW-BK9gHL0UjcA%2F-MO03b8JuOS-RTniBS33%2Fimage.png?alt=media\&token=3c5cc732-3597-401c-bac7-25ea758490ed)
