8
n8n 中文网amn8n.com

CallForge - 08 - 产品AI数据处理器

高级

这是一个自动化工作流,包含 19 个节点。主要使用 If, Set, Wait, Notion, SplitOut 等节点。 CallForge - 08 - 产品AI数据处理器

前置要求
  • Notion API Key

分类

-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "cb484ba7b742928a2048bf8829668bed5b5ad9787579adea888f05980292a4a7",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "a2061232-329f-4288-9b01-ba832463c31e",
      "name": "执行工作流触发器",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        2280,
        -400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "42df9296-82ac-44cd-8370-50e4507fb91d",
      "name": "检查是否找到产品数据",
      "type": "n8n-nodes-base.if",
      "position": [
        2800,
        -340
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1a67895e-3ab7-4c93-8e16-202b3882ded5",
              "operator": {
                "type": "array",
                "operation": "lengthGte",
                "rightType": "number"
              },
              "leftValue": "={{ $json.AIoutput.ProductFeedback }}",
              "rightValue": 1
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "84e93120-92d8-45fd-bb63-8626743e7fe0",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2720,
        -580
      ],
      "parameters": {
        "color": 7,
        "width": 1340,
        "height": 440,
        "content": "## 产品数据处理"
      },
      "typeVersion": 1
    },
    {
      "id": "5cb1df66-abba-4d82-8fe5-c2313c8f7b44",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2140,
        -760
      ],
      "parameters": {
        "color": 7,
        "width": 560,
        "height": 620,
        "content": "## 接收来自其他工作流的AI数据"
      },
      "typeVersion": 1
    },
    {
      "id": "7c046627-f418-4b7e-aa5b-7cff69f98f59",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1780,
        -960
      ],
      "parameters": {
        "width": 340,
        "height": 820,
        "content": "![Callforge](https://uploads.n8n.io/templates/callforgeshadow.png)"
      },
      "typeVersion": 1
    },
    {
      "id": "a04dac9d-5477-41a3-8696-1871c1cccf53",
      "name": "创建产品数据对象1",
      "type": "n8n-nodes-base.notion",
      "position": [
        3280,
        -940
      ],
      "parameters": {
        "title": "={{ $('Execute Workflow Trigger').item.json.metaData.title }}",
        "options": {
          "icon": "💬"
        },
        "resource": "databasePage",
        "databaseId": {
          "__rl": true,
          "mode": "list",
          "value": "1775b6e0-c94f-80ac-9885-d9695af5bc89",
          "cachedResultUrl": "https://www.notion.so/1775b6e0c94f80ac9885d9695af5bc89",
          "cachedResultName": "AI use-case database"
        },
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "Company|title",
              "title": "={{ $json.metaData.CompanyName }}"
            },
            {
              "key": "Department|multi_select",
              "multiSelectValue": "={{ $json.AIoutput.AI_ML_References.Details.Department }}"
            },
            {
              "key": "Dev status|select",
              "selectValue": "={{ $json.AIoutput.AI_ML_References.Details.DevelopmentStatus }}"
            },
            {
              "key": "Employees|select",
              "selectValue": "={{ $json.sfOpp[0].Employees }}"
            },
            {
              "key": "Engagement with n8n|select",
              "selectValue": "Prospect"
            },
            {
              "key": "Requires agents|checkbox",
              "checkboxValue": "={{ $json.AIoutput.AI_ML_References.Details.RequiresAgents }}"
            },
            {
              "key": "More info|url",
              "urlValue": "={{ $json.metaData.url }}"
            },
            {
              "key": "Requires RAG|checkbox",
              "checkboxValue": "={{ $json.AIoutput.AI_ML_References.Details.RequiresRAG }}"
            },
            {
              "key": "Requires chat|select",
              "selectValue": "={{ $json.AIoutput.AI_ML_References.Details.RequiresChat }}"
            },
            {
              "key": "Use case|rich_text",
              "textContent": "={{ $json.AIoutput.AI_ML_References.Context }}"
            }
          ]
        }
      },
      "credentials": {
        "notionApi": {
          "id": "2B3YIiD4FMsF9Rjn",
          "name": "Angelbot Notion"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.2,
      "waitBetweenTries": 3000
    },
    {
      "id": "66c252a9-e330-4742-84d1-d17042585f79",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2720,
        -1040
      ],
      "parameters": {
        "color": 7,
        "width": 1340,
        "height": 440,
        "content": "## AI使用案例"
      },
      "typeVersion": 1
    },
    {
      "id": "caded10f-8662-4a2b-ab47-b1a825c39c4b",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2720,
        -120
      ],
      "parameters": {
        "color": 7,
        "width": 1340,
        "height": 360,
        "content": "## 通话中提及的AI"
      },
      "typeVersion": 1
    },
    {
      "id": "750c2853-3653-4557-b636-354fd91f846b",
      "name": "创建产品反馈数据对象",
      "type": "n8n-nodes-base.notion",
      "position": [
        3440,
        -480
      ],
      "parameters": {
        "title": "={{ $('Execute Workflow Trigger').item.json.metaData.title }}",
        "options": {
          "icon": "💬"
        },
        "resource": "databasePage",
        "databaseId": {
          "__rl": true,
          "mode": "list",
          "value": "1375b6e0-c94f-80a8-93c9-c623b76dd14a",
          "cachedResultUrl": "https://www.notion.so/1375b6e0c94f80a893c9c623b76dd14a",
          "cachedResultName": "Product Feedback"
        },
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "Sentiment|multi_select",
              "multiSelectValue": "={{ $json.Sentiment }}"
            },
            {
              "key": "Feedback|title",
              "title": "={{ $json.Feedback }}"
            },
            {
              "key": "Feedback Date|date",
              "date": "={{ $('Execute Workflow Trigger').item.json.metaData.started }}"
            },
            {
              "key": "Sales Call Summaries|relation",
              "relationValue": [
                "={{ $('Execute Workflow Trigger').item.json.notionData[0].id }}"
              ]
            }
          ]
        }
      },
      "credentials": {
        "notionApi": {
          "id": "80",
          "name": "Notion david-internal"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.2,
      "waitBetweenTries": 3000
    },
    {
      "id": "343f536f-2aa3-4fc9-9c75-e288a5019b84",
      "name": "检查是否找到AI使用案例数据",
      "type": "n8n-nodes-base.if",
      "position": [
        2800,
        -800
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1a67895e-3ab7-4c93-8e16-202b3882ded5",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.AIoutput.AI_ML_References.Exist }}",
              "rightValue": 1
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "3d261de2-61fe-40e8-806b-f311b72081f0",
      "name": "检查通话中是否提及AI",
      "type": "n8n-nodes-base.if",
      "position": [
        2860,
        40
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "1a67895e-3ab7-4c93-8e16-202b3882ded5",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.AIoutput.AI_ML_References.Exist }}",
              "rightValue": 1
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "e422c25b-05c0-4549-a12b-50b727cbcb83",
      "name": "等待速率限制 - AI使用案例",
      "type": "n8n-nodes-base.wait",
      "position": [
        3020,
        -940
      ],
      "webhookId": "a26d4c04-4092-45fb-9ba3-d6c70ac0934c",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "9ceb4ac2-6539-4c19-b207-883d61670c07",
      "name": "等待速率限制 - 产品数据",
      "type": "n8n-nodes-base.wait",
      "position": [
        3020,
        -480
      ],
      "webhookId": "04bed240-5bae-4524-bb6f-011d8a6e1431",
      "parameters": {
        "amount": 3
      },
      "typeVersion": 1.1
    },
    {
      "id": "61d6864c-a7fa-488e-a252-f60b497de675",
      "name": "分离产品数据",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        3220,
        -480
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "AIoutput.ProductFeedback"
      },
      "typeVersion": 1
    },
    {
      "id": "49bd2056-4eeb-43d7-a210-e4b777fd8535",
      "name": "将AI使用案例数据打包为1个对象",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3540,
        -940
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData",
        "destinationFieldName": "tagdata"
      },
      "typeVersion": 1
    },
    {
      "id": "ce6e127d-9ff0-493c-bb47-02c30594f0e2",
      "name": "将产品反馈数据打包为1个对象",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        3660,
        -480
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData",
        "destinationFieldName": "tagdata"
      },
      "typeVersion": 1
    },
    {
      "id": "ce06a39c-8066-4a3a-9ef4-b8bf6d14273a",
      "name": "合并AI使用案例线程",
      "type": "n8n-nodes-base.set",
      "position": [
        3860,
        -780
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "d8fc65ad-2b05-40c1-84c7-7bda819f0f1f",
              "name": "aiResponse",
              "type": "object",
              "value": "={{ $('Execute Workflow Trigger').item.json.aiResponse }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "1d64eff6-442a-4f71-a497-d6261bf4753f",
      "name": "合并产品反馈线程",
      "type": "n8n-nodes-base.set",
      "position": [
        3880,
        -320
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "d8fc65ad-2b05-40c1-84c7-7bda819f0f1f",
              "name": "aiResponse",
              "type": "object",
              "value": "={{ $('Execute Workflow Trigger').item.json.aiResponse }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "50116044-d468-4f07-a711-8373c1b26e94",
      "name": "使用AI数据摘要更新通话",
      "type": "n8n-nodes-base.notion",
      "position": [
        3180,
        -40
      ],
      "parameters": {
        "pageId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Execute Workflow Trigger').item.json.notionData[0].id }}"
        },
        "options": {},
        "resource": "databasePage",
        "operation": "update",
        "propertiesUi": {
          "propertyValues": [
            {
              "key": "AI Related|checkbox",
              "checkboxValue": "={{ $json.AIoutput.AI_ML_References.Exist }}"
            },
            {
              "key": "AI Summary|rich_text",
              "textContent": "={{ $json.AIoutput.AI_ML_References.Context }}"
            }
          ]
        }
      },
      "credentials": {
        "notionApi": {
          "id": "80",
          "name": "Notion david-internal"
        }
      },
      "retryOnFail": true,
      "typeVersion": 2.2,
      "waitBetweenTries": 3000
    }
  ],
  "pinData": {},
  "connections": {
    "Split Out Product Data": {
      "main": [
        [
          {
            "node": "Create Product Feedback Data Object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Execute Workflow Trigger": {
      "main": [
        [
          {
            "node": "Check if Product Data Found",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check if AI Use Case Data Found",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check if AI Mentioned On Call",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if Product Data Found": {
      "main": [
        [
          {
            "node": "Wait for rate limiting - Product Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge Product Feedback Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Product Data Object1": {
      "main": [
        [
          {
            "node": "Bundle AI Use Case Data to 1 object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if AI Mentioned On Call": {
      "main": [
        [
          {
            "node": "Update Call with AI Data Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Product Feedback Thread": {
      "main": [
        []
      ]
    },
    "Check if AI Use Case Data Found": {
      "main": [
        [
          {
            "node": "Wait for rate limiting - AI Use Case",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge AI Use Case Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bundle AI Use Case Data to 1 object": {
      "main": [
        [
          {
            "node": "Merge AI Use Case Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Product Feedback Data Object": {
      "main": [
        [
          {
            "node": "Bundle Product Feedback Data to 1 object",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for rate limiting - AI Use Case": {
      "main": [
        [
          {
            "node": "Create Product Data Object1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for rate limiting - Product Data": {
      "main": [
        [
          {
            "node": "Split Out Product Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bundle Product Feedback Data to 1 object": {
      "main": [
        [
          {
            "node": "Merge Product Feedback Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级

需要付费吗?

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

工作流信息
难度等级
高级
节点数量19
分类-
节点类型8
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Angel Menendez

Angel Menendez

@djangelic

Angel Menendez is a Staff Developer Advocate at n8n.io, specializing in low-code tools for cybersecurity workflows. From Puerto Rico, Angel's tech journey began by helping his father translate technical books. He later started a web development business and transitioned from a career as a flight attendant to cybersecurity engineering. His workflows have saved companies significant time. Outside work, Angel enjoys time with his two sons, riding electric bikes, reading, and exploring new places.

外部链接
在 n8n.io 查看

分享此工作流