8
n8n 中文网amn8n.com

从Slack命令创建新的Clickup任务

中级

这是一个Other领域的自动化工作流,包含 6 个节点。主要使用 Set, ClickUp, Webhook, RespondToWebhook 等节点。 从Slack命令创建新的Clickup任务

前置要求
  • HTTP Webhook 端点(n8n 会自动生成)

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "1e5c69f0bf3f7484ac715feadbdb5d46fa5fa304d6cf822da9bd609721d1fee8"
  },
  "nodes": [
    {
      "id": "c39381ac-4795-4408-9383-7bae62755569",
      "name": "响应 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1580,
        640
      ],
      "parameters": {
        "options": {},
        "respondWith": "text",
        "responseBody": "=Task Created: ID  {{ $json.id }}"
      },
      "typeVersion": 1
    },
    {
      "id": "ff72f0cb-1ea2-41e5-8f9f-7aa7ce994632",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        500
      ],
      "parameters": {
        "color": 4,
        "width": 874,
        "height": 359,
        "content": "## 从 Slack 命令创建新的 Airtable 任务"
      },
      "typeVersion": 1
    },
    {
      "id": "263f6c3b-5225-4d3f-a8ce-5052946b4251",
      "name": "接收 Slack 命令",
      "type": "n8n-nodes-base.webhook",
      "position": [
        960,
        640
      ],
      "webhookId": "09d30853-66a3-4494-ba4b-115d28402811",
      "parameters": {
        "path": "09d30853-66a3-4494-ba4b-115d28402811/slackcommand",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 1.1
    },
    {
      "id": "bbb46ec6-0b43-4a15-b12a-5e5d4b8d6c3d",
      "name": "设置您的节点",
      "type": "n8n-nodes-base.set",
      "position": [
        1160,
        640
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "8f6664ce-a3ad-42fb-84f7-58608d3c0ce8",
              "name": "channel_name",
              "type": "string",
              "value": "={{ $json.body.channel_name }}"
            },
            {
              "id": "54bf76f5-f00a-4f8e-bfcb-addd8af75a1a",
              "name": "command",
              "type": "string",
              "value": "={{ $json.body.command }}"
            },
            {
              "id": "37e273c0-2775-420b-9eb2-baeab3d1fdb6",
              "name": "user_name",
              "type": "string",
              "value": "={{ $json.body.user_name }}"
            },
            {
              "id": "6926bdae-e5eb-429d-a17d-7775b87184b1",
              "name": "text",
              "type": "string",
              "value": "={{ $json.body.text }}"
            }
          ]
        }
      },
      "typeVersion": 3.3
    },
    {
      "id": "f8b66cdb-3c56-4ec6-b2a2-f3fab8ba392c",
      "name": "创建新的 Clickup 任务",
      "type": "n8n-nodes-base.clickUp",
      "position": [
        1340,
        640
      ],
      "parameters": {
        "list": "900900727522",
        "name": "={{ $json.text }}",
        "team": "9009074051",
        "space": "90090146907",
        "folderless": true,
        "authentication": "oAuth2",
        "additionalFields": {
          "content": "={{ $json.text }}",
          "assignees": []
        }
      },
      "credentials": {
        "clickUpOAuth2Api": {
          "id": "Cs34tMBCqaT1yt1w",
          "name": "ClickUp account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "47aa82ae-8a9c-40fa-be79-2bd602ffa045",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        300
      ],
      "parameters": {
        "width": 467,
        "height": 861.9451537637377,
        "content": "## 从 Slack 命令创建新的 Clickup 任务"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "Set your nodes": {
      "main": [
        [
          {
            "node": "Create new clickup task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receives slack command": {
      "main": [
        [
          {
            "node": "Set your nodes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create new clickup task": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 其他

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量6
分类1
节点类型5
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Imperol

Imperol

@imperolq

Automation expert with years of experience helping businesses improve their efficiency and productivity with smart automations that are affordable, scalable, and flexible.

外部链接
在 n8n.io 查看

分享此工作流