Integrations

GitHub

31 actions for GitHub.

Add GitHub Issue Comment#

Add a comment to a GitHub issue.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubAddIssueComment

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Issue NumberNumberYes1Issue number to comment on.
Comment BodyTextYes{input}Comment text (supports Markdown).

Outputs#

OutputType
CommentAny
Comment IdAny
UrlAny
Issue NumberAny
RepositoryAny

Use as an agent tool#

Tool name: github_add_issue_comment

Add a comment to a GitHub issue

Add GitHub PR Comment#

Add a comment to a pull request in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubAddPRComment

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
PR NumberNumberYes0The pull request number to comment on.
CommentTextYes—The comment text to add to the pull request.

Outputs#

OutputType
CommentAny
Comment IdAny
UrlAny
Pr NumberAny
RepositoryAny

Use as an agent tool#

Tool name: github_add_pr_comment

Add a comment to a GitHub pull request

Commit Files to GitHub#

Commit one or more files to a GitHub repository in a single atomic commit. Reads files from the agent workspace and pushes them to the specified branch.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCommitFiles

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
BranchTextYes(empty)Target branch for the commit.
FilesTextYes{input}JSON array of files to commit. Each entry: {“local_path”: “output.html”, “repo_path”: “src/file.py”}. local_path accepts any path you wrote to via write_file (relative or absolute) and is resolved within the agent workspace.
Commit MessageTextNoAdd files via FlowHuntCommit message for the files.

Outputs#

OutputType
Commit ShaAny
Tree ShaAny
BranchAny
RepositoryAny
Files CommittedNumber
FilesList

Use as an agent tool#

Tool name: github_commit_files

Commit one or more files from the workspace to a GitHub repository in a single atomic commit. Provide a JSON array of files with local_path (absolute path in workspace) and repo_path (destination path in the repository).

Create GitHub Branch#

Create a new branch in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCreateBranch

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Branch NameTextYes(empty)Name of the new branch to create.
Source BranchTextNomainBranch to create the new branch from (default: main).

Outputs#

OutputType
Branch CreatedAny
Branch Already ExistedAny
Branch NameAny
Source BranchAny
RepositoryAny

Use as an agent tool#

Tool name: github_create_branch

Create a new branch in a GitHub repository from an existing branch

Create GitHub File#

Create a new file in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCreateFile

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
File PathTextYes(empty)Path for the new file in the repository.
ContentTextYes{input}File content to create.
Commit MessageTextYesCreate fileCommit message for creating the file.
BranchTextNo(empty)Branch to create the file in (leave empty for default branch).

Outputs#

OutputType
CommitAny
FileAny
PathAny
RepositoryAny

Use as an agent tool#

Tool name: github_create_file

Create a new file in a GitHub repository with specified content

Create GitHub Issue#

Create a new issue in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCreateIssue

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
TitleTextYes(empty)Issue title.
BodyTextNo{input}Issue description (supports Markdown).
LabelsTextNo(empty)Labels to add (comma-separated).
AssigneesTextNo(empty)Usernames to assign (comma-separated).

Outputs#

OutputType
IssueAny
Issue NumberAny
UrlAny
RepositoryAny

Use as an agent tool#

Tool name: github_create_issue

Create a new issue in a GitHub repository with title, body, and labels

Create GitHub Pull Request#

Create a new pull request in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCreatePR

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
TitleTextYes(empty)Pull request title.
Head BranchTextYes(empty)Branch containing the changes.
Base BranchTextYesmainBranch to merge into (e.g., ‘main’).
DescriptionTextNo{input}Pull request description (supports Markdown).
Create as DraftYes/NoNoOffCreate the PR as a draft.

Outputs#

OutputType
Pull RequestAny
Pr NumberAny
UrlAny
RepositoryAny

Use as an agent tool#

Tool name: github_create_pull_request

Create a new pull request in a GitHub repository

Create GitHub Repository#

Create a new GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubCreateRepo

Inputs#

FieldTypeRequiredDefaultWhat it does
Repository NameTextYes(empty)Name of the new repository.
DescriptionTextNo(empty)Repository description (optional).
PrivateYes/NoNoOffWhether the repository should be private.
Auto InitYes/NoNoOnInitialize the repository with a README.
Gitignore TemplateTextNo(empty)Gitignore template to use (e.g., ‘Python’, ‘Node’).
License TemplateTextNo(empty)License template to use (e.g., ‘mit’, ‘apache-2.0’).
OrganizationTextNo(empty)Organization to create the repository under (optional).

Outputs#

OutputType
RepositoryAny
NameAny
UrlAny
PrivateAny

Use as an agent tool#

Tool name: github_create_repo

Create a new GitHub repository

Delete GitHub Branch#

Delete a branch from a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubDeleteBranch

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Branch NameTextYes(empty)Name of the branch to delete.

Outputs#

OutputType
DeletedAny
Branch NameAny
RepositoryAny

Use as an agent tool#

Tool name: github_delete_branch

Delete a branch from a GitHub repository

Delete GitHub File#

Delete a file from a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubDeleteFile

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
File PathTextYes(empty)Path of the file to delete in the repository.
Commit MessageTextYesDelete fileCommit message for deleting the file.
BranchTextNo(empty)Branch to delete the file from (leave empty for default branch).

Outputs#

OutputType
SuccessAny
MessageAny
PathAny
RepositoryAny

Use as an agent tool#

Tool name: github_delete_file

Delete a file from a GitHub repository

Delete GitHub Repository#

Permanently delete a GitHub repository. This action is irreversible.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubDeleteRepo

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository to delete in format ‘owner/repo’.

Outputs#

OutputType
SuccessAny
MessageAny
RepositoryAny

Use as an agent tool#

Tool name: github_delete_repo

Permanently delete a GitHub repository. This action is irreversible and requires the GitHub App to have admin permission on the repository.

Fork GitHub Repository#

Fork a GitHub repository to an organization.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubForkRepo

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository to fork in format ‘owner/repo’.
OrganizationTextNo(empty)Organization to fork the repository to (required for GitHub App).

Outputs#

OutputType
RepositoryAny
NameAny
UrlAny
SourceAny

Use as an agent tool#

Tool name: github_fork_repo

Fork a GitHub repository to an organization

Get GitHub File#

Retrieve the contents of a file from a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetFile

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’. Example: ‘octocat/Hello-World’.
File PathTextYes(empty)Full path to a specific file (not a directory) in the repository. Example: ‘src/main.py’ or ‘README.md’.
Branch/Tag/CommitTextNo(empty)Branch, tag, or commit SHA (leave empty for default branch).

Outputs#

OutputType
FileAny
ContentAny
NameAny
PathAny
ShaAny
Is DirectoryAny
FilesAny
DirectoriesAny

Use as an agent tool#

Tool name: github_read_file

Read the contents of a single file from a GitHub repository. The path must point to a file, NOT a directory. If you do not know the exact file path, use github_search_code to find it first.

Get GitHub Issue#

Retrieve details of a single GitHub issue by number.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetIssue

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’ (e.g., ‘microsoft/vscode’).
Issue NumberNumberYes0The issue number to retrieve.

Outputs#

OutputType
IssueAny
Issue NumberAny
TitleAny
StateAny
UrlAny
RepositoryAny
LabelsAny
AssigneesAny

Use as an agent tool#

Tool name: github_get_issue

Retrieve details of a single GitHub issue by number including title, body, state, labels, and assignees

Get GitHub Issue Comments#

Retrieve comments on a GitHub issue.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetIssueComments

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Issue NumberNumberYes0The issue number to retrieve comments for.
LimitNumberNo30Maximum number of comments to return.

Outputs#

OutputType
CommentsAny
CountAny
Issue NumberAny
RepositoryAny

Use as an agent tool#

Tool name: github_get_issue_comments

Retrieve comments on a GitHub issue by issue number

Get GitHub Pull Request#

Retrieve details of a single GitHub pull request by number.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetPR

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’ (e.g., ‘microsoft/vscode’).
PR NumberNumberYes0The pull request number to retrieve.

Outputs#

OutputType
Pull RequestAny
Pr NumberAny
TitleAny
StateAny
UrlAny
RepositoryAny
MergedAny

Use as an agent tool#

Tool name: github_get_pull_request

Retrieve details of a single GitHub pull request by number including title, body, state, head/base branches, and merge status

Get GitHub Repository#

Retrieve details about a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetRepo

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’ (e.g., ‘microsoft/vscode’).

Outputs#

OutputType
RepositoryAny
NameAny
Full NameAny
DescriptionAny
UrlAny
StarsAny
ForksAny

Use as an agent tool#

Tool name: github_get_repository

Retrieve details about a GitHub repository including description, stars, forks, and more

Get GitHub Workflow Runs#

Get GitHub Actions workflow runs for a repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubGetWorkflowRuns

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Workflow IDTextNo(empty)Filter by workflow ID or filename (optional).
StatusTextNo(empty)Filter by run status (leave empty for all). Options: , queued, in_progress, completed
LimitNumberNo20Maximum number of runs to return.

Outputs#

OutputType
RunsAny
CountAny
RepositoryAny

Use as an agent tool#

Tool name: github_get_workflow_runs

Get GitHub Actions workflow runs for a repository with optional filtering

List GitHub Branches#

List branches in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubListBranches

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
LimitNumberNo100Maximum number of branches to return.

Outputs#

OutputType
BranchesAny
CountAny
RepositoryAny

Use as an agent tool#

Tool name: github_list_branches

List branches in a GitHub repository including their names and protection status

List GitHub Issues#

List issues in a GitHub repository with filtering options.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubListIssues

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
StateTextNoopenFilter by issue state. Options: open, closed, all
LabelsTextNo(empty)Filter by labels (comma-separated).
AssigneeTextNo(empty)Filter by assignee username.
LimitNumberNo30Maximum number of issues to return.

Outputs#

OutputType
IssuesAny
CountAny
RepositoryAny

Use as an agent tool#

Tool name: github_list_issues

List issues in a GitHub repository with filtering options for state, labels, and assignees

List GitHub Pull Requests#

List pull requests in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubListPRs

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
StateTextNoopenFilter by PR state. Options: open, closed, all
Base BranchTextNo(empty)Filter by base branch (e.g., ‘main’).
Sort ByTextNocreatedSort pull requests by this field. Options: created, updated, popularity, long-running
LimitNumberNo30Maximum number of PRs to return.

Outputs#

OutputType
Pull RequestsAny
CountAny
RepositoryAny

Use as an agent tool#

Tool name: github_list_pull_requests

List pull requests in a GitHub repository with filtering options

List GitHub Repositories#

List repositories accessible to your GitHub integration.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubListRepos

Inputs#

FieldTypeRequiredDefaultWhat it does
OrganizationTextNo(empty)Organization name to filter repositories (optional).
VisibilityTextNoallFilter by repository visibility. Options: all, public, private
Sort ByTextNoupdatedSort repositories by this field. Options: updated, created, pushed, full_name
LimitNumberNo30Maximum number of repositories to return.

Outputs#

OutputType
RepositoriesAny
CountAny

Use as an agent tool#

Tool name: github_list_repositories

List GitHub repositories accessible to the integration

List GitHub Workflows#

List GitHub Actions workflows in a repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubListWorkflows

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.

Outputs#

OutputType
WorkflowsAny
CountAny
RepositoryAny

Use as an agent tool#

Tool name: github_list_workflows

List GitHub Actions workflows in a repository

Merge GitHub Pull Request#

Merge a GitHub pull request.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubMergePR

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
PR NumberNumberYes1Pull request number to merge.
Commit TitleTextNo(empty)Title for the merge commit (optional).
Commit MessageTextNo(empty)Message for the merge commit (optional).
Merge MethodTextNomergeMerge method to use. Options: merge, squash, rebase

Outputs#

OutputType
SuccessAny
MessageAny
Pr NumberAny
RepositoryAny

Use as an agent tool#

Tool name: github_merge_pr

Merge a GitHub pull request using the specified merge method

Search GitHub Code#

Search for code across GitHub repositories.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubSearchCode

Inputs#

FieldTypeRequiredDefaultWhat it does
Search QueryTextYes{input}Code search query. Supports GitHub search syntax.
RepositoryTextNo(empty)Repository to search in (format ‘owner/repo’). Leave empty to search all accessible repos.
Sort ByTextNo(empty)Sort results (leave empty for best match). Options: , indexed
OrderTextNodescSort order. Options: desc, asc
LimitNumberNo30Maximum number of results to return.

Outputs#

OutputType
CountAny
QueryAny
RepositoryAny

Use as an agent tool#

Tool name: github_search_code

Search for code across GitHub repositories using keywords and filters

Search GitHub Issues#

Search for GitHub issues and pull requests.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubSearchIssues

Inputs#

FieldTypeRequiredDefaultWhat it does
QueryTextYes(empty)Search query string (e.g., ‘is:open label:bug’).
RepositoryTextNo(empty)Repository to scope the search to (format ‘owner/repo’). Leave empty to search all accessible repos.
Sort ByTextNo(empty)Sort results by (leave empty for best match). Options: , comments, reactions, created, updated
OrderTextNodescSort order. Options: desc, asc
LimitNumberNo30Maximum number of results to return.

Outputs#

OutputType
IssuesAny
CountAny
QueryAny
RepositoryAny

Use as an agent tool#

Tool name: github_search_issues

Search for GitHub issues and pull requests using a query string

Search GitHub Repositories#

Search for GitHub repositories accessible to the integration.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubSearchRepos

Inputs#

FieldTypeRequiredDefaultWhat it does
QueryTextYes(empty)Search query string (e.g., ’language:python stars:>100’).
Sort ByTextNo(empty)Sort results by (leave empty for best match). Options: , stars, forks, updated
OrderTextNodescSort order. Options: desc, asc
LimitNumberNo30Maximum number of results to return.

Outputs#

OutputType
RepositoriesAny
CountAny
QueryAny

Use as an agent tool#

Tool name: github_search_repos

Search for GitHub repositories using a query string

Trigger GitHub Workflow#

Trigger a GitHub Actions workflow dispatch event.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubTriggerWorkflow

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Workflow IDTextYes(empty)Workflow ID or filename (e.g., ‘ci.yml’ or ‘12345’).
RefTextNomainBranch or tag to run the workflow on.
Inputs (JSON)TextNo—Workflow inputs as a JSON object (optional).

Outputs#

OutputType
SuccessAny
MessageAny
Workflow IdAny
RefAny
RepositoryAny

Use as an agent tool#

Tool name: github_trigger_workflow

Trigger a GitHub Actions workflow dispatch event on a specified branch or tag

Update GitHub File#

Update an existing file in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubUpdateFile

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
File PathTextYes(empty)Path of the file to update in the repository.
ContentTextYes{input}New file content.
Commit MessageTextYesUpdate fileCommit message for updating the file.
BranchTextNo(empty)Branch to update the file in (leave empty for default branch).

Outputs#

OutputType
CommitAny
FileAny
PathAny
RepositoryAny

Use as an agent tool#

Tool name: github_update_file

Update an existing file in a GitHub repository with new content

Update GitHub Issue#

Update an existing issue in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubUpdateIssue

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
Issue NumberNumberYes0The issue number to update.
TitleTextNo(empty)New title (leave empty to keep current).
BodyTextNo—New description (leave empty to keep current).
StateTextNo(empty)New state (leave empty to keep current). Options: , open, closed
LabelsTextNo(empty)New labels (comma-separated, leave empty to keep current).

Outputs#

OutputType
IssueAny
Issue NumberAny
UrlAny
RepositoryAny

Use as an agent tool#

Tool name: github_update_issue

Update an existing issue in a GitHub repository including title, body, state, and labels

Update GitHub Pull Request#

Update an existing pull request in a GitHub repository.

Plans: Trial, Pro, Premium, Enterprise · Type: GitHubUpdatePR

Inputs#

FieldTypeRequiredDefaultWhat it does
RepositoryTextYes(empty)Repository name in format ‘owner/repo’.
PR NumberNumberYes0The pull request number to update.
TitleTextNo(empty)New title (leave empty to keep current).
BodyTextNo—New description (leave empty to keep current).
StateTextNo(empty)New state (leave empty to keep current). Options: , open, closed

Outputs#

OutputType
Pull RequestAny
Pr NumberAny
UrlAny
RepositoryAny

Use as an agent tool#

Tool name: github_update_pull_request

Update an existing GitHub pull request including title, body, and state (open/closed)