Portal Community
This is a webhook trigger node. The GitHub node does NOT call the GitHub API. It receives inbound webhook events sent by GitHub when activity happens in your repositories. When GitHub fires a matching event to the BizFirst endpoint, this node starts a workflow run and passes structured event data to downstream nodes.

Supported Event Types

Event TypeGitHub ActivityBizFirst Endpoint
pushOne or more commits pushed to a branch or tagPOST /webhooks/github/push
pull_requestPR opened, closed, merged, reviewed, labelled, or updatedPOST /webhooks/github/pull-request
issuesIssue opened, edited, closed, labelled, assigned, or milestonedPOST /webhooks/github/issues
releaseRelease published, pre-released, edited, or deletedPOST /webhooks/github/releases
workflow_runGitHub Actions workflow completed, requested, or in-progressPOST /webhooks/github/workflow

How to Configure the GitHub Webhook

After saving your GitHub node in BizFirst, point GitHub to the BizFirst endpoint for each event type you want to handle:

  1. In your GitHub repository (or organisation), go to Settings > Webhooks > Add webhook.
  2. Set Payload URL to the BizFirst endpoint for the event type — for example https://app.bizfirstai.com/webhooks/github/push.
  3. Set Content type to application/json.
  4. If using WebhookSecret, paste the same secret value in both GitHub and the BizFirst node settings.
  5. Select the specific events to send (push, pull_request, issues, etc.) or choose "Send me everything".
  6. Save the webhook. GitHub will send a ping event — the node will receive it but will not start a workflow run.
WebhookSecret: It is strongly recommended to set a WebhookSecret. When set, BizFirst verifies the HMAC SHA256 signature in the x-hub-signature-256 header sent by GitHub. Events with invalid signatures are rejected before any workflow is started.

Filtering Events

The node settings let you filter which events actually trigger a workflow run. Filters include allowed repositories, organisations, branches, PR actions, and issue actions. Events that do not pass the configured filters are silently discarded — the workflow is never started.

Output Data

Each event type produces structured output fields that downstream nodes can reference. All events include common fields (repository name, owner, sender, timestamp) plus event-specific fields:

Use Cases

Auto-Deploy on Push to Main

When a push event arrives for the main branch of your production repository, trigger a deployment pipeline — run tests, update staging, notify the team in Slack, and promote to production after approval.

PR Review Bot

When a pull request is opened, run automated checks — post a comment with the diff summary, assign reviewers based on file ownership rules, and label the PR with the affected service area.

Auto-Close Stale Issues

When an issue is labelled "stale" by a triage workflow, trigger a BizFirst workflow that adds a closing comment, closes the issue after 7 days of no activity, and logs the closure in your project management tool.

Release Notes Generation

When a release is published, collect all merged PRs since the previous tag, generate formatted release notes, post them to Confluence, and notify the product team in Slack.

CI Failure Alert

When a workflow_run event arrives with conclusion failure, page the on-call engineer, create a GitHub issue, and post the failure details to the engineering channel.

In This Guide

Configuration

All settings with descriptions — secrets, filters, access controls, and idempotency.

Input & Output

Full output field tables for each event type — push, pull_request, issues, release, workflow_run.

Examples

Five examples: auto-deploy on push, PR review bot, stale issue close, release notes, and CI failure alert.