🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.
← ClickUp

Create List with ClickUp API

Pipedream makes it easy to connect APIs for ClickUp and 700+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Create List with the ClickUp API
No credit card required
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

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

  1. Configure the Create List action
    1. Connect your ClickUp account
    2. Optional- Select a Workspace
    3. Optional- Select a Space
    4. Optional- Select a Folder
    5. Configure Name
    6. Optional- Configure Content
    7. Optional- Select a Priority
    8. Optional- Select one or more Assignees
  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

Details

This is a pre-built, open source 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 List on ClickUp
Description:Creates a new list. See the docs [here](https://clickup.com/api) in **Lists / Create List** section.
Version:0.0.6
Key:clickup-create-list

Code

import clickup from "../../clickup.app.mjs";
import common from "../common/common.mjs";
import constants from "../common/constants.mjs";

export default {
  key: "clickup-create-list",
  name: "Create List",
  description: "Creates a new list. See the docs [here](https://clickup.com/api) in **Lists  / Create List** section.",
  version: "0.0.6",
  type: "action",
  props: {
    ...common.props,
    spaceId: {
      propDefinition: [
        clickup,
        "spaces",
        (c) => ({
          workspaceId: c.workspaceId,
        }),
      ],
      optional: true,
    },
    folderId: {
      propDefinition: [
        clickup,
        "folders",
        (c) => ({
          spaceId: c.spaceId,
        }),
      ],
      optional: true,
    },
    name: {
      label: "Name",
      type: "string",
      description: "The name of list",
    },
    content: {
      label: "Content",
      type: "string",
      description: "The content of list",
      optional: true,
    },
    priority: {
      propDefinition: [
        clickup,
        "priorities",
      ],
      optional: true,
    },
    assignee: {
      propDefinition: [
        clickup,
        "assignees",
        (c) => ({
          workspaceId: c.workspaceId,
        }),
      ],
      optional: true,
    },
  },
  async run({ $ }) {
    const {
      spaceId,
      folderId,
      name,
      content,
      priority,
      assignee,
    } = this;

    let response;

    if (!folderId) {
      response = await this.clickup.createFolderlessList({
        $,
        spaceId,
        data: {
          name,
          content,
          priority: constants.PRIORITIES[priority] || constants.PRIORITIES["Normal"],
          assignee,
        },
      });
    } else {
      response = await this.clickup.createList({
        $,
        folderId,
        data: {
          name,
          content,
          priority: constants.PRIORITIES[priority] || constants.PRIORITIES["Normal"],
          assignee,
        },
      });
    }

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

    return response;
  },
};

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
ClickUpclickupappThis component uses the ClickUp app.
WorkspaceworkspaceIdstringSelect a value from the drop down menu.
SpacespaceIdstringSelect a value from the drop down menu.
FolderfolderIdstringSelect a value from the drop down menu.
Namenamestring

The name of list

Contentcontentstring

The content of list

PriorityprioritystringSelect a value from the drop down menu:UrgentHighNormalLow
Assigneesassigneestring[]Select a value from the drop down menu.

Authentication

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

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

About ClickUp

One app to replace them all

About Pipedream

Stop writing boilerplate code, struggling with authentication and managing infrastructure. Start connecting APIs with code-level control when you need it — and no code when you don't.

Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
"The past few weeks, I truly feel like the clichéd 10x engineer."
@heyellieday