Skip to content

Commit 6bb0a85

Browse files
committed
.
1 parent fcf571e commit 6bb0a85

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

docs/integrations/slack.mdx

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Slack Integration"
2+
title: "Integration for Slack"
33
sidebarTitle: "Slack"
44
icon: "slack"
55
---
@@ -8,7 +8,7 @@ Connect Codegen to your Slack workspace to enable seamless communication between
88

99
## Capabilities
1010

11-
The Slack integration allows agents to interact within your designated channels:
11+
The integration for Slack allows agents to interact within your designated channels:
1212

1313
- **Send Messages:** Post updates, ask questions, report results, and notify team members.
1414
- **Read Messages:** (Optional) Agents can be configured to read messages in specific channels to gather context or respond to requests (requires careful permission setup).
@@ -23,17 +23,45 @@ Agents use Slack primarily for communication and notifications:
2323
- **Sharing Results:** Posting links to created PRs, summaries of changes, or errors encountered.
2424
- **Notifications:** Alerting the team about build failures, successful deployments, or critical issues identified.
2525

26+
## Message Response Behavior
27+
28+
Codegen responds to the following messages in Slack:
29+
30+
- **Direct Messages:**
31+
32+
- Responds to any DM sent to the Codegen app for Slack
33+
- Has visibility into previous messages in the conversation (not just threaded replies)
34+
- This provides a more natural conversation experience as many users don't thread messages in DMs
35+
36+
- **Channel Messages:**
37+
- Responds to any message that @mentions Codegen in channels where the app for Slack is installed
38+
- Only has visibility into the local context of the thread/conversation
39+
- Sending subsequent messages within a thread routes to the same agent
40+
- New messages in an active thread will interrupt the agent if it's currently working
41+
42+
## Data Privacy and Security
43+
44+
**Message Content Handling:**
45+
46+
- **Third-Party LLM APIs:** To provide its core functionality, Codegen shares message content with third-party Large Language Model (LLM) APIs, specifically OpenAI and Anthropic.
47+
- **Data Retention:** Outside of the LLM API interactions, message content is retained by Codegen solely for the purpose of displaying it within the Codegen user interface.
48+
- **Metadata from Private Channels:** When messages from private Slack channels are processed, Codegen does not expose private metadata, such as the original author's name or username, in the Codegen web app.
49+
50+
**User Permissions and Access Control:**
51+
52+
Codegen's actions on connected repositories are governed by the permissions of the user who initiated the interaction via Slack. The bot itself does not have independent permissions to repositories. Access to repositories and the ability to trigger actions are determined by the Codegen user's authenticated account and their associated repository permissions. We recommend configuring channel access carefully during installation to ensure the Codegen app for Slack is only present in channels where its use is appropriate.
53+
2654
## Installation
2755

28-
Add the Codegen Slack App to your workspace to enable agent communication.
56+
Add the Codegen app for Slack to your workspace to enable agent communication.
2957

3058
<Card
3159
title="Add Codegen to Slack"
3260
icon="slack"
3361
href="https://codegen.sh/integrations"
3462
>
35-
Install the Codegen app from the Slack Marketplace and choose the channels it
36-
can access.
63+
Install the Codegen app for Slack from the Slack Marketplace and choose the
64+
channels it can access.
3765
</Card>
3866

3967
<Note>

0 commit comments

Comments
 (0)