# AI Prompts

AI-driven capabilities, powered by configurable **AI Prompts**, enable organizations to analyze customer sentiment, control how AI interprets and responds to interactions, and visually represent customer emotions across chats and CRM records. These prompts act as structured instructions that guide the AI on how to think, analyze, and respond across different use cases such as sentiment detection, text refinement, and contextual assistance.

By transforming raw conversation data into clear, actionable insights, this approach provides agents with immediate visibility into a customer’s emotional state, allowing them to respond with the right tone, deliver more personalized interactions, and manage conversations more effectively to enhance the overall customer experience.

With AI Prompts, organizations can:

* Customize AI behavior based on business needs
* Allow agents to define instructions on how AI functionalities should work
* Reuse predefined prompts for faster interactions

After license activation, AI prompts are available by default, and users can create additional prompts for quick and repeated use.

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

### AI Prompt Configuration

<figure><img src="/files/5ndeXci08ITH3Wm70LSK" alt=""><figcaption></figcaption></figure>

Each field in AI Prompt configuration defines how the prompt is identified, prioritized, and applied within the system.

**Title**: used to assign a clear, user-friendly name to the prompt.\
**Unique Name:** automatically generated by the system based on the title and serves as an internal identifier.\
**Order**: controls how prompts are arranged and displayed in the user interface.\
**System Instruction:** contains predefined logic provided by the system. These instructions are available only in the default prompts provided by Inogic and come pre-configured and optimized after license activation.\
**User Instruction:** defines custom guidelines that direct how the AI should behave and respond. When both system and user instructions are present, user instructions take the highest priority and override system instructions.\
**Favourite:** allows users to mark prompts for quick access within the interface.\
**Prompt Target:** determines where the prompt will be applied, such as in indicators, text rephrasing, or within the AI panel.\
**AI Feature**: specifies the AI capability being used.\
**AI Model:** allows selection between the default model or a custom-configured model.\
Schema Details: define the technical structure and mapping required for the prompt to function correctly.

#### Favourite Prompts

* Favourite prompts appear in the InoWiz Panel on the chat interface.
* Based on order, top 5 marked favourite will be shown in the interface.
* Helps agents access AI suggestions instantly.

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

### Prompt Targets (Where the Prompt Appears)

You can control where the AI prompt is applied based on its purpose and functionality within the system.

**Text Rephrase** is used to improve the tone, grammar, and overall phrasing of messages. It appears in the text area while the user is typing, helping refine responses before sending.

**Indicator** is used to generate sentiment or emotion indicators. It is visible on the chat header as well as on related CRM records, allowing quick identification of customer sentiment.

**InoWiz Panel** is available within the chat interface, where the prompt provides contextual AI assistance and insights during conversations.

### &#x20;What Are AI Indicators?

AI Indicators are visual representations of customer sentiment generated by AI Prompts. They help agents quickly identify customer emotions without reading the entire conversation.

Indicators can include:   &#x20;

* Text labels (e.g., Happy, Neutral, Sad)
* Colors for quick visual recognition
* Emojis to make sentiment easier to understand briefly.

These indicators appear directly in chats and on CRM records, making emotional context instantly visible.

Indicators can be customized beyond WhatsApp4Dynamics default AI sentiments.

### AI Indicator Configuration

Indicator Settings define **how sentiment is visually represented**.

By default, the system provides **3 sentiments**:

* Positive
* Neutral
* Negative &#x20;

#### Accessing the Default Sentiment Prompt

To view and manage the default sentiment configuration, navigate to:

AI Prompts → Sentiment Analysis

* The default sentiment analysis prompt is pre-configured and ready to use. However, it is fully flexible and can be modified based on your business requirements. You can update the instructions, adjust how sentiments are interpreted, or customize how they are displayed.
* &#x20;If the default sentiment setup does not align with your needs, you also have the option to either deactivate it or delete it entirely. This allows you to create and use your own custom sentiment prompts for more tailored behavior and representation.

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

**Steps to Create a New Indicator Prompt:**

• Navigate to AI Prompts\
• Click on New\
• Fill in all the required details

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

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

* **Add Row** option allows you to create additional indicators.

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

* Select the required **Entity** for which the sentiment should be applied.

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

#### You can customize:

* Indicator text
* Emoji
* Color
* Description
* Number of sentiment levels

<figure><img src="/files/5I5oiIJ1vo9aePcAmxWh" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/1f6KS704bbwuiHLUtbJ3" alt=""><figcaption></figcaption></figure>

Click **Save**.

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

#### Entity-Specific Indicators

Indicators can be **entity-specific**, allowing sentiment to be stored and displayed per entity.

Only entities with record types configured will be displayed here.

E.g.  &#x20;

* Account
* Contact
* Lead

If sentiment is created for the Chat entity, it will be visible on the Chat entity as well as on the associated customer record (Contact, Account, Lead).

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

#### Entity-Specific Behavior (Example: Contact)

If configured for **Contact entity**:  &#x20;

* The text field will be on the Chat entity, and the user must add that entity in the Mapping Field on the prompt.
* Sentiment appears:  &#x20;

&#x20;     On the Contact record

* If the Contact is set as the **Customer**:

&#x20;     Sentiment appears both on **Chat entity** and **Contact entity**

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

#### Mapping Field

* To store sentiment data, you must create a text field on the Chat entity where the sentiment value will be saved.


---

# 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/ai-integration-inowiz-copilot/configuration/ai-prompts.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.
