# Data Policy

## 1. Permissions in Slack

### Permissions

**channels:read**\
View basic information about public channels in a workspace.\
Reason for request: To retrieve the channel name.

**channels:history**\
View messages about public channels in a workspace.\
Reason for request: In order for the bot to respond to messages.

**chat:write**\
Send bot messages on allowed channels.\
Reason for request: To send direct messages.

**chat:write.public**\
Send messages to channels Assort isn't a member of.\
Reason for request: To create a poll on a channel where Assort is not a member.

**commands**\
Use `/poll` slash command.\
Reason for request: To create polls from slash commands.

**groups:read**\
View basic information about private channels that Assort has been added to.\
Reason for request: To retrieve the channel name.

**groups:history**\
View messages about private channels that Assort has been added to.\
Reason for request: In order for the bot to respond to messages.

**im:read**\
View basic information about direct messages that Assort has been added to.\
Reason for request: To retrieve the channel name.

**im:history**\
View messages and other content in direct messages that your slack app has been added to. Reason for request: In order for the bot to respond in direct messages.

**mpim:read**\
View basic information about group direct messages that Assort has been added to.\
Reason for request: To retrieve the channel name.

**team.billing:read**\
Get a billing plan for a workspace.\
Reason for request: To determine Assort's billing structure.

**team:read**\
Get the workspace name, icon and email domain.\
Reason for request: To display the team name and team image in the admin panel.

**users:read**\
Get the data of users in a workspace.\
Reason for request: To determine display language. To display names when voting in a survey. To display in the admin panel.

**app\_mentions:read**\
To view messages that have been mentioned to the app.\
Reason for request: In order for the bot to respond to messages.

### Slack Permissions Documentation

<https://api.slack.com/scopes>

## 2. Data stored by Assort

### **Data that can be retrieved via Slack**.

* Information about workspace
  * ID
  * Name
  * Profile Image
  * Price Plan
* Channel (set up for presenting questions)
  * ID
  * Channel Name

### **Information about members**.

* User
  * ID
  * Display Name
  * Profile Image
  * Position
  * Language

### **Service Information**.

* Poll Details
* Poll Responses

### **Other Settings**.

* Information about the various settings made on the Assort administration page

## 3. Data not stored by Assort

* Payment information
* User email addresses that can be retrieved from slack.


---

# 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://en-docs.assort.app/terms-and-policies/data-policy.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.
