Overview
The Download File activity downloads a specified SlackFile
object (File) and saves it to a local destination (Path).
To identify the SlackFile
object that you want to download, you first locate the file using the Search or Get Messages activities.
How it Works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Slack Scope activity to your project.
- Complete one of the following two options (A or B):
A. Add the Search activity inside the Slack Scope activity.
B. Add the Get Messages activity inside the Slack Scope activity. - Add the Download File activity after the Search or Get Messages activity.
- Enter values for the Input properties.
- Run the activity.
- Your input property values are sent to the Slack API where the Working with Files process occurs.


Properties
The values for the following properties are specified when adding this activity to your project in UiPath Studio.


Common
DisplayName
The display name of the activity.
Attributes | Details |
---|---|
Type |
|
Required | Yes |
Default value | Download File |
Allowed values | Enter a |
Notes | N/A |
Input
File
The specific file that you want to download.
Attributes | Details |
---|---|
Type |
UiPath.Slack.Models.SlackFile |
Required | Yes |
Default value | Empty |
Allowed values | Enter a |
Notes | To enter your
|
Path
The local destination where you want to save the downloaded file.
Attributes | Details |
---|---|
Type |
|
Required | Yes |
Default value | Empty |
Allowed values | Enter a |
Notes | If left empty, the activity saves the file to the directory of the automation project. |
Misc
Private
If selected, the values of variables and arguments are no longer logged at Verbose level.
Attributes | Details |
---|---|
Type | Checkbox |
Required | No |
Default value | Not Selected |
Allowed values | Selected or Not Selected |
Notes | N/A |
Example
The following image shows an example of the activity dependency relationship and input/output property values.
For step-by-step instructions and examples, see the Quickstart guides.


Updated 2 months ago