Send File to Channel

Send a file to a Slack channel. You must be a member of the channel.

If your workspace has a large number of channels, this card may exceed the 60 second time limit while trying to populate the Channel dropdown list. This timeout can also occur when testing a card.

Options

Field Definition Type Required
Channel List of available channels.

This field shows a maximum of 200 public channels and 200 private channels. Even if the number of public or private channels is fewer than 200, API limitations may prevent some channels from appearing in the Channel dropdown list.

The dropdown displays only unarchived channels where the user who created the Slack connection is a member. To specify an unlisted public or private channel, select the Enter Channel ID option and enter the Channel ID.

If a failure occurs and no channels are listed in the dropdown, then only the Enter Channel ID option appears.

Dropdown

TRUE

Input

Field Definition Type Required

Channel (if Enter Channel ID is selected for Channel

)
Channel ID or Name Unique identifier or assigned name of the Slack channel.

Text

TRUE

File

File Content File content ID of the file to send to the channel.

Text

TRUE

File Name Name of the file to send. This should include the file's extension. If no extension is provided, the downloaded file won't have an extension associated with it.

Text

FALSE

Title A title to add to the file in the Slack message that contains the file.

Text

FALSE

Initial Comment A comment to add to the file in the Slack message that contains the file.

Text

FALSE

Thread Timestamp

Timestamp of another message's ts value. See Retrieving individual messages.

Note: Never use the ts value from a reply. Use the ts value of the reply's parent instead.

Text

FALSE

Output

Field Definition Type
File ID ID of the sent file.

Text

Name Name of the sent file.

Text

Title Title of the sent file.

Text

File Type Type of the sent file.

Text

Timestamp Timestamp when the message was sent.

Text

Related topics

Slack connector

Workflow elements

Slack API