Skip to content

feat(slack): Add file upload action to Slack tool #47600

@funkoff

Description

@funkoff

Summary

Add an uploadFile action to the Slack tool to enable agents to upload files (images, documents, etc.) to Slack channels and DMs.

Use Case

When working with visual assets (app screenshots, diagrams, generated images), the agent currently cannot share these directly via Slack. Users have to manually download and re-upload files, breaking the workflow.

Proposed Implementation

Add a new action using Slack's files.uploadV2 API:

{
  "action": "uploadFile",
  "channelId": "C123",
  "filePath": "/path/to/file.png",
  "filename": "screenshot.png",
  "title": "App Screenshot",
  "initialComment": "Here's the latest screenshot"
}

Requirements

  • Bot token needs files:write scope
  • Support for common file types (images, PDFs, text files)
  • Optional: support for uploading multiple files in one action

Related

Current Slack skill supports: reactions, pins, send/edit/delete messages, member info, emoji list — but no file operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions