# Components

When you install the Delpha package, you get these main components:

## [**D Insight Related List** (on Contact)](/delpha-for-salesforce/use-cases-setup/email-insight/setup.md#add-insights-to-contact-page-optional)

* A list you can add to the Contact page.
* Shows all insights linked to that Contact:
  * D Type (what kind of info it is)
  * D Value (the actual info found)
  * D Score (how confident the system is)
  * D Status (active, processed, etc.)

## [**Salesforce Flow – “Delpha Copy Insight Value to Contact”**](/delpha-for-salesforce/use-cases-setup/email-insight/setup.md#activate-the-copy-flow-optional)

* Automates updates.
* When active, it copies values from Insights to Contact fields (if conditions are met).
  * Default rules:
    * The Contact field is empty.
    * The Insight score is **≥ 70**.

## [**Apex Class – `DDQ_InsightEmail`**](/delpha-for-salesforce/use-cases-setup/email-insight/setup.md#using-the-ddq_insightemail-apex-class)

* For developers.
* Sends email text to Delpha, receives insights, and stores them in Salesforce.
* Works in 3 modes:
  * **Single Contact** → process one email.
  * **Batch up to 10** → process up to 10 emails at once.
  * **Batch 10–500** → Salesforce runs it as a background job.

## **Custom Object – `delpha__DDQ_ContactInsight__c`**

* Stores the Insights returned by Delpha.
* Each record = one insight linked to a Contact.
* Used by both the related list and the Flow.

***

Together, these components let admins configure, display, and automate Email Insights, while developers can extend and integrate it into custom processes.


---

# 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://help.delpha.io/delpha-for-salesforce/use-cases-setup/email-insight/components.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.
