This workflow corresponds to n8n.io template #4864 — we link there as the canonical source.
This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "0amwQfcJAlNBQvX6",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Daily News",
"tags": [],
"nodes": [
{
"id": "1145643c-2b2c-44e9-bcf4-30e412f9416e",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-960,
-340
],
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 10
}
]
}
},
"typeVersion": 1.2
},
{
"id": "44038509-248a-47d4-9c49-5c0f29ffda22",
"name": "AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-400,
-340
],
"parameters": {
"text": "=You are act as news expert and collect all news headlines in below and summarise in 5 bullets.\n\n\n {{ $json.articles[1].title }}",
"options": {},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "e97aeaae-a829-40d5-a344-6ae7141095ec",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-400,
-160
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "7b285d38-5089-4eed-bd81-8ef4667f3c28",
"name": "Pull News",
"type": "n8n-nodes-base.httpRequest",
"position": [
-680,
-340
],
"parameters": {
"url": "https://newsapi.org/v2/top-headlines",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "country",
"value": "us"
},
{
"name": "apiKey",
"value": "NEWS_API_KEY"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "4c6e30ad-4030-48e7-b735-1d8e228a1c03",
"name": "Send Mail",
"type": "n8n-nodes-base.gmail",
"position": [
180,
-340
],
"parameters": {
"sendTo": "={{ $json.Email }}",
"message": "=Hi {{ $json.Name }},\nPlease find the top news headlines as below:\n\n{{ $('AI Agent').item.json.output }}",
"options": {},
"subject": "News Headlines",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "c05f27cc-fd08-457a-b964-3bbd3e7193a2",
"name": "Email list",
"type": "n8n-nodes-base.googleSheets",
"position": [
-40,
-340
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1L2dLObdw_aicD6fTd-ElHSBBJIj1aBmKT7FecMtbyyE",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/YOUR_GOOGLE_SHEET_ID/edit?usp=drivesdk",
"cachedResultName": "Emails"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 4.5
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "b5ab7305-3729-4b0a-a432-1e187a93e1bb",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Email list",
"type": "main",
"index": 0
}
]
]
},
"Pull News": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Email list": {
"main": [
[
{
"node": "Send Mail",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Pull News",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
gmailOAuth2googleSheetsOAuth2ApiopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow fetches top news headlines every 10 minutes from NewsAPI, summarizes them using OpenAI's GPT-4o model, and sends a concise email digest to a list of recipients defined in a Google Spreadsheet. It's ideal for anyone who wants to stay updated with the latest news in…
Source: https://n8n.io/workflows/4864/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n automation workflow automates the creation, scripting, production, and posting of YouTube videos. It leverages AI (OpenAI), image generation (PIAPI), video rendering (Shotstack), and platform
Created by: Peyton Leveillee Last updated: October 2025
The Multi-Model Agency Content Engine is a high-performance editorial system designed for agencies. It solves the "blank page" problem by alternating between real-world social proof and strategic expe
This workflow automates the creation, rendering, approval, and posting of TikTok-style POV (Point of View) videos to Instagram, with cross-posting to Facebook and YouTube. It eliminates manual video p
SEO Blog Article Generation Workflow. Uses outputParserStructured, httpRequest, agent, lmChatOpenAi. Scheduled trigger; 56 nodes.