8
n8n 中文网amn8n.com

Perplexity 驱动的 AI 新闻搜索

中级

这是一个AI领域的自动化工作流,包含 11 个节点。主要使用 Telegram, Perplexity, GoogleSheets, ScheduleTrigger, OpenAi 等节点,结合人工智能技术实现智能自动化。 使用Perplexity Sonar Pro自动获取每日AI新闻(通过Telegram)

前置要求
  • Telegram Bot Token
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "ZizcyYq82q3P2ImX",
  "meta": {
    "instanceId": "1c7b08fed4406d546caf4a44e8b942ca317e7e207bb9a5701955a1a6e1ce1843"
  },
  "name": "Perplexity Powered AI News Search",
  "tags": [],
  "nodes": [
    {
      "id": "18a737fb-a33f-4a4b-a5dc-cc5656c46a50",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        720,
        180
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 10
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ccc439ae-baab-4b1b-a67f-e21a64426407",
      "name": "REDACTED",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1260,
        360
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "REDACTED",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1cBdqD8JiMLH2uvnK0KbcLHDrEDrFgK076u2x4uvwLP8",
          "cachedResultUrl": "REDACTED",
          "cachedResultName": "REDACTED"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "b7e99d4c-74fd-4ac4-a008-fcaa7e0b2bb6",
      "name": "Sheet Log",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1820,
        180
      ],
      "parameters": {
        "columns": {
          "value": {
            "Date": "={{ $('Schedule Trigger').item.json['Readable date'] }}",
            "News": "={{ $('Formatter Agent').item.json.message.content }}",
            "Thread Ts": "={{ $json.message.ts }}"
          },
          "schema": [
            {
              "id": "Date",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Date",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "News",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "News",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Thread Ts",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Thread Ts",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "Date"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "appendOrUpdate",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "REDACTED",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "id",
          "value": "Redacted"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "NzCMYdQID9qgVeNJ",
          "name": "Google Sheets account 3"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "1bb7449f-d243-4d90-9ba4-5e2632dda608",
      "name": "Perplexity Daily Search (Past 24hrs)",
      "type": "n8n-nodes-base.perplexity",
      "position": [
        960,
        180
      ],
      "parameters": {
        "model": "sonar-reasoning-pro",
        "options": {
          "searchRecency": "day"
        },
        "messages": {
          "message": [
            {
              "role": "system",
              "content": "REDACTED"
            },
            {
              "content": "=Find and summarize the most recent (within the last 24 hours. For reference, today is {{ $json['Readable date'] }}) and relevant news on AI model releases, research breakthroughs, and key announcements by organizations like OpenAI, Anthropic, Google, Meta, Mistral, xAI, and Hugging Face. \n\nPrioritize first primary, credible sources and exclude videos and other news aggregator site.\n\nThen research on potential disrupters that may not be immediately reported on major news outlet (e.g Seedance video generation model, Deepseek etc). \n\nFor each item:\n- Write a clear 2–3 sentence summary\n- Add the full (unshortened) source URL immediately after each summary\n\n#Rule\nIf there are no notable news found in the past 24 hours, respond with \"No Notable AI News found in the past 24 hours\""
            }
          ]
        },
        "simplify": true,
        "requestOptions": {}
      },
      "credentials": {
        "perplexityApi": {
          "id": "siBtNJfFZDULtMTv",
          "name": "Perplexity account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2d281620-be7d-40b0-afba-0d443a89be88",
      "name": "Formatter Agent",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1180,
        180
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "GPT-4O"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Here is today’s AI news list from Perplexity:\n\n\"{{ $json.message }}\"\n\nPlease:\n\n- Remove all thinking or reasoning notes enclosed between </think> tags.\n- Cross-check the news against the “Past News Log Sheet” and remove duplicates. Remove duplicate news from output even if they were reported from different sources. Take some time to infer the past news in the sheet to ensure no duplication, since news might be worded differently. \n- Ensure each item has a clear, 1–2 sentence summary.\n- After each summary, include the full unfurled source URL.\n- Use bold to highlight company names or major updates.\n- Add spacing between news items for readability.\n\n\nStart with:\nHi, Today is {{ $('Schedule Trigger').item.json['Readable date'] }}. Here are the latest AI updates you should know:\n\n#Rule\nIf Perplexity's output shows that there are no notable news in the past 24 hours, or all the news are duplicates/similar from the \"Past News Log Sheet\" respond appropriately with \"No notable AI development news in the past 24 hours\""
            },
            {
              "role": "system",
              "content": "You're a helpful formatter Agent"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "mRjDuoQjiE0APh7s",
          "name": "OpenAi account 2"
        }
      },
      "typeVersion": 1.8
    },
    {
      "id": "e2d77cb3-e14a-4e69-b3b7-20266d160b09",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        60
      ],
      "parameters": {
        "height": 460,
        "content": "Scheduled trigger"
      },
      "typeVersion": 1
    },
    {
      "id": "4c7abefe-918c-4533-946c-5aa771d67388",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        60
      ],
      "parameters": {
        "color": 5,
        "height": 460,
        "content": "Search"
      },
      "typeVersion": 1
    },
    {
      "id": "2337cf99-72be-4e19-abee-ba45aec2f2f7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1160,
        60
      ],
      "parameters": {
        "color": 3,
        "width": 300,
        "height": 460,
        "content": "Format + Crosscheck Recency\n"
      },
      "typeVersion": 1
    },
    {
      "id": "63a6b4f8-e2c1-4bd0-aa04-5057e39cab4a",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1480,
        60
      ],
      "parameters": {
        "color": 6,
        "width": 580,
        "height": 460,
        "content": "Telegram Message & Log"
      },
      "typeVersion": 1
    },
    {
      "id": "d03f18f6-728f-4981-8c94-d6a96191b4fe",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "color": 4,
        "width": 600,
        "height": 920,
        "content": "🧠 Perplexity-Powered Daily AI News Digest (via Telegram)\n\n\nThis ready-to-deploy n8n workflow automates the entire process of collecting, filtering, formatting, and distributing daily AI industry news summaries directly to your Telegram group or channel.\n\nPowered by Perplexity and OpenAI, it fetches only high-signal AI updates from trusted sources (e.g. OpenAI, DeepMind, HuggingFace, MIT Tech Review), filters out duplicates based on a Google Sheet archive, and delivers beautifully formatted news directly to your team — every morning at 10AM.\n\nFor more such build and step-by-step tutorials, check out:\nhttps://www.youtube.com/@Automatewithmarc\n\n🚀 Key Features:\nPerplexity AI Integration: Automatically fetches the most relevant AI developments from the last 24 hours.\n\nAI Formatter Agent: Cleans the raw feed, removes duplicates, adds summaries, and ensures human-friendly formatting.\n\nGoogle Sheets Log: Tracks previously reported news items to avoid repetition.\n\nTelegram Delivery: Sends a polished daily digest straight to your chat, ready for immediate team consumption.\n\nCustomizable Scheduling: Preconfigured for daily use, but can be modified to fit your team's preferred cadence.\n\n💼 Ideal For:\nAnyone who wants to stay ahead of fast-moving AI trends with zero manual effort\n\n🛠️ Tech Stack:\nPerplexity AI\n\nOpenAI (GPT-4 or equivalent)\n\nGoogle Sheets\n\nTelegram API\n\n✅ Setup Notes:\nYou’ll need to connect your own OpenAI, Perplexity, Google Sheets, and Telegram credentials.\n\nReplace the Google Sheet ID and Telegram channel settings with your own."
      },
      "typeVersion": 1
    },
    {
      "id": "0d6475ab-3b90-47fd-9e9d-2e901cd15a98",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1580,
        180
      ],
      "webhookId": "26253147-c419-426f-9b9d-d99df88464c7",
      "parameters": {
        "additionalFields": {}
      },
      "credentials": {
        "telegramApi": {
          "id": "dG7fL5iq4O9PeM1G",
          "name": "Telegram n8n"
        }
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "181b62b2-8f1e-41fd-842d-6d341552dc23",
  "connections": {
    "0d6475ab-3b90-47fd-9e9d-2e901cd15a98": {
      "main": [
        [
          {
            "node": "b7e99d4c-74fd-4ac4-a008-fcaa7e0b2bb6",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2d281620-be7d-40b0-afba-0d443a89be88": {
      "main": [
        [
          {
            "node": "0d6475ab-3b90-47fd-9e9d-2e901cd15a98",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "18a737fb-a33f-4a4b-a5dc-cc5656c46a50": {
      "main": [
        [
          {
            "node": "1bb7449f-d243-4d90-9ba4-5e2632dda608",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Past News Sheet Log": {
      "ai_tool": [
        [
          {
            "node": "2d281620-be7d-40b0-afba-0d443a89be88",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "1bb7449f-d243-4d90-9ba4-5e2632dda608": {
      "main": [
        [
          {
            "node": "2d281620-be7d-40b0-afba-0d443a89be88",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 人工智能

需要付费吗?

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

工作流信息
难度等级
中级
节点数量11
分类1
节点类型7
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部链接
在 n8n.io 查看

分享此工作流

分类

分类: 34