Täglicher News-KI-Assistent mit Gnews.io
Dies ist ein Market Research, AI Summarization-Bereich Automatisierungsworkflow mit 7 Nodes. Hauptsächlich werden Set, Slack, FormTrigger, HttpRequest, Agent und andere Nodes verwendet. KI-gesteuerte Nachrichten-Zusammenfassungen mit Gnews.io und GPT-4.1 generieren und an Slack senden
- •Slack Bot Token oder Webhook URL
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
- •OpenAI API Key
Verwendete Nodes (7)
Kategorie
{
"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": "Map to articles",
"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 News Zusammenfassenr",
"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": "Get GNews articles",
"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": "Completed Notification",
"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": "On form submission",
"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": "Haftnotiz",
"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": "AI News Summarizer",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"13f07df6-bb89-4a64-a820-8145b21f6842": {
"main": [
[
{
"node": "AI News Summarizer",
"type": "main",
"index": 0
}
]
]
},
"AI News Summarizer": {
"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
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Marktforschung, KI-Zusammenfassung
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
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.
Diesen Workflow teilen