← monday.com + GitHub integrations

Create Issue with GitHub API on New Board from monday.com API

Pipedream makes it easy to connect APIs for GitHub, monday.com and 1000+ other apps remarkably fast.

Trigger workflow on
New Board from the monday.com API
Next, do this
Create Issue with the GitHub API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

This integration creates a workflow with a monday.com trigger and GitHub action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the New Board trigger
    1. Connect your monday.com account
    2. Configure Polling interval
    3. Optional- Configure Max API Requests per Execution
  3. Configure the Create Issue action
    1. Connect your GitHub account
    2. Select a Repository
    3. Configure Title
    4. Optional- Configure Body
    5. Optional- Select one or more Labels
    6. Optional- Select one or more Assignees
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, open source components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new board is created in Monday.
Version:0.0.2
Key:monday-new-board

Trigger Code

import common from "../common/common-polling.mjs";

export default {
  ...common,
  key: "monday-new-board",
  name: "New Board",
  description: "Emit new event when a new board is created in Monday.",
  type: "source",
  version: "0.0.2",
  dedupe: "unique",
  props: {
    ...common.props,
    maxRequests: {
      type: "integer",
      min: 1,
      label: "Max API Requests per Execution",
      description: "The maximum number of API requests to make per execution (e.g., multiple requests are required to retrieve paginated results)",
      optional: true,
      default: 1,
    },
  },
  methods: {
    ...common.methods,
    generateMeta(board) {
      return {
        id: board.id,
        summary: board.name,
        ts: Date.now(),
      };
    },
  },
  async run() {
    const lastId = this._getLastId();

    let maxId = lastId;
    let done = false;
    let page = 1;
    do {
      const { boards } = (await this.monday.listBoards({
        page,
      })).data;
      for (const board of boards) {
        if (+board.id <= lastId) {
          done = true;
          break;
        }
        if (+board.id > maxId) {
          maxId = +board.id;
        }
        const boardData = await this.monday.getBoard({
          id: +board.id,
        });
        this.emitEvent(boardData);
      }
      if (boards.length === 0) {
        done = true;
      }
      page++;
    } while (!done && page <= this.maxRequests);

    this._setLastId(maxId);
  },
};

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
monday.commondayappThis component uses the monday.com app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
Polling intervaltimer$.interface.timer

Pipedream will poll the Monday API on this schedule

Max API Requests per ExecutionmaxRequestsinteger

The maximum number of API requests to make per execution (e.g., multiple requests are required to retrieve paginated results)

Trigger Authentication

monday.com uses API keys for authentication. When you connect your monday.com account, Pipedream securely stores the keys so you can easily authenticate to monday.com APIs in both code and no-code steps.

Add your monday.com API token below

About monday.com

Platform to run processes, projects and workflows in one digital workspace

Action

Description:Create a new issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#create-an-issue)
Version:0.2.4
Key:github-create-issue

Action Code

import github from "../../github.app.mjs";

export default {
  key: "github-create-issue",
  name: "Create Issue",
  description: "Create a new issue in a Gihub repo. [See docs here](https://docs.github.com/en/rest/issues/issues#create-an-issue)",
  version: "0.2.4",
  type: "action",
  props: {
    github,
    repoFullname: {
      propDefinition: [
        github,
        "repoFullname",
      ],
    },
    title: {
      label: "Title",
      description: "The title of the issue",
      type: "string",
    },
    body: {
      label: "Body",
      description: "The contents of the issue",
      type: "string",
      optional: true,
    },
    labels: {
      label: "Labels",
      description: "Labels to associate with this issue. NOTE: Only users with push access can set labels for new issues",
      optional: true,
      propDefinition: [
        github,
        "labels",
        (c) => ({
          repoFullname: c.repoFullname,
        }),
      ],
    },
    assignees: {
      label: "Assignees",
      description: "Logins for Users to assign to this issue. NOTE: Only users with push access can set assignees for new issues",
      optional: true,
      propDefinition: [
        github,
        "collaborators",
        (c) => ({
          repoFullname: c.repoFullname,
        }),
      ],
    },
  },
  async run({ $ }) {
    const response = await this.github.createIssue({
      repoFullname: this.repoFullname,
      data: {
        title: this.title,
        body: this.body,
        labels: this.labels,
        assignees: this.assignees,
      },
    });

    $.export("$summary", "Successfully created issue.");

    return response;
  },
};

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
GitHubgithubappThis component uses the GitHub app.
RepositoryrepoFullnamestringSelect a value from the drop down menu.
Titletitlestring

The title of the issue

Bodybodystring

The contents of the issue

Labelslabelsstring[]Select a value from the drop down menu.
Assigneesassigneesstring[]Select a value from the drop down menu.

Action Authentication

GitHub uses OAuth authentication. When you connect your GitHub account, Pipedream will open a popup window where you can sign into GitHub and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any GitHub API.

Pipedream requests the following authorization scopes when you connect your account:

repoadmin:orgadmin:public_keyadmin:org_hookgistprojectnotificationsuserwrite:discussionwrite:packagesread:packagesadmin:repo_hook

About GitHub

Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.

More Ways to Connect GitHub + monday.com

Create Issue Comment with GitHub API on Name Updated from monday.com API
monday.com + GitHub
 
Try it
Create Issue with GitHub API on Name Updated from monday.com API
monday.com + GitHub
 
Try it
Get Repository with GitHub API on Name Updated from monday.com API
monday.com + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on Name Updated from monday.com API
monday.com + GitHub
 
Try it
Update Issue with GitHub API on Name Updated from monday.com API
monday.com + GitHub
 
Try it
Column Value Updated from the monday.com API

Emit new event when a column value is updated on a board in Monday. For changes to Name, use the Name Updated Trigger.

 
Try it
Name Updated from the monday.com API

Emit new event when an item's Name is updated on a board in Monday.

 
Try it
New Board from the monday.com API

Emit new event when a new board is created in Monday.

 
Try it
New Item from the monday.com API

Emit new event when a new item is added to a board in Monday.

 
Try it
New User from the monday.com API

Emit new event when a new user is created in Monday.

 
Try it
Create an Update with the monday.com API

Creates a new update. See the docs here

 
Try it
Create Board with the monday.com API

Creates a new board. See the docs here

 
Try it
Create Group with the monday.com API

Creates a new group in a specific board. See the docs here

 
Try it
Create Item with the monday.com API

Creates an item. See the docs here

 
Try it
Update Item Name with the monday.com API

Update an item's name. See the docs here

 
Try it