Send File to User

Send a file to a Slack user.

Options

Field Definition Type Required
Field Type Choose whether to send a file to user by User ID or Username.

Organizations with a large number of users may experience long execution times when selecting Username. Instead, select User ID to reduce execution time.

Dropdown TRUE

Input

Field Definition Type Required
User
User ID

Unique identifier of the user.

This field appears if Field Type is User ID.
String TRUE
Username Username of the Slack user. This field appears if Field Type is Username. String TRUE
File
File Content File content ID of the file to send to the user. String 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. String FALSE
Title A title to add to the file in the Slack message that contains the file. String FALSE
Initial Comment A comment to add to the file in the Slack message that contains the file. String 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.

String FALSE

Output

Field Definition Type
File ID ID of the sent file. String
Name

Name of the user.

String
Title Title of the sent file. String
File Type Type of the sent file. String
Timestamp Timestamp when the message was sent. String

Related topics

Slack connector

Workflow elements

Slack API