SharePoint download file action

Use the Download file action to download a file from a folder in your SharePoint site.

Prerequisites

Ensure that you are authenticated before initiating any SharePoint action. For more details, see SharePoint authenticate action.

Procedure

  1. From the Actions pane, select SharePoint > Folder and file > Download file and place it in the canvas.

    SharePoint download file
  2. In the Site field, select one of the following options:
    • Default site: The site name used during authentication is considered the default site.
    • Other site: If you want to choose a different site, specify the different site name.
  3. In the File path field, specify the file path followed by the file name.
    Note: The file path must contain the main Document Library folder name followed by the parent folder (if any) and the file name (for example: Shared Documents/Test_docs/Test File). You must specify the file extension only if the file name contains the extension in SharePoint.
  4. In the Destination folder field, specify the local folder path where you want to download the file.
  5. In the Session field, select one of the following options:
    • Session name: The name you provided for the session during authentication.
    • Variable: Select a variable which contains the session name.
  6. In the File details field, select one of the following options:
    • Multiple variables: Add a key-value pair to store the file details.
    • Dictionary: Select a dictionary variable to store the file details.
The specified file is downloaded to the destination folder.