8
n8n 中文网amn8n.com

Trello 看板自动清理(移除特定标签卡片)

中级

这是一个Project Management, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 Filter, Trello, SplitOut, ManualTrigger 等节点。 通过移除特定标签卡片实现 Trello 看板自动清理

前置要求
  • 无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "edea30b9-4fe9-4c32-a10b-4775910ef67e",
      "name": "当点击“执行工作流”时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -528,
        8640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bbc37d37-8f20-4249-971b-fa5b769f0de8",
      "name": "便签说明5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1056,
        8448
      ],
      "parameters": {
        "width": 400,
        "height": 928,
        "content": "## ⚙️ 设置说明"
      },
      "typeVersion": 1
    },
    {
      "id": "a73b1919-5a5f-496c-9997-4531e0b189ad",
      "name": "便签56",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -608,
        8448
      ],
      "parameters": {
        "color": 7,
        "width": 1504,
        "height": 928,
        "content": "# 🗑️ 使用标签和删除卡片节点自动清理 Trello"
      },
      "typeVersion": 1
    },
    {
      "id": "a0130405-c569-4818-b16c-388b57361467",
      "name": "获取看板4",
      "type": "n8n-nodes-base.trello",
      "position": [
        -288,
        8640
      ],
      "parameters": {
        "id": {
          "__rl": true,
          "mode": "url",
          "value": "https://trello.com/b/DCpuJbnd/administrative-tasks"
        },
        "resource": "board",
        "operation": "get",
        "additionalFields": {}
      },
      "credentials": {
        "trelloApi": {
          "id": "0inUg5020tWOj6Qr",
          "name": "Trello account 4"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "e830fbda-f003-423f-b2b2-817f0f8374e3",
      "name": "获取列表4",
      "type": "n8n-nodes-base.trello",
      "position": [
        -320,
        9184
      ],
      "parameters": {
        "id": "={{ $json.id }}",
        "resource": "list",
        "operation": "getAll",
        "additionalFields": {}
      },
      "credentials": {
        "trelloApi": {
          "id": "0inUg5020tWOj6Qr",
          "name": "Trello account 4"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bb7d03ca-997c-4192-98a1-dd39c3b58b66",
      "name": "获取卡片4",
      "type": "n8n-nodes-base.trello",
      "position": [
        -112,
        8816
      ],
      "parameters": {
        "id": "={{ $json.id }}",
        "resource": "list",
        "operation": "getCards",
        "additionalFields": {}
      },
      "credentials": {
        "trelloApi": {
          "id": "0inUg5020tWOj6Qr",
          "name": "Trello account 4"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ecf75f1a-e7b4-4bc1-896c-16efb26e74d3",
      "name": "便签58",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -432,
        9008
      ],
      "parameters": {
        "color": 3,
        "width": 336,
        "height": 304,
        "content": "### 1️⃣ 连接 Trello (开发者 API)"
      },
      "typeVersion": 1
    },
    {
      "id": "a4d8f9f3-a074-4789-960e-8e385573788b",
      "name": "删除卡片",
      "type": "n8n-nodes-base.trello",
      "position": [
        656,
        8704
      ],
      "parameters": {
        "id": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Get Cards4').item.json.id }}"
        },
        "operation": "delete"
      },
      "credentials": {
        "trelloApi": {
          "id": "0inUg5020tWOj6Qr",
          "name": "Trello account 4"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2d8d605f-db25-4697-8261-ade5f7ae086d",
      "name": "拆分标签",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        96,
        9088
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "labels"
      },
      "typeVersion": 1
    },
    {
      "id": "8baddef5-5eb3-41d1-bfb4-7867b4aa2deb",
      "name": "过滤标记为删除",
      "type": "n8n-nodes-base.filter",
      "position": [
        368,
        8864
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "58a9c806-b9ef-43d5-9f4d-6d0dfcae474e",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.name }}",
              "rightValue": "Mark for Deletion"
            }
          ]
        }
      },
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "Get Board4": {
      "main": [
        [
          {
            "node": "Get Lists4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Cards4": {
      "main": [
        [
          {
            "node": "Split Labels",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Lists4": {
      "main": [
        [
          {
            "node": "Get Cards4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Labels": {
      "main": [
        [
          {
            "node": "Filter Marked for Delete",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Marked for Delete": {
      "main": [
        [
          {
            "node": "Delete a card",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get Board4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 项目管理, 多模态 AI

需要付费吗?

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

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

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

作者
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

外部链接
在 n8n.io 查看

分享此工作流