> For the complete documentation index, see [llms.txt](https://docs.inogic.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.inogic.com/textsms4dynamics/features/store-message-history-in-message-sessions.md).

# Store Message History in Message Sessions

TextSMS4Dynamics provides the functionality to store message history in message sessions. This means that when you communicate with customers within the CRM, the message history is recorded and stored as a message session.

Users can maintain **message history** associated to each **Record with** **Dynamics 365 CRM** and track communication.

* To means the customer/partner with whom you would be messaging.
* **Regarding** defines the associated **Record**. (Record that was created from within the Message UI)
* **“Start /End Date & Time”** will be mentioned for each session. (Each message session will be maintained for 24 hours as per UTC Standard Time.)
* **Configuration** describes from which channel you are communicating.

**Below is a screenshot showcasing the list view of the message sessions.**

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

**Message History** can also be accessed from the **Message UI**.

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

{% hint style="success" %}
For further queries, reach out to us at <crm@inogic.com>
{% endhint %}


---

# 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 dynamically by asking a question.

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

```
GET https://docs.inogic.com/textsms4dynamics/features/store-message-history-in-message-sessions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
