AppsPricingBlogTry it
GitHub logo
OpenAI (ChatGPT) logo

Connect GitHub to OpenAI (ChatGPT)

Use 12 documented GitHub triggers to run 24 documented OpenAI (ChatGPT) actions.

12 source triggers
24 target actions
Reverse direction supported

Why Connect GitHub & OpenAI (ChatGPT)?

Start with a GitHub event

Choose from 12 documented triggers, including New Branch Created, New Card in Column (Classic Projects), New Collaborator.

Run a OpenAI (ChatGPT) action

Send the event into one of 24 documented actions, such as Chat, Chat using Web Search, Chat using Functions.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

GitHub logo

GitHub

Triggers (12)

New Branch Created

Emit new event when a branch is created.

polling
New Card in Column (Classic Projects)

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

polling
New Collaborator

Emit new event when a collaborator is added

polling
New Commit

Emit new event when commits are pushed to a branch

polling
New Commit Comment

Emit new event when a commit comment is created

polling
New Discussion

Emit new event when a discussion is created

polling
New Fork

Emit new event when a repository is forked

polling
New Gist

Emit new events when new gists are created by the authenticated user. See the documentation

polling
New Issue Comment

Emit new event when a new comment is added to an issue or pull request

polling
New Label

Emit new event when a new label is created

polling
New Mention

Emit new event when you are @mentioned in a new commit, comment, issue or pull request. See the documentation

polling
New Notification

Emit new event when the authenticated user receives a new notification. See the documentation

polling

Actions (24)

Create Issue

Create a new issue in a GitHub repo. See the documentation

Search Issues and Pull Requests

Find issues and pull requests by state and keyword. See the documentation

Create Branch

Create a new branch in a GitHub repo. See the documentation

Create Gist

Allows you to add a new gist with one or more files. See the documentation

Create Issue Comment

Create a new comment in a issue. See the documentation

Create or Update File Contents

Create or update a file in a repository. See the documentation

Create Pull Request

Creates a new pull request for a specified repository. See the documentation

Create Repository

Creates a new repository for the authenticated user. See the documentation

Create Workflow Dispatch

Creates a new workflow dispatch event. See the documentation

Disable Workflow

Disables a workflow and sets the **state** of the workflow to **disabled_manually**. See the documentation

Enable Workflow

Enables a workflow and sets the **state** of the workflow to **active**. See the documentation

Get Commit

Get a commit in a GitHub repo. See the documentation

Get Current User

Gather a full snapshot of the authenticated GitHub actor, combining /user, /user/orgs, and /user/teams. Returns profile metadata (login, name, email, company, plan, creation timestamps) and trimmed lists of organizations and teams for quick role awareness. Helpful when you need to validate which user is calling the API, adapt behavior based on their org/team memberships, or provide LLMs with grounding before repository operations. See the documentation.

Get Issue

Get details of an issue in a GitHub repository. See the documentation

Get Issue Assignees

Get assignees for an issue in a GitHub repo. See the documentation

Get Repository Content

Get the content of a file or directory in a specific repository. See the documentation

Get Repository Info

Get information for a specific repository. See the documentation

Get Reviewers

Get reviewers for a PR (see documentation) or Commit SHA (see documentation).

Get Workflow Run

Gets a specific workflow run. See the documentation

List Branches

List branches for a repository using its owner/repo full name (for example, octocat/Hello-World). If you need to discover repository names first, use **List Repositories**. See the documentation

List Commits

List commits in a GitHub repo. See the documentation

List Gist Id Options

Retrieves available options for the Gist Id field.

List Gists for a User

Lists public gists for the specified user. See the documentation

List Organization Options

Retrieves available options for the Organization field.

OpenAI (ChatGPT) logo

OpenAI (ChatGPT)

Triggers (4)

New Batch Completed

Emit new event when a new batch is completed in OpenAI. See the documentation

polling
New File Created

Emit new event when a new file is created in OpenAI. See the documentation

polling
New Fine Tuning Job Created

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

polling
New Run State Changed

Emit new event every time a run changes its status. See the documentation

polling

Actions (24)

Chat

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See the documentation

Chat using Web Search

Chat using the web search tool. See the documentation

Chat using Functions

Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. See the documentation

Chat using File Search

Chat with your files knowledge base (vector stores). See the documentation

Summarize Text

Summarizes text using the Chat API. See the documentation

Classify Items into Categories

Classify items into specific categories using the Chat API. See the documentation

Translate Text (Whisper)

Translate text from one language to another using the Chat API. See the documentation

Create Transcription

Transcribes audio into the input language. See the documentation

Create Image (Dall-E)

Creates an image given a prompt returning a URL to the image. See the documentation

Create Embeddings

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. See the documentation

Create Completion (Send Prompt)

OpenAI recommends using the **Chat** action for the latest gpt-3.5-turbo API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older /completions API. See the documentation

Analyze Image Content

Send a message or question about an image and receive a response. See the documentation

Cancel Run (Assistants)

Cancels a run that is in progress. See the documentation

Chat with Assistant

Sends a message and generates a response, storing the message history for a continuous conversation. See the documentation

Chat With Responses API

Send a chat via the Responses API, mixing built-in tools and MCP server tools. See the documentation.

Convert Text to Speech (TTS)

Generates audio from the input text. See the documentation

Create Assistant

Creates an assistant with a model and instructions. See the documentation

Create Batch

Creates and executes a batch from an uploaded file of requests. See the documentation

Create Fine Tuning Job

Creates a job that fine-tunes a specified model from a given dataset. See the documentation

Create Moderation

Classifies if text is potentially harmful. See the documentation

Create Thread (Assistants)

Creates a thread with optional messages and metadata, and optionally runs the thread using the specified assistant. See the documentation

Create Vector Store

Create a vector store. See the documentation

Create Vector Store File

Create a vector store file. See the documentation

Delete File

Deletes a specified file from OpenAI. See the documentation

Integration Features

12 documented GitHub triggers
24 documented OpenAI (ChatGPT) actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported OpenAI (ChatGPT) to GitHub direction

Capability Examples

GitHub trigger → OpenAI (ChatGPT) action

Catalog example
GitHubGitHub

New Branch Created

OpenAI (ChatGPT)OpenAI (ChatGPT)

Chat

OpenAI (ChatGPT) trigger → GitHub action

Reverse direction
OpenAI (ChatGPT)OpenAI (ChatGPT)

New Batch Completed

GitHubGitHub

Create Issue

How It Works

1

Connect Apps

Authenticate your GitHub and OpenAI (ChatGPT) accounts

2

Choose a Trigger

Select a documented GitHub event

3

Choose an Action

Select the documented OpenAI (ChatGPT) operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 12 documented GitHub triggers.

Automated Actions

Run one of 24 documented OpenAI (ChatGPT) actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

OpenAI (ChatGPT) logoGitHub logo

Reverse Integration Available

Also connect OpenAI (ChatGPT) to GitHub for bidirectional automation

View Integration
GitHub logo

All GitHub Integrations

Explore all available GitHub connections

View All Integrations
OpenAI (ChatGPT) logo

All OpenAI (ChatGPT) Integrations

Explore all available OpenAI (ChatGPT) connections

View All Integrations

Ready to Connect GitHub & OpenAI (ChatGPT)?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free