← monday.com

Create Item with monday.com API

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

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create Item with the monday.com API
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜

Trusted by 400,000+ developers from startups to Fortune 500 companies

Adyen logo
Brex logo
Carta logo
Checkr logo
Chameleon logo
DevRev logo
LinkedIn logo
Netflix logo
New Relic logo
OnDeck logo
Replicated logo
Scale AI logo
Teamwork logo
Warner Bros. logo
Xendit logo

Developers Pipedream

Getting Started

Create a workflow to Create Item with the monday.com API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Create Item action
    1. Connect your monday.com account
    2. Select a Board ID
    3. Optional- Select a Group ID
    4. Configure Item Name
    5. Select one or more Column
    6. Optional- Configure Item Create Labels
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Create Item with monday.com API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + monday.com
 
Try it
Create Item with monday.com API on New Item in Feed from RSS API
RSS + monday.com
 
Try it
Create Item with monday.com API on New Message from Discord API
Discord + monday.com
 
Try it
Create Item with monday.com API on New Message In Channels from Slack API
Slack + monday.com
 
Try it
Create Item with monday.com API on New Message in Channel from Discord Bot API
Discord Bot + monday.com
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is 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.

Create Item on monday.com
Description:Creates an item. [See the docs here](https://api.developer.monday.com/docs/items-queries#create-an-item)
Version:0.0.4
Key:monday-create-item

Code

import utils from "../../common/utils.mjs";
import monday from "../../monday.app.mjs";

export default {
  key: "monday-create-item",
  name: "Create Item",
  description: "Creates an item. [See the docs here](https://api.developer.monday.com/docs/items-queries#create-an-item)",
  type: "action",
  version: "0.0.4",
  props: {
    monday,
    boardId: {
      propDefinition: [
        monday,
        "boardId",
      ],
    },
    groupId: {
      propDefinition: [
        monday,
        "groupId",
        ({ boardId }) => ({
          boardId: +boardId,
        }),
      ],
    },
    itemName: {
      propDefinition: [
        monday,
        "itemName",
      ],
    },
    columns: {
      propDefinition: [
        monday,
        "column",
        (c) => ({
          boardId: c.boardId,
        }),
      ],
      type: "string[]",
      description: "Select columns to fill",
      reloadProps: true,
    },
    createLabels: {
      propDefinition: [
        monday,
        "itemCreateLabels",
      ],
    },
  },
  async additionalProps() {
    const props = {};
    if (!this.columns) {
      return props;
    }
    for (const column of this.columns) {
      let description;
      if (column === "status") {
        description = "Value for status. [Status Index Value Map](https://view.monday.com/1073554546-ad9f20a427a16e67ded630108994c11b?r=use1)";
      } else if (column === "person") {
        description = "The ID of the person/user to add to item";
      } else if (column === "date4") {
        description = "Enter date of item in YYYY-MM-DD format. Eg. `2022-09-02`";
      } else {
        description = `Value for column ${column}`;
      }
      props[column] = {
        type: "string",
        label: column,
        description,
      };
    }
    return props;
  },
  async run({ $ }) {
    const columnValues = {};
    if (this.columns?.length > 0) {
      for (const column of this.columns) {
        columnValues[column] = this[column];
      }
    }
    const {
      data,
      errors,
      error_message: errorMessage,
    } =
      await this.monday.createItem({
        boardId: +this.boardId,
        groupId: utils.emptyStrToUndefined(this.groupId),
        itemName: utils.emptyStrToUndefined(this.itemName),
        columnValues: utils.strinfied(columnValues),
        createLabels: utils.emptyStrToUndefined(this.createLabels),
      });

    if (errors) {
      throw new Error(`Failed to create item: ${errors[0].message}`);
    }

    if (errorMessage) {
      throw new Error(`Failed to create item: ${errorMessage}`);
    }

    const { id: itemId } = data.create_item;

    $.export("$summary", `Successfully created a new item with ID: ${itemId}`);

    return itemId;
  },
};

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.
Board IDboardIdstringSelect a value from the drop down menu.
Group IDgroupIdstringSelect a value from the drop down menu.
Item NameitemNamestring

The item's name

Columncolumnsstring[]Select a value from the drop down menu.
Item Create LabelscreateLabelsboolean

Create Status/Dropdown labels if they're missing. (Requires permission to change board structure)

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

More Ways to Use monday.com

Triggers

New Board from the monday.com API

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

 
Try it
New Column Value Updated (Instant) 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
New Item (Instant) from the monday.com API

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

 
Try it
New Name Updated (Instant) from the monday.com API

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

 
Try it
New Specific Column Updated (Instant) from the monday.com API

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

 
Try it

Actions

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 Column with the monday.com API

Creates a column. 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
Update Item Name with the monday.com API

Update an item's name. See the docs here

 
Try it