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

Integration Service Activities

Last updated Feb 19, 2026

Create Pull Request

Project compatibility

Windows | Cross-platform

Overview

DescriptionAPI MethodAPI Path
The Create Pull Request activity opens a new pull request in a GitHub repository, either from a branch or by converting an existing issue. POST/repos/{owner}/{repo}/pulls

Input

ParameterDescriptionData Type
RepositoryRepository in which the pull request will be created.string
HeadSource branch containing the changes; can be branch or user:branch for cross‑repo PRs in the same network. string
BaseTarget branch to merge into; must exist in the current repository. string
TitleTitle of the pull request. Required when Issue number is not specified. string
BodyText body describing the pull request contents.string
Maintainer can modifyWhether maintainers can push commits to the source branch of the pull request. boolean
DraftWhether the pull request should be created in draft state. boolean
Issue numberIssue number in the repository to convert into a pull request. The issue title, body, and comments become the title, body, and comments on the new pull request. Required unless Title is specified. int32

Output

ParameterDescriptionData Type
Pull request IDInternal ID of the created pull request.int32
Pull request numberNumber uniquely identifying the pull request within the repository. int32
Create pull requestFull response object for the create‑pull‑request operation. Object
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.