# Configuring Record Types

Users need to configure **Record Types** for all those entities with whom they want to message. Also, at times a record can have **multiple phone numbers**. Messages will be sent to the phone numbers selected in the **‘Phone Number Field’**.

{% hint style="info" %}
**Note:** Against one Entity, only one Record Type can be created.
{% endhint %}

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FWqDG1SPJXIhWcyM4m305%2F21B.png?alt=media&#x26;token=118748b0-44cc-47ff-9348-0696a92f2b21" alt=""><figcaption></figcaption></figure>

* Click on **+New Record Type** to create New Record.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FBVMbkD6tu4K2chMyqqd1%2F22A.png?alt=media&#x26;token=4fdb8133-89aa-4228-b2a4-b4e2af64c548" alt=""><figcaption></figcaption></figure>

**Fill in the following details**

* **Record Type:** Select the entity to which the message should be sent.

{% hint style="info" %}
**Note: While configuring, in background, we have a logic to create field. Due to this, it is extremely important that System Admins give privileges to the users.**
{% endhint %}

* **Related record type:** Select entity to initiate chat related to entity set in record type
* **Compliance Field:** For the system to decide, whether the message should be sent, the message Compliance Field is used.The Compliance Field lists all the Boolean Fields within the Record.
  * If the value is selected as **Yes**, messages will be sent.
  * If the value is selected as **No**, messages will not be sent.

{% hint style="info" %}
**Note: In case Compliance Field is not set, the message will be directly sent without validation. In the screenshot below, we have selected ‘Allow Conversation’, you may select a field as per your preference.**
{% endhint %}

* **Phone Number Field:** In the **Phone Number Field**, all the multiple phone number fields within a Record are listed and you can choose whichever contact as preferred. But please note that the particular field selected should have a working contact number.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2F32ojcCzaFbIVyMspWvmZ%2FT4d%202.png?alt=media&#x26;token=77d38e8d-ac5e-4117-ab53-fa47592f677f" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Note: It is extremely important for the selected contact numbers to have Country Code**s.
{% endhint %}

* **Default Country Code:** Provide the required country code.
* **Priority Order:** lets you choose which type of record (e.g., Contact, Account) should be used first in the **customer field** when a chat comes in. If multiple records match, the system picks the one with the highest priority.

<figure><img src="https://272130504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M0QoyqUVI8_HaZ9FOSL%2Fuploads%2FiR7NmPgkARX92IDjgubd%2FT4d%203.png?alt=media&#x26;token=ffa7f02b-f9a2-4091-a728-e08ec9d5b605" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}
