8
n8n 中文网amn8n.com

Apple WWDC25 Reddit情感分析与Gemini AI和Google表格

高级

这是一个AI, Marketing领域的自动化工作流,包含 28 个节点。主要使用 Set, Wait, Merge, Filter, Switch 等节点,结合人工智能技术实现智能自动化。 Apple WWDC25 Reddit情感分析与Gemini AI和Google表格

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "db80165df40cb07c0377167c050b3f9ab0b0fb04f0e8cae0dc53f5a8527103ca",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "d003d118-f10d-401b-9b48-642294003248",
      "name": "当点击“执行工作流”时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -720,
        -440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "69f49159-25a6-48e4-8040-20e2fd08d7e3",
      "name": "获取状态",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -280,
        -440
      ],
      "parameters": {
        "url": "=https://api.brightdata.com/datasets/v3/progress/{{ $json.snapshot_id }}",
        "options": {},
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer { your api key}}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "17a043bf-9d13-4515-8b54-3689ff8d636b",
      "name": "获取数据",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        140,
        -520
      ],
      "parameters": {
        "url": "=https://api.brightdata.com/datasets/v3/snapshot/s_mbtsa7xhm9v2pdx3l",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "format",
              "value": "json"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer { your api key}}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "420403f7-ed02-40ee-b5d7-50d949c41705",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -80,
        -440
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "ready",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "cba64afb-644f-4fb2-8f47-f5f0926a31a6",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.status }}",
                    "rightValue": "ready"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "running",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "36e3dcef-e634-4cdc-a1df-536b3cfbc552",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.status }}",
                    "rightValue": "running"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "c0bad055-e7fc-4a9e-832a-faaa1fa03a86",
      "name": "抓取 reddit",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -500,
        -440
      ],
      "parameters": {
        "url": "https://api.brightdata.com/datasets/v3/trigger",
        "method": "POST",
        "options": {},
        "jsonBody": "[\n \n  {\n    \"keyword\": \"WWDC25\",\n    \"date\": \"Past month\",\n    \"num_of_posts\": 100,\n    \"sort_by\": \"New\"\n  }\n]",
        "sendBody": true,
        "sendQuery": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "queryParameters": {
          "parameters": [
            {
              "name": "dataset_id",
              "value": "gd_lvz8ah06191smkebj4"
            },
            {
              "name": "include_errors",
              "value": "true"
            },
            {
              "name": "type",
              "value": "discover_new"
            },
            {
              "name": "discover_by",
              "value": "keyword"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer { your api key}}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "7051599d-a0b4-454b-8a56-49437d43388a",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        140,
        -320
      ],
      "webhookId": "f17e6010-2745-4e37-a4e7-d6f73f83c2aa",
      "parameters": {
        "amount": 15
      },
      "typeVersion": 1.1
    },
    {
      "id": "e319d58e-bb9b-40b3-84ce-1386c2a1adac",
      "name": "## 步骤1. 将新闻保存在向量存储中(每日运行)",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        620,
        -320
      ],
      "parameters": {
        "options": {},
        "inputText": "=Post title :{{ $json.title }}\nPost description : {{ $json.description || \" \"}}",
        "categories": {
          "categories": [
            {
              "category": "WWDC events",
              "description": "=This includes all events that relate to the company APPLE and the latest events in WWDC. This excludes anything that does not refer to apple as a company "
            },
            {
              "category": "other",
              "description": "Any post that does not include APPLE company or related products."
            }
          ]
        }
      },
      "typeVersion": 1.1,
      "alwaysOutputData": false
    },
    {
      "id": "712010c8-688b-4f85-9809-a2489821e9b9",
      "name": "Google Gemini聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        640,
        -140
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "Xp5T9q3YYxBIw2nd",
          "name": "Google Gemini(PaLM) Api account✅"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d5d29fe0-b1b5-4221-8bbd-d074247a1f8f",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        980,
        -420
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "72f15471-3e6a-4250-b18e-79e884d8d411",
              "name": "post_id",
              "type": "string",
              "value": "={{ $json.post_id }}"
            },
            {
              "id": "4c66a57a-79ec-4052-b332-822860b874db",
              "name": "url",
              "type": "string",
              "value": "={{ $json.url }}"
            },
            {
              "id": "dc42a5d6-d601-422d-b4b1-48bf3a0e9840",
              "name": "user_posted",
              "type": "string",
              "value": "={{ $json.user_posted }}"
            },
            {
              "id": "842f3fc9-c2da-4eb6-8640-9b101531ec75",
              "name": "title",
              "type": "string",
              "value": "={{ $json.title }}"
            },
            {
              "id": "0a52a894-955d-45c0-8bc0-33a61bb562ef",
              "name": "description",
              "type": "string",
              "value": "={{ $json.description }}"
            },
            {
              "id": "0a7e5448-ffff-4f3c-a108-fae1974433be",
              "name": "num_comments",
              "type": "number",
              "value": "={{ $json.num_comments }}"
            },
            {
              "id": "0d6bdbb2-4735-4103-822f-6e3dcd0d0ff2",
              "name": "comments",
              "type": "array",
              "value": "={{ $json.comments }}"
            },
            {
              "id": "82d7814f-98a5-4b0f-aeda-e68321548bce",
              "name": "community_description",
              "type": "string",
              "value": "={{ $json.community_description }}"
            },
            {
              "id": "1c75b988-9ac6-4715-bbdd-c80856b878aa",
              "name": "community_name",
              "type": "string",
              "value": "={{ $json.community_name }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "8d937cba-f73e-4c27-b387-656057a8e38c",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1500,
        -200
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash-lite"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "Xp5T9q3YYxBIw2nd",
          "name": "Google Gemini(PaLM) Api account✅"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0bb0f19b-6879-4d1c-822d-e3cb2b66c4e4",
      "name": "分离输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1140,
        -420
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "comments"
      },
      "typeVersion": 1
    },
    {
      "id": "06c2dace-86b3-4c42-82b4-2898b1c3701a",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        400,
        -520
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "db7d74db-cb3a-423e-be88-fb2a8d7a2439",
      "name": "格式化情感分析",
      "type": "n8n-nodes-base.set",
      "position": [
        2180,
        -420
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a7b1cb71-adcc-4b7d-a80d-a2f3fecf39e6",
              "name": "title",
              "type": "string",
              "value": "={{ $('Loop Over Items').first().json.title }}"
            },
            {
              "id": "d6203ecb-3c36-41a5-b3c9-13b04a960317",
              "name": "sentimentAnalysis",
              "type": "string",
              "value": "={{ $json.sentimentAnalysis.category }}"
            },
            {
              "id": "379bed7b-f754-4a61-a7e6-bfd7eb2c4430",
              "name": "post_id",
              "type": "string",
              "value": "={{ $('Loop Over Items').first().json.post_id }}"
            },
            {
              "id": "2eb5a2b7-0c37-4162-ad5c-b63b01343161",
              "name": "url",
              "type": "string",
              "value": "={{ $('Loop Over Items').first().json.url }}"
            },
            {
              "id": "cf66442b-5140-403d-a309-8714a19d742e",
              "name": "description",
              "type": "string",
              "value": "={{ $('Loop Over Items').first().json.description }}"
            },
            {
              "id": "9cff7650-8a0a-4f10-b920-1915fdfae3b6",
              "name": "community_name",
              "type": "string",
              "value": "={{ $('Loop Over Items').first().json.community_name }}"
            },
            {
              "id": "20b7a4ec-5be7-4506-b7f6-17adfd464ef2",
              "name": "category",
              "type": "string",
              "value": "={{ $json.category }}"
            },
            {
              "id": "db43d6dc-49f6-4b1b-96c3-6d440a445aac",
              "name": "comment",
              "type": "string",
              "value": "={{ $json.comment }}"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "e7969e75-f137-4d25-97b1-918549a419e6",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        1940,
        -480
      ],
      "parameters": {
        "numberInputs": 6
      },
      "typeVersion": 3.2
    },
    {
      "id": "3e19ac8e-69e3-40c7-a4a7-7076e52ed0d5",
      "name": "附加情感分析",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2580,
        -420
      ],
      "parameters": {
        "columns": {
          "value": {},
          "schema": [
            {
              "id": "comment",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "comment",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "user_commenting",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "user_commenting",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "url",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "description",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "description",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "title",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "sentimentAnalysis",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "sentimentAnalysis",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "post_id",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "post_id",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "community_name",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "community_name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "autoMapInputData",
          "matchingColumns": [
            "url"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "appendOrUpdate",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 47236189,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/192dM77Cyn5Gei9GNLTRvQjmATLmKrVX3vyN03E4mW6Q/edit#gid=47236189",
          "cachedResultName": "Reddit Comments"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "192dM77Cyn5Gei9GNLTRvQjmATLmKrVX3vyN03E4mW6Q",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/192dM77Cyn5Gei9GNLTRvQjmATLmKrVX3vyN03E4mW6Q/edit?usp=drivesdk",
          "cachedResultName": "APPLE #WWDC25 Sentiments "
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "ZAI2a6Qt80kX5a9s",
          "name": "Google Sheets account✅ "
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "7d73ce32-bea0-4b11-b062-f22752c2463b",
      "name": "每条评论的情感分析",
      "type": "@n8n/n8n-nodes-langchain.sentimentAnalysis",
      "position": [
        1480,
        -420
      ],
      "parameters": {
        "options": {
          "categories": "Excited, Disappointed, Impressed, Indifferent, skeptical, Not clear",
          "systemPromptTemplate": "You are highly intelligent and accurate sentiment analyzer. Analyze the sentiment of the provided text. Categorize it into one of the following: {categories}. Use the provided formatting instructions. Only output the JSON.\n\nYou will try as much to relate he comment to the post to try and get more context of the users sentiment"
        },
        "inputText": "=title: {{ $('Loop Over Items').first().json.title }}\n\ndescription: {{ $('Loop Over Items').first().json.description }}\n\nComments: {{ $json.comment || \" \"}}"
      },
      "typeVersion": 1.1
    },
    {
      "id": "c96807b8-c235-4ad7-bc60-c5009fa4f770",
      "name": "过滤器",
      "type": "n8n-nodes-base.filter",
      "position": [
        2380,
        -420
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "acd98194-7112-4756-9b46-da360559eddb",
              "operator": {
                "type": "string",
                "operation": "notContains"
              },
              "leftValue": "={{ $json.sentimentAnalysis }}",
              "rightValue": "Not clear"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "26187370-e043-4e93-9d22-96172fbd9c8e",
      "name": "无分类",
      "type": "n8n-nodes-base.set",
      "position": [
        1000,
        -200
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "04e566e8-020b-44a8-9276-bc387b5a9ce7",
              "name": "response",
              "type": "string",
              "value": "No category"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "156e304d-5493-4416-bf45-0a6ebd267948",
      "name": "编辑情感分析",
      "type": "n8n-nodes-base.set",
      "position": [
        1300,
        -420
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "82f0938f-9286-41e7-bd12-23cf54595019",
              "name": "comment",
              "type": "string",
              "value": "={{ $json.comment }}"
            },
            {
              "id": "fc67ea4a-6d4f-46b9-ac97-22f3701ef1a0",
              "name": "user_commenting",
              "type": "string",
              "value": "={{ $json.user_commenting }}"
            },
            {
              "id": "157c0517-d139-4ce3-b916-9f03889d4abf",
              "name": "url",
              "type": "string",
              "value": "={{ $json.url }}"
            },
            {
              "id": "d6e441f9-b96d-4f1d-a5ef-235b25e57690",
              "name": "description",
              "type": "string",
              "value": "={{ $('Edit Fields').item.json.description }}"
            },
            {
              "id": "ce00e4eb-26c5-4969-995b-fbe328b49d21",
              "name": "title",
              "type": "string",
              "value": "={{ $('Edit Fields').item.json.title }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "ae9b39de-488b-4cee-a011-285bd344ed50",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -560
      ],
      "parameters": {
        "width": 200,
        "height": 440,
        "content": "抓取 Linkedin 上所有相关帖子"
      },
      "typeVersion": 1
    },
    {
      "id": "e6de27a3-09a2-4ace-9b0e-63a8d40acd3e",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        -560
      ],
      "parameters": {
        "color": 4,
        "width": 380,
        "height": 440,
        "content": "获取抓取状态,如果正在运行,我们等待几秒钟直到返回结果"
      },
      "typeVersion": 1
    },
    {
      "id": "b1e97d96-d03f-4bf4-8972-fb501b64cdc6",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -560
      ],
      "parameters": {
        "color": 5,
        "width": 220,
        "height": 500,
        "content": "从 API 调用中获取响应。这包括我们拥有的所有 reddit 帖子列表"
      },
      "typeVersion": 1
    },
    {
      "id": "a161c6ea-f338-40f6-bdb8-62ddfd973db8",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        -620
      ],
      "parameters": {
        "color": 4,
        "width": 200,
        "height": 540,
        "content": "循环项目以避免用多个搜索使 AI 过载"
      },
      "typeVersion": 1
    },
    {
      "id": "c8bc1a9c-00aa-4850-ac84-3b811de0e3b2",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        600,
        -440
      ],
      "parameters": {
        "color": 6,
        "width": 300,
        "height": 480,
        "content": "仅对 WWDC 相关事件进行文本分类。我们循环无分类以维持流程"
      },
      "typeVersion": 1
    },
    {
      "id": "1c064180-28d5-4490-b9f8-87694eb6b3b5",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        940,
        -540
      ],
      "parameters": {
        "color": 4,
        "width": 500,
        "height": 580,
        "content": "简单数据转换"
      },
      "typeVersion": 1
    },
    {
      "id": "2d35e7a8-c43f-4363-9eab-bd6d2a343748",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1460,
        -540
      ],
      "parameters": {
        "color": 2,
        "width": 380,
        "height": 580,
        "content": "通过 AI 运行我们的情感分析以了解用户的感受。这可以分解为细微的情感以捕获更多细节"
      },
      "typeVersion": 1
    },
    {
      "id": "b7e25c6d-ab06-46b5-9a26-d822c3696108",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1860,
        -540
      ],
      "parameters": {
        "color": 4,
        "width": 260,
        "height": 440,
        "content": "合并路径和情感分析"
      },
      "typeVersion": 1
    },
    {
      "id": "9f5bdb9f-a0f8-42f5-940f-d83c364053f2",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2140,
        -540
      ],
      "parameters": {
        "width": 600,
        "height": 440,
        "content": "仅筛选具有明确情感的项目并将其更新到表格中"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {
    "scrap reddit": [
      {
        "snapshot_id": "s_mbubple921vg7kk65x"
      }
    ]
  },
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "format sentiment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Append Sentiments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Get data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get data": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "edit for Sentiment analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get status": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No category": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "scrap reddit": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No category",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "format sentiment": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append Sentiments": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Sentiment Analysis per comment",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "edit for Sentiment analysis": {
      "main": [
        [
          {
            "node": "Sentiment Analysis per comment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sentiment Analysis per comment": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 3
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 4
          }
        ],
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "scrap reddit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, 营销

需要付费吗?

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

工作流信息
难度等级
高级
节点数量28
分类2
节点类型14
难度说明

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

作者
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 查看

分享此工作流