GitHub

The GitHub modules allow you to watch, create, update, list, retrieve, and delete the assignees, labels, comments, issues, milestones, releases, and gist files in your GitHub account.

Getting Started with GitHub

Prerequisites

  • A GitHub account

In order to use GitHub with Integromat, it is necessary to have a GitHub account. If you do not have one, you can create a GitHub account at github.com.

The module dialog fields that are displayed in bold (in the Integromat scenario, not in this documentation article) are mandatory!

Connecting GitHub to Integromat

1. Go to Integromat and open the GitHub module's Create a connection dialog.

oxJCJUqpJl.gif

2. Enter a name for the connection and click Continue.

3. Enter your account login credentials and confirm the access by clicking Authorize Integromat.

github1.png

The connection has been established.

Triggers

See Connecting to GitHub Webhook using Integromat for adding the webhooks in your GitHub account.

Watch Comments

Triggers when a new comment is added or an existing comment is modified.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned RepositoriesSet the maximum number of comments Integromat should return during one scenario execution cycle.
WatchSelect the comments you want to watch:
  • Only new comments
  • New comments and all changes

Watch Comments

Triggers when a new comment is created.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your GitHub account.
Maximum number of returned CommentsSet the maximum number of comments Integromat should return during one scenario execution cycle.

Watch Forks

Triggers when a new fork is created.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned ForksSet the maximum number of forks Integromat will work with during one cycle.

Watch Gists

Triggers when a new gist is added or an existing gist is modified.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned GistsSet the maximum number of gists Integromat should return during one scenario execution cycle.
WatchSelect the gists you want to watch:
  • Only new gists
  • New gists and all changes

Watch Issues

Triggers when a new issue is added or an existing issue is modified.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned IssuesSet the maximum number of issues Integromat should return during one scenario execution cycle.
WatchSelect the issues you want to watch:
  • Only new issues
  • New issues and all changes
FilterSelect the option to filter the results:
  • All issues
  • Only issues assigned to me
  • Only issues created by me
  • Only issues mentioning me
  • Only issues I'm subscribed to it updates for
StateSelect the issue status you want to watch:
  • Only open issues
  • Only closed issues
LabelsAdd the tags of the issues you want to watch.

Watch Issues for Events

Triggers when an issue is assigned, unassigned, labeled, unlabeled, opened, closed, or reopened.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your GitHub account.
Maximum number of returned Issues for EventsSet the maximum number of issues for events Integromat should return during one scenario execution cycle.

Watch Milestones

Triggers when a new milestone is added or an existing milestone is modified.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned MilestonesSet the maximum number of milestones Integromat will work with during one cycle.
WatchSelect the milestones you want to watch:
  • Only new milestones
  • New milestones and all changes
StateSelect the status of the milestone you want to watch:
  • Open
  • Closed

Watch Pull Requests

Triggers when a new pull request is added or an existing pull request is modified.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your GitHub account.
Maximum number of returned Pull RequestsSet the maximum number of pull requests Integromat should return during one scenario execution cycle.

Watch Push Actions

Triggers when a new push occurs.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your GitHub account.
Maximum number of returned Push ActionsSet the maximum number of push actions Integromat should return during one scenario execution cycle.

Watch Releases

Triggers when a new release is created.

Webhook NameEnter a name for the webhook.
ConnectionEstablish a connection to your GitHub account.
Maximum number of returned ReleasesSet the maximum number of releases Integromat should return during one scenario execution cycle.

Watch Repositories

Triggers when a new repository is added or an existing repository is modified.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned RepositoriesSet the maximum number of repositories Integromat will work with during one cycle.
WatchSelect the repositories you want to watch:
  • Only new repositories
  • New repositories and all changes

Actions

Create an Issue

Creates a new issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository in which you want to create the issue.
AssigneeSelect the assignee for the issue.
MilestoneSelect the milestone applicable for the issue.
LabelsAdd the tags for the issue. For example, bugenhancement.
TitleEnter a name for the issue.
BodyEnter the issue details.

Update an Issue

Updates an existing issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository in which you want to create the issue.
AssigneeSelect the assignee for the issue.
MilestoneSelect the milestone applicable for the issue.
LabelsAdd the tags for the issue. For example, bug, enhancement
NumberEnter the issue number.
StatusSelect the issue status:
  • Open
  • Closed
TitleEnter a name for the issue.
BodyEnter the issue details.

Search for an Issue

Returns the information of an issue.

ConnectionEstablish a connection to your GitHub account.
Maximum number of returned issuesSet the maximum number of issues Integromat should return during one scenario execution cycle.
Sort BySelect the option to sort the issues:
  • Best Match
  • Date Created
  • Date Updated
  • Number of Comments
Sort DirectionSelect the order in which you want to list the issues:
  • Ascending
  • Descending
QueryEnter a keyword or phrase to search the issues based on the specified query.

Get an Issue

Retrieves information about an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose issue details you want to retrieve.
Number

Enter the issue number whose details you want to retrieve.

Add Assignees

Adds the assignees to an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository to whose issue you want to add the assignee.
AssigneeSelect the assignees you want to add to the issue.
NumberEnter the issue number to which you want to add the assignee.

Remove Assignees

Removes assignees from an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose issue's assignee you want to remove.
AssigneeSelect the assignees you want to remove from the issue.
NumberEnter the issue number from which you want to remove the assignee.

Add Labels to an Issue

Adds a label to an Issue

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository to whose issue you want to add a label.
LabelsAdd the labels you want to add an issue. For example, bugenhancement.
NumberEnter the issue number to which you want to add the labels.

Remove a Label from an Issue

Removes a label from an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose issue's labels you want to remove.
LabelsAdd the labels you want to remove from an issue. For example, bugenhancement.
NumberEnter the issue number from which you want to remove the labels.

Create a Release

Creates a new release.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository in which you want to add the release.
Tag NameAdd the tags for the release.
Target CommitishSpecifies the location to commit the release and determines where the Git tag is created from. It can be any branch or commit SHA. Unused if the Git tag already exists. By default, the repository's default branch is the master.
NameEnter a name for the release.
DescriptionEnter the details of the release.
DraftSelect whether the release is in a draft stage.
PrereleaseSelect whether this release eligible for a prerelease.

Update a Release

Updates an existing release.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose release details you want to update.
Release IDSelect the Release ID whose details you want to update.
Tag NameAdd the tags for the release.
Target CommitishSpecifies the location to commit the release and determines where the Git tag is created from. It can be any branch or commit SHA. Unused if the Git tag already exists. By default, the repository's default branch is the master.
NameEnter a name for the release.
DescriptionEnter the details of the release.
DraftSelect whether the release is in a draft stage.
PrereleaseSelect whether this release eligible for a prerelease.

Delete a Release

Deletes an existing release.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose release details you want to delete.
Release IDSelect the Release ID you want to delete.

Create a Milestone

Creates a new milestone.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository in which you want to create the milestone.
TitleEnter a name for the milestone.
DescriptionEnter the details of the milestone.
Due OnEnter a date on which the milestone is due. See the list of supported data formats.

Update a Milestone

Updates an existing milestone.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose milestone's details you want to update.
NumberEnter the milestone number whose details you want to update.
TitleEnter a name for the milestone.
StateSelect the milestone status:
  • Open
  • Closed
DescriptionEnter the details of the milestone.
Due OnEnter a date on which the milestone is due. See the list of supported data formats.

Delete a Milestone

Deletes an existing milestone.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose milestone's details you want to delete.
NumberEnter the milestone number you want to delete.

Create or Edit a File

Creates a new or updates an existing file.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose file you want to create or update.
FilepathEnter the path address of the file.
MessageEnter details of the file.
DataEnter the file data.
SHAEnter the SHA details of the file. This field is mandatory to update an existing file.
BranchEnter the branch details where you are creating or updating the file.

Delete a File

Deletes an existing file.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose file you want to delete.
FilepathEnter the path address of the file you want to delete.
MessageEnter details of the file.
DataEnter the file data.
SHAEnter the SHA details of the file. This field is mandatory to update an existing file.
BranchEnter the branch details of the file you want to delete.

Get a File

Retrieves the information about the specified file.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose file you want to delete.
FilepathEnter the path address of the file whose details you want to retrieve.
Commit, branch, or tagEnter the tag, branch, or commit details of the file you want to retrieve.

Create a Gist

Creates a new gist.

ConnectionEstablish a connection to your GitHub account.
FilesAdd the file name and content to make a gist.
This Gist is publicSelect the checkbox if this gist is public.
DescriptionEnter the details of the gist.

Update a Gist

Updates an existing gist.

ConnectionEstablish a connection to your GitHub account.
Gist IDSelect the Gist ID whose details you want to update.
FilesAdd the file name and content to make a gist.
This Gist is publicSelect whether this gist is public.
DescriptionEnter the details of the gist.

Delete a Gist

Deletes an existing gist.

ConnectionEstablish a connection to your GitHub account.
Gist IDSelect the Gist ID you want to delete.

Create a Comment

Creates a new comment for an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository in which you want to create the comment.
NumberEnter the issue, milestone, or gist number for which you want to add the comment.
BodyEnter the comment text.

List Comments

Lists comments for an issue.

ConnectionEstablish a connection to your GitHub account.
RepositorySelect the repository whose comments you want to list.
NumberEnter the issue, milestone, or gist number whose comments you want to list.
SinceEnter the date to list the comments added on or after the specified date.
Maximum number of returned comments
Set the maximum number of comments Integromat should return during one scenario execution cycle.

Iterators

Retrieve Files

Retrieves files from a gist one at a time.

The GitHub retrieves files from only the Watch Gists module. The module iterates the received Gists details one by one.

The iterator module lets you manage the email attachments separately. For example, you can set up to Watch Gists module to iterate the Gists with its details.

github3.png

For more information about iterators, see Iterator.

Connecting to GitHub Webhook using Integromat

1. Open any Watch Module, establish a connection as mentioned in the respective module description, click Save, and copy the URL address to your clipboard.

qmo6Ujz5Wv.gif

2. Log in to your GitHub account and open the repository in which you want to add the webhook.

3. Click Settings > Webhooks > Add webhook and enter the details to add the webhook.

1GLAmT525P.gif

Payload URLEnter the URL address copied in step 1.
Content TypeSelect the content type as application/json.
Secret

Enter the repository secret details.

To create a secret, open the Repository > Settings > Secret. Enter the name and value of the secret. Click Add Secret.

Which event Would you like to trigger this Webhook?Select the events for which you want to receive the trigger:
  • Just the push event
  • Send me everything
  • Let me select individual events - populates all the events
ActiveSelect the checkbox to activate the webhook.

4. Click Add Webhook.

The webhook is added successfully.

Popular use cases from our blog

automated-data-collection-crm-illustration

How to Automate Data Collection - Part 5: CRM Systems

automated-data-collection-chatbot-marketing-illustration

How to Automate Data Collection - Part 4: Chatbot Marketing

automated-data-collection-paid-ads-illustration

How to Automate Data Collection - Part 3: Paid Ads

automated-data-collection-email-illustration

How to Automate Data Collection - Part 2: Email Marketing Segmentation

personalized-customer-experience-illustration-integromat

5 Automated Solutions to Personalize Customer Experience

data-collection-automation-forms-pt-1

How to Automate Data Collection - Part 1: Online Forms

Didn’t find what you were looking for?

Expert

Find an expert

We feature a network of 450+ certified partners across the globe who are ready to help

Find an expert

Automate any workflow in your business

Sign up for a free account today. No credit card required, no time limits on free plan.