# DEB-135: Integrate with connected enterprise chat systems - Slack

> **Jira:** [DEB-135](https://divami.atlassian.net/browse/DEB-135)  
> **Source Report:** [20260315.md](../../reports/jira/20260315.md)

- **Status:** Start
- **Assignee:** Unassigned
- **Priority:** Medium
- **Created:** 2026-01-23T17:00:33.755+0530
- **Updated:** 2026-02-09T15:11:03.019+0530

**Description:**

As a user I should be able to query for information, using natural language prompts, that is present in the enterprise chat systems - Slack and that the application should be able to fetch the relevant data from connected chat systems and provide the response in natural language. Along with the response, the application should also provide a link to the source of the information (Eg. name of the chat space, date & time of chat)

**Architecture Diagram:**

```mermaid
sequenceDiagram
    participant User
    participant RT as RT Decision Agent
    participant DSA as Slack Data Source Agent
    participant Slack as Slack API

    User->>RT: Query in natural language
    RT->>DSA: A2A: search Slack (query, user_token)
    DSA->>Slack: GET /search.messages?query=...
    Slack-->>DSA: Messages + channel info
    DSA->>DSA: Rank by relevance
    DSA-->>RT: Relevant messages + source links
    RT-->>User: Natural language answer + channel/timestamp link
```
