# Messaging

## Context:

The supervisor receives an e-mail requesting an update to an obsolete document. After reading the request, he realizes that he doesn't have a clear idea of how to respond, but uses a response proposal to answer quickly and efficiently.

contact database. To optimize his organization and facilitate future communications, he decides to create this contact directly from the e-mail received, enabling him to quickly record the necessary information while ensuring efficient follow-up of exchanges.

## Implementation in SIMAX

The supervisor receives the e-mail:

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

To see the proposed reply to the e-mail received, click on **\[\[Action]]**, and choose **Reply proposal.**

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

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

Trough **OpenAI**, and to the **API key** entered in S**ettings > Plug-in and options > \[Installation]**, SIMAX proposes an answer.

For more information, visit the following site:&#x20;

<https://help.openai.com/en/articles/4936850-where-do-i-find-my-openai-api-key>&#x20;

With **Open AI**, you can also create contacts (business customers, particular customers or suppliers) from an e-mail.

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

Click on the **“Action”** button, and select.

<figure><img src="/files/NG4GODdA9d8gQhlxbm4F" 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://doc.simax.fr/documentation-simax-anglais/crm/messaging.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.
