What it is for
The GitHub component lets you automate repositories from flooows: create and update issues, comment, manage branches, create gists or dispatch GitHub Actions workflows. It is often used to notify the team about new pull requests, open issues from support forms or label issues automatically.
All triggers (New Pull Request, New Issue, New Push, New Release, etc.) are instant via webhook. When you pick the Repository, a webhook is registered on it, so the connection needs permission to manage repository webhooks.
Set up the connection
Authentication type: OAuth 2.0 (sign in with your account) · Custom credentials · API key or token
- 1Add a GitHub step and click "Connect".
- 2OAuth: sign in to GitHub and authorize access to the repositories you will use.
- 3Personal token: in GitHub go to Settings > Developer settings > Personal access tokens and create a token (classic or fine-grained) with the required permissions, for example repo and admin:repo_hook for triggers with a classic token. Paste it into the connection.
- 4GitHub App: install your app on the repositories with the right permissions and enter App ID or Client ID, Installation ID and Private Key. Actions will appear under the app's bot identity.
- 5Save the connection with a clear name.
| Connection field | Type | Required |
|---|---|---|
| App ID or Client ID | Text | Yes |
| Installation ID | Text | Yes |
| Private Key | Secret key | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Issue: choose the Repository, enter Title and Description, and add Labels or Assignees from earlier steps.
- Create Comment on Issue: map the Issue Number from the trigger and write the Comment.
- Update Issue: set State to closed and a State Reason to close resolved issues.
- Create Branch: provide Source Branch and New Branch Name, useful to prepare branches from a task.
- Trigger Workflow Dispatch: pick the Workflow, Branch or Tag and Workflow Inputs; enable Wait for Completion if the flow should wait for the result.
Tips
- •Use Find Issue before creating one to avoid duplicates.
- •With fine-grained tokens, grant access only to the repositories you need.
- •Raw GraphQL Query covers advanced cases without a dedicated action.
Triggers (14)
Events that can start a flow. Expand each one to see its fields.
New Pull RequestWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New StarWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New IssueWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New PushWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New DiscussionWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New Discussion CommentWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New BranchWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New CollaboratorWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New LabelWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New MilestoneWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New ReleaseWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New CommitWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New Review RequestWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
New MentionWebhook (paste the URL in the app)1 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
Actions (19)
Operations available as flow steps. Expand each one to see its fields.
Create Issue5 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Title | Text | Yes |
| Description | Long text | No |
| Labels | Multi-select | No |
| Assignees | Multi-select | No |
Get Issue Information2 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue Number | Number | Yes |
Create Comment on Issue3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue Number | Number | Yes |
| Comment | Long text | Yes |
Lock Issue3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue Number | Number | Yes |
| Lock Reason | List (from your account) | No |
Unlock Issue2 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue Number | Number | Yes |
Raw GraphQL Query2 fields
| Field | Type | Required |
|---|---|---|
| Query | Long text | Yes |
| Variables | Key / value pairs | No |
Create Pull Request Review Comment6 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Pull Request Number | Number | Yes |
| Commit SHA | Text | Yes |
| File Path | Text | Yes |
| Comment | Long text | Yes |
| Position | Number | Yes |
Create Commit Comment5 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Commit SHA | Text | Yes |
| Comment | Long text | Yes |
| File Path | Text | No |
| Position | Number | No |
Create Discussion Comment3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Discussion Number | Number | Yes |
| Comment | Long text | Yes |
Add Labels to Issue3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue | List (from your account) | Yes |
| Labels | Multi-select | Yes |
Create Branch3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Source Branch | List (from your account) | Yes |
| New Branch Name | Text | Yes |
Delete Branch2 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Branch | List (from your account) | Yes |
Update Issue9 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Issue | List (from your account) | Yes |
| Title | Text | No |
| Description | Long text | No |
| State | Fixed list | No |
| State Reason | Fixed list | No |
| Milestone | List (from your account) | No |
| Labels | Multi-select | No |
| Assignees | Multi-select | No |
Find Branch2 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Branch Name | Text | Yes |
Find Issue3 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Title | Text | Yes |
| State | Fixed list | Yes |
Find User1 fields
| Field | Type | Required |
|---|---|---|
| Username | Text | Yes |
Create Gist4 fields
| Field | Type | Required |
|---|---|---|
| Description | Text | No |
| Public | Yes / No | No |
| Filename | Text | Yes |
| File Content | Long text | Yes |
Trigger Workflow Dispatch6 fields
| Field | Type | Required |
|---|---|---|
| Repository | List (from your account) | Yes |
| Workflow | List (from your account) | Yes |
| Branch or Tag | List (from your account) | Yes |
| Workflow Inputs | Dynamic fields | No |
| Wait for Completion | Yes / No | No |
| Wait Settings | Dynamic fields | No |
Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
404 on a repository that exists.
The connection cannot access it: review the token permissions or the app installation.
The trigger never fires.
Webhook permission is missing (admin:repo_hook or Administration read & write).
Expired token.
Generate a new token or reconnect the OAuth account.
Rate limit reached.
Space out runs or add delays and retries.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
