XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

XFEWorkflow

【WinUI】XFE基于windows的工作流

公开
关注 0 Fork 0 Star 0
UTF-8
{
  "schemaVersion": 1,
  "id": "da9600a4f1d941d38e682bf04dc3f70a",
  "name": "企业微信 · 三位联系人 · 数组常量 · 引用回复 1",
  "description": "收到消息后,数组常量提供允许的完整联系人 ID(文本类型),系统条件以 contains 精确匹配发送者 ID,匹配后在原会话引用该消息回复 1。三个允许 ID 已填写:1688854960759986、1688855640887649、1688858019818846;不限定群聊。选择数组常量节点,点击加号逐项添加或删除文本单元,无需填写 JSON 或变量表达式。导入默认关闭;在插件中心连接企业微信客户端,检查回复节点后,在工作流列表开启。",
  "enabled": false,
  "priority": 0,
  "kind": "Graph",
  "graph": {
    "nodes": [
      {
        "id": "receive",
        "capabilityId": "xfe.wecom.message.received",
        "name": "收到消息",
        "x": 160,
        "y": 180,
        "parameters": {},
        "code": "",
        "trigger": {
          "id": "receive",
          "kind": "Plugin",
          "enabled": true,
          "intervalSeconds": 300,
          "dailyTime": "09:00",
          "path": "",
          "filter": "*",
          "capabilityId": "xfe.wecom.message.received",
          "parameters": {},
          "inputBindings": {},
          "sourceWorkflowId": "",
          "completionStatus": "Succeeded"
        },
        "children": {},
        "timeoutSeconds": 0,
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      },
      {
        "x": 640,
        "parameters": {
          "value": [
            "1688854960759986",
            "1688855640887649",
            "1688858019818846"
          ]
        },
        "children": {},
        "capabilityId": "core.value.array",
        "y": 180,
        "code": "",
        "id": "allowed-ids",
        "timeoutSeconds": 0,
        "name": "允许的联系人 ID(文本)",
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      },
      {
        "id": "allowed-contacts",
        "capabilityId": "core.if",
        "name": "筛选多个联系人",
        "x": 1120,
        "y": 260,
        "parameters": {
          "operator": "contains",
          "normalizeText": false,
          "ignoreCase": false
        },
        "code": "",
        "trigger": null,
        "children": {},
        "timeoutSeconds": 0,
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      },
      {
        "id": "reply",
        "capabilityId": "xfe.wecom.quoteReply",
        "name": "引用原消息回复 1",
        "x": 1600,
        "y": 260,
        "parameters": {
          "content": "1",
          "quoteOriginal": true,
          "dryRun": false
        },
        "code": "",
        "trigger": null,
        "children": {},
        "timeoutSeconds": 0,
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      },
      {
        "id": "done",
        "capabilityId": "core.end",
        "name": "完成回复",
        "x": 2080,
        "y": 260,
        "parameters": {},
        "code": "",
        "trigger": null,
        "children": {},
        "timeoutSeconds": 0,
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      },
      {
        "id": "skip",
        "capabilityId": "core.end",
        "name": "忽略其他联系人",
        "x": 1600,
        "y": 840,
        "parameters": {
          "result": {
            "status": "Skipped",
            "reason": "发送者不在允许的联系人列表中"
          }
        },
        "code": "",
        "trigger": null,
        "children": {},
        "timeoutSeconds": 0,
        "retryCount": 0,
        "retryDelayMilliseconds": 500
      }
    ],
    "edges": [
      {
        "id": "receive-filter",
        "fromNode": "receive",
        "fromPort": "next",
        "toNode": "allowed-ids",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "id": "match-reply",
        "fromNode": "allowed-contacts",
        "fromPort": "true",
        "toNode": "reply",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "id": "no-match-skip",
        "fromNode": "allowed-contacts",
        "fromPort": "false",
        "toNode": "skip",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "id": "reply-done",
        "fromNode": "reply",
        "fromPort": "next",
        "toNode": "done",
        "toPort": "in",
        "kind": "Execution"
      },
      {
        "id": "sender-to-filter",
        "fromNode": "receive",
        "fromPort": "senderId",
        "toNode": "allowed-contacts",
        "toPort": "right",
        "kind": "Data"
      },
      {
        "id": "message-to-reply",
        "fromNode": "receive",
        "fromPort": "message",
        "toNode": "reply",
        "toPort": "message",
        "kind": "Data"
      },
      {
        "id": "reply-result",
        "fromNode": "reply",
        "fromPort": "result",
        "toNode": "done",
        "toPort": "result",
        "kind": "Data"
      },
      {
        "id": "array-to-filter-execution",
        "kind": "Execution",
        "toNode": "allowed-contacts",
        "fromNode": "allowed-ids",
        "toPort": "in",
        "fromPort": "next"
      },
      {
        "id": "array-to-filter-value",
        "kind": "Data",
        "toNode": "allowed-contacts",
        "fromNode": "allowed-ids",
        "toPort": "left",
        "fromPort": "value"
      }
    ]
  },
  "code": "",
  "generatedCodeHash": "",
  "previousCode": "",
  "inputs": [],
  "outputs": [],
  "inputDefaults": {},
  "variables": {},
  "pluginVersions": {
    "xfe.wecom": "3.0.0"
  },
  "triggers": [],
  "modifiedAt": "2026-10-13T08:00:00+08:00"
}