# AI Agent Action can now access full conversation history

What's New\
The AI Agent action inside workflows now has full visibility into a contact's entire conversation history across every channel. Before responding, the agent can read every past conversations a contact has had before replying. This makes sure agent is contextually aware of all the messages.\
Channels covered: SMS, Email, WhatsApp, Instagram, Facebook Messenger, TikTok & more

<figure><img src="https://824498316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCmwMhVY6ilBdF39yf8lK%2Fuploads%2FKy3jwznAmAkRgwNBTi9b%2Fimage.png?alt=media&#x26;token=e2e567c0-05f8-4f8a-aa69-17aa4562330f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://824498316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCmwMhVY6ilBdF39yf8lK%2Fuploads%2FF5eH6YhWXKBYabcpUgUK%2Fimage.png?alt=media&#x26;token=cdfa0a49-4697-4b02-abaf-52a0193f58f6" alt=""><figcaption></figcaption></figure>

<figure><img src="https://824498316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCmwMhVY6ilBdF39yf8lK%2Fuploads%2Fo69e7T78kjyn1MVlWfcz%2Fimage.png?alt=media&#x26;token=a405d18a-952f-47cd-b031-cc2827db03fa" alt=""><figcaption></figcaption></figure>

What the agent sees for each conversation:

* Channel where the conversation took place
* Message bodies (last 20 per thread by default, up to 50)
* Message direction (inbound vs. outbound)
* Timestamps for every message
* AI-generated summary of the full conversation for quick context

How It WorksThe agent automatically uses the tool when mentioned in the system prompt or is required for achieving the goal.It automatically pulls in contact's conversation threads and recent messages across all channels. It also pulls an AI generated summary for a high level overview if conversations are really long.The agent then responds with full awareness of every prior interaction.Why It MattersPreviously, the agent's context started from the moment it took over a conversation. If a contact had been chatting on WhatsApp for a week, emailed twice, and DM'd on Instagram, none of that history was visible.Now the agent picks up the way a teammate would — reading the full thread before jumping in. A contact who emails about a quote on Monday and follows up via Instagram on Wednesday will hear from an agent on Friday that already knows about both, references the quote, and picks up exactly where things left off.<br>


---

# 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.ourarea.in/ss/ai/ai-agent-action-can-now-access-full-conversation-history.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.
