Skip to content
For LLMsView as Markdown·

GitHub ​

Manage repositories, issues, pull requests, and actions via the GitHub API.

DetailValue
CategoryDev Tools
Base URLhttps://api.github.com
AuthenticationBearer Token
Endpoints7
Connector keygithub

Using GitHub in a workflow ​

  1. Go to Connections and click New Connection.
  2. Pick GitHub from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown. The full list is below.

Available endpoints ​

EndpointSummary
GET /repos/{owner}/{repo}Get a repository
GET /repos/{owner}/{repo}/issuesList repository issues
POST /repos/{owner}/{repo}/issuesCreate an issue
GET /repos/{owner}/{repo}/pullsList pull requests
POST /repos/{owner}/{repo}/pullsCreate a pull request
GET /repos/{owner}/{repo}/actions/runsList workflow runs
GET /user/reposList authenticated user repositories

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /repos/{owner}/{repo} ​

Get a repository

DetailValue
Operation IDdevtools.getRepo
MethodGET
Path/repos/{owner}/{repo}

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.getRepo.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

GET /repos/{owner}/{repo}/issues ​

List repository issues

DetailValue
Operation IDdevtools.listIssues
MethodGET
Path/repos/{owner}/{repo}/issues

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes
statequerystringNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listIssues.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

POST /repos/{owner}/{repo}/issues ​

Create an issue

DetailValue
Operation IDdevtools.createIssue
MethodPOST
Path/repos/{owner}/{repo}/issues

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes

Request Body ​

FieldType
titlestring
bodystring
labelsarray

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.createIssue.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

GET /repos/{owner}/{repo}/pulls ​

List pull requests

DetailValue
Operation IDdevtools.listPullRequests
MethodGET
Path/repos/{owner}/{repo}/pulls

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes
statequerystringNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listPullRequests.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

POST /repos/{owner}/{repo}/pulls ​

Create a pull request

DetailValue
Operation IDdevtools.createPullRequest
MethodPOST
Path/repos/{owner}/{repo}/pulls

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes

Request Body ​

FieldType
titlestring
headstring
basestring
bodystring

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.createPullRequest.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

GET /repos/{owner}/{repo}/actions/runs ​

List workflow runs

DetailValue
Operation IDdevtools.listWorkflowRuns
MethodGET
Path/repos/{owner}/{repo}/actions/runs

Parameters ​

NameLocationTypeRequired
ownerpathstringYes
repopathstringYes

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listWorkflowRuns.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked: fill them or the call will fail at runtime.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.

GET /user/repos ​

List authenticated user repositories

DetailValue
Operation IDdevtools.listUserRepos
MethodGET
Path/user/repos

Parameters ​

NameLocationTypeRequired
per_pagequeryintegerNo
sortquerystringNo

Using this endpoint in a workflow ​

  1. Add an API Call node to your workflow.
  2. Pick your GitHub connection from the Connection dropdown.
  3. In the Operation dropdown, select devtools.listUserRepos.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns ​

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream GitHub API reference.