8
n8n 中文网amn8n.com

使用Gemini和GPT-4.1 AI创建X帖子,并通过Telegram人工审批

高级

这是一个Social Media, Multimodal AI领域的自动化工作流,包含 20 个节点。主要使用 Set, Twitter, Telegram, Agent, TelegramTrigger 等节点。 使用Gemini和GPT-4.1 AI创建X帖子,并通过Telegram人工审批

前置要求
  • Twitter API 凭证
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "c06b75187a3df8fc1f7d0dca41a1070761a5c8ab93bdb0bd30143dfe764a0663"
  },
  "nodes": [
    {
      "id": "cd95e4f4-9bd6-4352-b1ab-930a5a0ada65",
      "name": "Telegram_触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1140,
        760
      ],
      "webhookId": "f9d2a169-fd6e-40f1-82f5-36afa714030d",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "46e6760c-fd06-4388-947d-16633cb3d676",
      "name": "请求反馈",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1860,
        760
      ],
      "webhookId": "da32f9b9-1b07-4e0f-9b5a-55a8c9ab9d59",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "bd5c83f1-d206-4dee-aa08-b4157d760732",
      "name": "## 步骤1. 将新闻保存在向量存储中(每日运行)",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        2060,
        760
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b3e3705c-4708-4be2-a0cb-fc621ba98ce9",
      "name": "修订代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2460,
        900
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "6a2221ee-b37c-4930-a0c6-d9e664336ac2",
      "name": "设置帖子",
      "type": "n8n-nodes-base.set",
      "position": [
        1660,
        760
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a46c5389-af81-4b63-ad55-ea46fa301e9d",
      "name": "Tavily 搜索",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        1180,
        1180
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "40f0c1cc-8f42-4343-8cda-212e4f69392e",
      "name": "X 帖子代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1320,
        760
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "bdd2f451-fffb-44e4-bb75-773f54742153",
      "name": "X 帖子",
      "type": "n8n-nodes-base.twitter",
      "position": [
        2460,
        640
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "04dac988-2aaa-4f5b-aa68-a9aa8b102da2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "73f4b1f0-2de9-4375-9d6c-7339eb663962",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1820,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fef2796f-fe94-4e0a-a471-995c11c6649f",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1620,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "40b88ec1-aa1d-4719-95d1-b3b7450903d3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "be4c9897-2f90-4910-b4ba-1758a8d28f85",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a6b81cc4-0d33-44b1-adfd-6a996bf46c8c",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2400,
        820
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "767e79d9-a818-488e-b72c-f6f50874f5ae",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c9cb43dc-a2bb-4b2d-b7e4-6b623135191a",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1100,
        1100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d98e852b-9199-4bfa-8a6b-2266bcde1a3f",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1360,
        1100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f69c5bb2-bced-4508-979d-c4f2e9ceb8c7",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        500,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "58874d22-e2ed-400f-b38e-dd59e3c70223",
      "name": "2.0 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1620,
        1180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aec10844-ca5a-4d84-bb41-feaf309514d0",
      "name": "GPT 4.1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        1460,
        1180
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "GPT 4.1": {
      "ai_languageModel": [
        [
          {
            "node": "Revision Agent",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "X Post Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Set Post": {
      "main": [
        [
          {
            "node": "Request Feedback",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2.0 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "X Post Agent": {
      "main": [
        [
          {
            "node": "Set Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tavily Search": {
      "ai_tool": [
        [
          {
            "node": "X Post Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Revision Agent": {
      "main": [
        [
          {
            "node": "Set Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "X Post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Revision Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request Feedback": {
      "main": [
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram_Trigger": {
      "main": [
        [
          {
            "node": "X Post Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 社交媒体, 多模态 AI

需要付费吗?

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

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

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

作者
Electrabot

Electrabot

@vansh404

AI Automation Agency Based In Canada Reach out to me if you need any help -https://www.linkedin.com/in/vansharoraa/

外部链接
在 n8n.io 查看

分享此工作流