# WhatsApp4Dynamics Settings

The WhatsApp4Dynamics Settings entity is created to centrally manage and configure key features such as security permissions, AI capabilities within Dynamics 365.

After the license is activated, the system automatically creates the WhatsApp4Dynamics Settings entity along with a default configuration record.

{% hint style="info" %}
**Note:** If existing customers are unable to see this entity, ensure that the WhatsApp4Dynamics license is activated again, as this process creates the required settings entity in the system.
{% endhint %}

<figure><img src="/files/WvomNhHpcOUkKqrYXGFQ" alt=""><figcaption></figcaption></figure>

### Security & Permissions

WhatsApp4Dynamics provides role-based security to ensure controlled and secure access to chat functionalities. Each feature can be restricted based on user roles, allowing organizations to define who can perform specific actions within the system.

Security roles are displayed along with their associated Business Units. This helps administrators clearly identify and select the correct role for a specific business unit.

<figure><img src="/files/nhSnSDEfrfeGQn6Pbz2s" alt=""><figcaption></figcaption></figure>

### Key Capabilities Controlled by Security Roles

Each of the following actions can be restricted using security roles:

<figure><img src="/files/YzIe2XqrfniPahyRrjDr" alt=""><figcaption></figcaption></figure>

#### 1. Authorized Roles to Initiate Chat

Only users assigned to authorized roles can start a new WhatsApp conversation.

* If a user does not have permission, they will not be able to initiate a new chat.

<figure><img src="/files/VPJQA6OyBtyIgc1qIrkc" alt=""><figcaption></figcaption></figure>

* Even after a chat session ends, users without this permission will not be able to start a new conversation, even if they were the previous chat session owner.

#### 2. Authorized Roles to Export Chat

* Defines which users, based on their assigned security roles, are allowed to export chat history.
* However, the Export option will be visible but not clickable for users without the required permission.

<figure><img src="/files/3EcngiZxwWvEeRia9Jqk" alt=""><figcaption></figcaption></figure>

#### 3. Authorized Roles to Block Chat

Controls the ability to block chats.

* The Block button may be visible but disabled (non-clickable) for users without the required permission.

<figure><img src="/files/RVpZtHo7jDVcOILsnpO6" alt=""><figcaption></figcaption></figure>

* If a user does not have this privilege, the Block button will be hidden on the chat interface.

<figure><img src="/files/KnguNxXKF1GICljnPsB3" alt=""><figcaption></figcaption></figure>

#### 4. Authorized Roles to Assign Chat

* Determines which users, based on authorized security roles, can assign chat sessions to other users.
* When a user does not have the required privilege, the **Assign button is visible but not clickable (disabled)** in the UI.

<figure><img src="/files/mOQVqxrNvl8fUoid3jZC" alt=""><figcaption></figcaption></figure>

* Even non-owners of the chat session can assign it to others, if they have the required role-based privilege.

### AI Setup

WhatsApp4Dynamics provides AI-powered features that can be enabled or disabled based on your business needs. Each setting controls how AI behaves in the Chat UI.

<figure><img src="/files/nSX5wZrF5sEmmeWEpON8" alt=""><figcaption></figcaption></figure>

#### InoWiz Copilot Panel

Controls the visibility of the AI assistant panel in the chat interface.

* Enabled: The InoWiz Copilot panel is displayed in the Chat UI, allowing users to access AI assistance such as summaries, suggestions, and queries.
* Disabled: The InoWiz Copilot panel will not be visible in the Chat UI.

#### AI-Based Knowledge Article Suggestions

Controls automatic suggestions of knowledge articles.

* Enabled: AI automatically suggests relevant knowledge articles based on the conversation.
* Disabled: No automatic suggestions are shown. Users must manually search for knowledge articles.

#### Create Record Suggestions

Controls AI suggestions for creating CRM records.

* Enabled: AI suggests actions like creating a Case, Lead, Appointment, etc., based on the conversation context.
* Disabled: No record creation suggestions are shown. Users must create records manually.

#### Text Rephrase Panel

Controls AI-powered message improvement.

* Enabled: Users can rephrase messages using AI for better clarity, tone, and grammar. The rephrase option is available in the UI.
* Disabled: The rephrase option will not be available in the Chat UI.

#### Reply Suggestions Count

Defines the number of AI-generated quick reply suggestions shown to the agent.

* When set, the system will display the specified number of reply suggestions during the conversation.

#### Sentiment Calculation Scope

**Sentiment calculation** is the process of analyzing customer messages to determine their emotional tone (Positive, Neutral, or Negative), helping agents understand customer mood and respond appropriately.

Choose how sentiment is analyzed:

* **All Messages**&#x20;

Considers the full conversation history and gives sentiment based on all messages within the conversation.

* **Recent X Number of Incoming Messages**

Once this option is selected, an additional field becomes visible to enter the number of incoming messages (X value).

This allows you to define exactly how many recent messages should be considered for sentiment calculation.

<figure><img src="/files/oXrrnx7KQtKaoEyj3mws" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/VEo0Bf6pZlglHZAq9bmB" alt=""><figcaption></figcaption></figure>

#### AI Response Tracking

* Store AI Response: When AI generates responses, users can give feedback using 👍 or 👎 (thumbs up/down).
* Record AI Responses: Choose how responses are stored in CRM:

**All Responses** - Stores every AI-generated response in CRM for tracking and analysis.

**Only on Feedback** - Stores AI responses only when the user provides feedback (👍 or 👎), helping capture selected interactions.

**None** - Does not store any AI-generated responses in CRM.

<figure><img src="/files/SvdaKn1jdcTZDvI1QGjB" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/whatsapp4dynamics/configuration/whatsapp4dynamics-settings.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
