> For the complete documentation index, see [llms.txt](https://help.delpha.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.delpha.io/delpha-for-salesforce/use-cases-setup/email-insight/components.md).

# Components

Capture insights from emails in Salesforce. Delpha Email Insight adds related lists, flows, and automation to keep Contacts enriched and up to date.

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

## [**D Insight Related List** (on Contact)](https://help.delpha.io/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”**](https://help.delpha.io/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`**](https://help.delpha.io/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.delpha.io/delpha-for-salesforce/use-cases-setup/email-insight/components.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
