Docs
NodesTrigger Nodes
Edit Page on GitHub

GitHub Trigger

Triggers the flow when a specified GitHub event occurs in a repository

triggergithubwebhookrepoEasy0
Social

GitHub Trigger

0
Flow
Event Type
Action
Repository
Sender
Payload
Repository
Event Type

Description

The GitHub Trigger node allows you to automatically start a workflow in Deforge whenever a specific event occurs in a connected GitHub repository. By automatically configuring webhooks behind the scenes, this node listens for repository activity and wakes up your AI agents or automations in real-time. You can configure this node to listen to a specific event, such as:

  1. Pull Requests: Trigger a flow when a PR is opened, closed, edited, or merged.
  2. Issues & Comments: Start automations when a user opens a new bug report, or when someone leaves a comment on an existing issue.
  3. Code Pushes: Run a workflow every time new commits are pushed to the repository.
  4. Repository Engagement: Trigger flows when a new release is published, or when another user stars or forks your repository.

Common Use Cases

  • Building an autonomous AI code reviewer that gets triggered on new Pull Requests, reads the diffs, and automatically posts review comments.
  • Creating an AI triage agent that reads newly opened issues, categorizes them, and alerts your development team in Slack or Discord.
  • Triggering automated documentation generation or deployment pipelines whenever code is pushed to the main branch.
  • Sending a welcome message or automated response via the GitHub: Add Comment node whenever a user opens their first issue.

Inputs

The input connections this node accepts:

This node does not have any input ports.

Outputs

The output connections this node provides:

NameDescriptionTypeFlowThe Flow to triggerFlowEvent TypeThe type of GitHub event (e.g., issues, pull_request, push)TextActionThe specific action (e.g., opened, closed, created) if applicableTextRepositoryThe repository name (e.g., octocat/Hello-World)TextSenderThe username of the person who triggered the eventTextPayloadThe full JSON payload from GitHubJSON

Fields

The configurable fields this node provides:

NameDescriptionTypeRepositoryRepository to listen to (e.g., owner/repo)Value: ``TextEvent TypeThe GitHub event that will trigger this flowValue: pushOptions: * push pull_request issues issue_comment star fork releaseselectGitHubConnect to your GitHub accountDefaultValue: ``social

Last updated on