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 a user by User ID or Username.

Select User ID to reduce execution time.

If you select a Username, you might experience long execution times if your org has many users.

Dropdown

TRUE

Input

Field Definition Type Required

User

User ID

Unique identifier of the user.

This field appears if Field Type is User ID.

Text

TRUE

Username

Username of the Slack user.

This field appears if Field Type is Username

Text

TRUE

File

File Content

Content ID of the file to send to the user.

Text

TRUE

File Name

Name of the file to send.

Include the file's extension.

If you don't provide an extension, the downloaded file doesn'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.

You might not get a return value from Slack for this field.

Text

Timestamp

Timestamp when the message was sent.

Text

Related topics

Slack connector

Workflow elements

Slack API