
Slack Info
CertifiedGet Slack file metadata
Slack Info
Get Slack file metadata
Fetches file details (name, title, uploader, timestamps, links). Requires files: read and the file ID.
type: io.kestra.plugin.slack.app.files.InfoExamples
Get information about a file
id: slack_file_info
namespace: company.team
tasks:
- id: get_file_info
type: io.kestra.plugin.slack.app.files.Info
token: "{{ secret('SLACK_TOKEN') }}"
fileId: "F1234567890"
Get file info after uploading
id: slack_upload_and_get_info
namespace: company.team
tasks:
- id: upload_file
type: io.kestra.plugin.slack.app.files.Upload
token: "{{ secret('SLACK_TOKEN') }}"
channels: ["#general"]
from: "{{ inputs.file }}"
filename: "report.pdf"
title: "Report"
- id: get_file_info
type: io.kestra.plugin.slack.app.files.Info
token: "{{ secret('SLACK_TOKEN') }}"
fileId: "{{ outputs.upload_file.id }}"
Properties
fileId *Requiredstring
File ID
Slack file ID (e.g., F123...); obtain from Upload output or Slack API.
token *Requiredstring
Slack token
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
Outputs
channels array
Channels where shared
created string
date-timeCreated at
externalId string
External file ID
externalType string
External file type
externalUrl string
External file URL
filetype string
File type
groups array
Groups where shared
id string
File ID
ims array
IMs where shared
isEditable boolean
Is editable
isExternal boolean
Is external
isPublic boolean
Is public
mimetype string
MIME type
mode string
File mode
name string
File name
permalink string
Public permalink
permalinkPublic string
Public permalink (alt)
prettyType string
Pretty file type
size integer
File size (bytes)
sourceTeamId string
Source team ID
subject string
File subject
thumbnail
Thumbnail
io.kestra.plugin.slack.app.models.FileOutput-Thumbnail
Thumbnail 160x160
Thumbnail 360x360
Thumbnail 480x480
Thumbnail 64x64
Thumbnail 80x80
timestamp string
date-timeFile timestamp
title string
File title
urlPrivate string
Private download URL
urlPrivateDownload string
Private forced-download URL
user string
Uploader user ID
userTeamId string
Uploader team ID