activities
latest
false
UiPath logo, featuring letters U and I in white

Integration Service Activities

Last updated Feb 19, 2026

Download File

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI Path
The Download File activity retrieves the file from a GitHub repository at a specified path and reference. GET/repos/{owner}/{repo}/contents/{path}

Input

ParameterDescriptionData Type
RepositoryRepository containing the file; name is case‑insensitive.string
PathFile or directory path within the repository (for example, src/app/settings.json). string
ReferenceOptional commit, branch, or tag name; defaults to the repository’s default branch. string

Output

ParameterDescriptionData Type
Download File

File content for the requested path.

The downloaded file/attachment can be used as input in other Upload file/attachment activities of systems such as GitHub, Zendesk, Google Drive, OneDrive, Box, etc. In order to use the file, you must store it in a remote directory like Google Drive, OneDrive, etc. It is not possible to store the file in local directory.

file (IResource)
Note:
  • In API workflows, a single response object is returned as the output. Any required fields can be extracted directly from this object.
  • In RPA workflows, some output parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
  • Project compatibility
  • Overview
  • Input
  • Output

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.