Gnews.io を使った毎日のニュース AI アシスタント
これはMarket Research, AI Summarization分野の自動化ワークフローで、7個のノードを含みます。主にSet, Slack, FormTrigger, HttpRequest, Agentなどのノードを使用。 Gnews.ioとGPT-4.1を使ってAI駆動型ニュース要約をSlackへ送信
- •Slack Bot Token または Webhook URL
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
{
"id": "yX0GguuTfJTMO5fn",
"meta": {
"instanceId": "50631c03cbd88440965b74e5a58aada5437cbc43e90372b516e36154908ad374",
"templateCredsSetupCompleted": true
},
"name": "Daily News AI Agent using Gnews.io",
"tags": [],
"nodes": [
{
"id": "1343b584-6a62-4cfb-aa74-3cfa32c0b61c",
"name": "GPT-4.1 Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
96,
560
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "WXVOHmv3WY7Aw0or",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "13f07df6-bb89-4a64-a820-8145b21f6842",
"name": "記事へのマッピング",
"type": "n8n-nodes-base.set",
"position": [
480,
160
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "f030ab1f-df47-49fd-9a2e-020622f8a8f6",
"name": "articles",
"type": "string",
"value": "={{ $json.articles }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "ceb045f1-e801-4808-8c97-21a3fbece1a2",
"name": "AIニュース要約ツール",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
96,
384
],
"parameters": {
"text": "=** Select Top Articles **\nFrom {{$json.articles}}, choose the 15 most relevant articles related to finances advancements, tools, research, and applications.\n\n** Summarize Clearly **\nWrite in clear, professional, and readable language, summarizing the main point of each article in 1-2 short sentences.\n\n** Include Links **\nAfter each summary, add the article's URL for readers to explore more.\n\n** Add the Date **\nBegin the summary with today’s date:\n{{ $now.format('yyyy/MM/dd') }}\n",
"options": {
"systemMessage": "** Output Format **\nOnly return the summary in plain text – no explanations or additional formatting. Keep the response up to 2000 characters"
},
"promptType": "define"
},
"typeVersion": 1.8
},
{
"id": "67e85e66-7ae2-4d86-8d57-528ffbafc0a8",
"name": "GNews記事の取得",
"type": "n8n-nodes-base.httpRequest",
"position": [
256,
160
],
"parameters": {
"url": "https://gnews.io/api/v4/search",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "q",
"value": "={{ $json.topic }}"
},
{
"name": "lang",
"value": "en"
},
{
"name": "apikey",
"value": "ADD YOUR API HERE"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d324aa84-725a-4624-b90a-79d5ba60e6df",
"name": "完了通知",
"type": "n8n-nodes-base.slack",
"position": [
448,
384
],
"webhookId": "0a1c0309-0a0b-4e37-972d-b229684c2d52",
"parameters": {
"text": "={{ $json.output }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "id",
"value": "C099YS0V3M2"
},
"otherOptions": {}
},
"credentials": {
"slackApi": {
"id": "VI4wP9VPIS3KDiow",
"name": "Slack account"
}
},
"executeOnce": true,
"typeVersion": 2.2
},
{
"id": "13e49ab1-b175-4a88-9ccd-4f2757251d33",
"name": "フォーム送信時",
"type": "n8n-nodes-base.formTrigger",
"position": [
48,
160
],
"webhookId": "101b39ea-28b7-44fd-a8ff-d0ec6fb24782",
"parameters": {
"options": {},
"formTitle": "News Search",
"formFields": {
"values": [
{
"fieldLabel": "topic",
"requiredField": true
}
]
}
},
"typeVersion": 2.3
},
{
"id": "5c5ea06a-1a69-4b61-b054-ec9b90d84dba",
"name": "付箋ノート",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
160
],
"parameters": {
"width": 704,
"height": 496,
"content": "## Daily News AI Agent using Gnews.io\n\n**This workflow automates news aggregation and summarization by fetching relevant articles from Gnews.io and using AI to create concise, professional summaries delivered via Slack**\n\n### **What Makes This Different:**\n- **Real-Time News Aggregation** - Fetches current news articles from Gnews.io API based on user-specified topics\n- **AI-Powered Summarization** - Uses GPT-4.1 to intelligently select and summarize the most relevant articles\n- **Professional Formatting** - Generates clean, readable summaries with proper dates and article links\n- **Form-Based Input** - Simple web form interface for topic specification\n- **Automated Delivery** - Sends summarized news directly to Slack for immediate consumption\n- **Intelligent Filtering** - AI selects the top 15 most relevant articles from search results\n\n### 2. Configure Gnews.io API\n- **Get your API key**: Sign up at [gnews.io](https://gnews.io) and obtain your API key from the dashboard\n- **Add API key to workflow**: In the \"Get GNews articles\" HTTP Request node, replace `\"ADD YOUR API HERE\"` with your actual Gnews.io API key"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "83ad420d-7298-463b-bf3e-566517cdcb4e",
"connections": {
"1343b584-6a62-4cfb-aa74-3cfa32c0b61c": {
"ai_languageModel": [
[
{
"node": "ceb045f1-e801-4808-8c97-21a3fbece1a2",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"13f07df6-bb89-4a64-a820-8145b21f6842": {
"main": [
[
{
"node": "ceb045f1-e801-4808-8c97-21a3fbece1a2",
"type": "main",
"index": 0
}
]
]
},
"ceb045f1-e801-4808-8c97-21a3fbece1a2": {
"main": [
[
{
"node": "d324aa84-725a-4624-b90a-79d5ba60e6df",
"type": "main",
"index": 0
}
]
]
},
"67e85e66-7ae2-4d86-8d57-528ffbafc0a8": {
"main": [
[
{
"node": "13f07df6-bb89-4a64-a820-8145b21f6842",
"type": "main",
"index": 0
}
]
]
},
"13e49ab1-b175-4a88-9ccd-4f2757251d33": {
"main": [
[
{
"node": "67e85e66-7ae2-4d86-8d57-528ffbafc0a8",
"type": "main",
"index": 0
}
]
]
}
}
}このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - 市場調査, AI要約
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Omer Fayyaz
@omerfayyazn8n Expert with deep experience in designing and implementing automation workflows that optimize business processes, reduce manual effort, and improve scalability. Skilled in integrating n8n with diverse platforms, APIs, and enterprise systems to deliver end-to-end automation solutions. With 13+ years of background in web development (PHP & JavaScript), I bring strong technical expertise to create custom, reliable, and efficient workflows.
このワークフローを共有