8
n8n 中文网amn8n.com

使用 Gemini AI 进行 X 和 Reddit 技术趋势分析并同步至 Notion 和 Telegram

高级

这是一个自动化工作流,包含 25 个节点。主要使用 Set, Code, Notion, Telegram, RedditTool 等节点。 使用 Gemini AI 进行 X 和 Reddit 技术趋势分析并同步至 Notion 和 Telegram

前置要求
  • Notion API Key
  • Telegram Bot Token
  • Twitter API 凭证
  • Google Gemini API Key

分类

-
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "dca66bfe20538326afcf0ea9818c4e437640a050446b589da002699d11b2eea7"
  },
  "nodes": [
    {
      "id": "f03e68cd-cf6b-4f1e-bc90-6368b2346a64",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -816,
        -96
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "eaf30fe7-bc36-4f9f-8c4b-d27e4972d8fe",
      "name": "编辑字段2",
      "type": "n8n-nodes-base.set",
      "position": [
        -592,
        -96
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "23a24e77-cc31-49fd-8ade-c1e244cbedc3",
      "name": "AI Agent2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -56,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "4eb0cb35-ec76-4432-91b9-6e3dbb77df54",
      "name": "发送短信",
      "type": "n8n-nodes-base.telegram",
      "position": [
        832,
        -96
      ],
      "webhookId": "71ce82c6-df8a-4ce2-90fa-7fdacfa0c994",
      "parameters": {},
      "executeOnce": false,
      "typeVersion": 1.2
    },
    {
      "id": "7a24b350-7951-4229-a7d2-c90666f29508",
      "name": "Google Gemini 聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -304,
        64
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e3ecb008-2f2e-44a9-86f9-4f83df822542",
      "name": "获取 Reddit 多个帖子",
      "type": "n8n-nodes-base.redditTool",
      "position": [
        -80,
        64
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e142f4e3-e65b-4bd2-9c70-b4813d7b3f11",
      "name": "获取 Reddit 多个帖子2",
      "type": "n8n-nodes-base.redditTool",
      "position": [
        32,
        64
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1459661e-f1bc-4f74-8985-11964e085851",
      "name": "在 X 平台搜索推文",
      "type": "n8n-nodes-base.twitterTool",
      "position": [
        144,
        64
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "c0d2deff-67e8-4a77-85df-0873d7c6851d",
      "name": "获取 Reddit 多个帖子1",
      "type": "n8n-nodes-base.redditTool",
      "position": [
        -16,
        192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "975b3765-7a05-473d-a586-3d5c6ea2654d",
      "name": "结构化输出解析器2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        256,
        64
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "aabde069-eb3b-45ea-8c6c-da4d71b21c2e",
      "name": "Google Gemini 聊天模型5",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        288,
        208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0f249f57-e6ca-4b10-ab1b-378f6fd41cc0",
      "name": "JavaScript代码",
      "type": "n8n-nodes-base.code",
      "position": [
        624,
        -96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "3f41fc99-4a19-487e-bf67-e518b50af282",
      "name": "JavaScript代码1",
      "type": "n8n-nodes-base.code",
      "position": [
        1040,
        -96
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0edb5e55-8f0c-4f34-af8d-83cfa38d6909",
      "name": "创建页面",
      "type": "n8n-nodes-base.notion",
      "position": [
        1248,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "2f5079c0-ab57-4c68-9032-bf27cace5651",
      "name": "添加区块",
      "type": "n8n-nodes-base.notion",
      "position": [
        1456,
        -96
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "0054bb74-5f2c-4455-92e8-9364c8bf57ba",
      "name": "获取 Reddit 多个帖子3",
      "type": "n8n-nodes-base.redditTool",
      "position": [
        128,
        192
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cf020825-ac2f-41e3-8e59-befdfc16e9c2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -880,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00904859-627a-4490-84fc-50077fda906a",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5fab8662-570b-4ece-a2c4-8f9cfa1e6dca",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6ccd836a-8bb3-4645-b6aa-bcde94eae8df",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "71e9ff38-8743-4a2d-b55c-7ac023a8b45c",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        208
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "650de7ae-7d6a-4508-b8be-bbcd904eb5b1",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        176
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5c40f3d8-02fb-4068-9233-27b99dc8a3d8",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a10c0821-71b5-4699-81b4-9be4aca290d9",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d236cddb-4988-4745-9fd6-590642132160",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1232,
        -240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "AI Agent2": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "AI Agent2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a page": {
      "main": [
        [
          {
            "node": "Append a block",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Send a text message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Tweets in X": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Code in JavaScript1": {
      "main": [
        [
          {
            "node": "Create a page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a text message1": {
      "main": [
        [
          {
            "node": "Code in JavaScript1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts in Reddit": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts in Reddit1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts in Reddit2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get many posts in Reddit3": {
      "ai_tool": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "Structured Output Parser2",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent2",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级

需要付费吗?

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

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

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

作者

🚀 Business & tech consultant specialized in No Code automation and AI. I help SMEs, startups, and independents save time and cut costs with scalable workflows in n8n and other tools. Passionate about making automation simple, useful, and human-centered. 👉 Also sharing automation insights on YouTube Find all my links here : https://linktr.ee/cashflows.routine And my AI Agency here : https://agence-alain.fr

外部链接
在 n8n.io 查看

分享此工作流