Skip to content

Comments

Bugfix: Handling Slack messages with file attachments#159

Open
egenvall wants to merge 9 commits intospacedriveapp:mainfrom
egenvall:bugfix/slack-images
Open

Bugfix: Handling Slack messages with file attachments#159
egenvall wants to merge 9 commits intospacedriveapp:mainfrom
egenvall:bugfix/slack-images

Conversation

@egenvall
Copy link
Contributor

@egenvall egenvall commented Feb 23, 2026

Issue

Currently Slack subtype messages are ignored, but we need to allow FileShare type messages to parse attachments sent in chat.

Slack file assets are also private, so the bot needs header auth to properly download them.
Slack also uses some redirects which strips the Auth Header - so we need to manually deal with the redirects for Slack.

Outcome

Before: Sending a message like "Analyze this image" would hang and yield no response.
With subtype support: The message is parsed but errors out on provider API level due to no headers
With Subtype and Header: The asset is successfully parsed and accessed by the bot and can be processed and the outcome returned in Slack.

Input Example 1

Screenshot 2026-02-23 at 08 32 23

Input Example 2

"Ingest and analyze this CSV: {csv file}".

@jamiepine
Copy link
Member

@tembo review please

@tembo
Copy link

tembo bot commented Feb 23, 2026

@jamiepine I'm working on your request now and will update you when I'm done.

View on Tembo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants