Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(slack_app): request files:read scope so the bot can download attachments (#73568)

Vojta Bartoše5b5d35587b1
diff --git a/frontend/src/queries/schema.json b/frontend/src/queries/schema.json
index 9d6b5caf5512..0ea7018963f1 100644
--- a/frontend/src/queries/schema.json
+++ b/frontend/src/queries/schema.json
@@ -45273,6 +45273,7 @@
"canvases:write",
"channels:manage",
"commands",
+ "files:read",
"files:write",
"im:history",
"mpim:history",
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index 3b2961934bcd..d5f2ebdd624d 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -5507,6 +5507,7 @@ export enum SlackIntegrationScopeInReview {
CANVASES_WRITE = 'canvases:write',
CHANNELS_MANAGE = 'channels:manage',
COMMANDS = 'commands',
+ FILES_READ = 'files:read',
FILES_WRITE = 'files:write',
IM_HISTORY = 'im:history',
MPIM_HISTORY = 'mpim:history',
diff --git a/posthog/schema_enums.py b/posthog/schema_enums.py
index 0616ba690792..8757c853b125 100644
--- a/posthog/schema_enums.py
+++ b/posthog/schema_enums.py
@@ -3663,6 +3663,7 @@ class SlackIntegrationScopeInReview(StrEnum):
CANVASES_WRITE = "canvases:write"
CHANNELS_MANAGE = "channels:manage"
COMMANDS = "commands"
+ FILES_READ = "files:read"
FILES_WRITE = "files:write"
IM_HISTORY = "im:history"
MPIM_HISTORY = "mpim:history"