Info Info
Info Certified

Get Slack file metadata

yaml
type: "io.kestra.plugin.slack.app.files.Info"
yaml
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"

yaml
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
SubTypestring
Formatdate-time
SubTypestring
SubTypestring
Definitions
thumb160string
thumb360string
thumb480string
thumb64string
thumb80string
Formatdate-time