일일 AI 뉴스 요약 및 Gmail 전송
중급
이것은자동화 워크플로우로, 11개의 노드를 포함합니다.주로 Code, Gmail, Agent, ScheduleTrigger, ToolHttpRequest 등의 노드를 사용하며. OpenRouter AI 및 Gmail 배달을 사용한 자동화된 일일 뉴스 요약
사전 요구사항
- •Google 계정 및 Gmail API 인증 정보
- •대상 API의 인증 정보가 필요할 수 있음
사용된 노드 (11)
카테고리
-
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "QiL5QGmjTyMdvxHW",
"meta": {
"instanceId": "15d6057a37b8367f33882dd60593ee5f6cc0c59310ff1dc66b626d726083b48d",
"templateCredsSetupCompleted": true
},
"name": "Daily AI News Summary & Gmail Delivery",
"tags": [],
"nodes": [
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"name": "일정 트리거",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
224,
304
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours",
"hoursInterval": 24
}
]
}
},
"typeVersion": 1.2
},
{
"id": "note1-2345-6789-abcd-ef1234567890",
"name": "메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
-16
],
"parameters": {
"width": 320,
"height": 280,
"content": "## Daily AI News Summary to Gmail\nThis workflow runs on a schedule to gather the latest news, summarize it using an AI agent, and deliver it as a formatted email via Gmail.\n\n**Required Setup:**\n1. Configure the **Schedule Trigger** to your desired time.\n2. Add your **OpenRouter API** credentials to the \"OpenRouter Chat Model\" node.\n3. Add your **Tavily API Key** in the \"Tavily News Search\" node.\n4. Add your **Gmail OAuth2** credentials to the \"Send a message\" node."
},
"typeVersion": 1
},
{
"id": "agent123-4567-8901-2345-678901234567",
"name": "AI News 에이전트",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
704,
304
],
"parameters": {
"text": "={{ $json.query }}",
"options": {
"systemMessage": "=You are a professional news analyst. Your task is to find the most important news stories for the day on topics like technology, business, world events, and science. Language is must be Japanese.\n\nYou MUST provide your response as a single, valid JSON object. Do not add any text or markdown before or after the JSON. The JSON object must strictly follow this schema:\n\n{\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"Create a compelling title for the daily news summary, like 'Daily News Briefing: [Date]'.\"\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"A very brief, one-sentence overview of the day's news headlines.\"\n },\n \"stories\": {\n \"type\": \"array\",\n \"description\": \"An array of 5 to 7 of the most important news stories.\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"headline\": {\n \"type\": \"string\",\n \"description\": \"The headline of the story.\"\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"A concise summary of the individual story (2-3 sentences).\"\n },\n \"category\": {\n \"type\": \"string\",\n \"description\": \"The relevant category (e.g., 'Technology', 'Business', 'World Events', 'Science').\"\n }\n },\n \"required\": [\"headline\", \"summary\", \"category\"]\n }\n }\n },\n \"required\": [\"title\", \"summary\", \"stories\"]\n}"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "model456-7890-1234-5678-901234567890",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
624,
512
],
"parameters": {
"options": {}
},
"credentials": {
"openRouterApi": {
"id": "vWpRpLLjPvvWskcW",
"name": "確認用"
}
},
"typeVersion": 1
},
{
"id": "tavily789-0123-4567-8901-234567890123",
"name": "Tavily News Search",
"type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
"position": [
800,
512
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"jsonBody": "={\n \"api_key\": \"your-API\",\n \"query\": \"{searchTerm}\",\n \"search_depth\": \"advanced\",\n \"include_answer\": true,\n \"topic\": \"news\",\n \"include_raw_content\": true,\n \"max_results\": 10,\n \"days\": 1\n}",
"sendBody": true,
"specifyBody": "json",
"toolDescription": "Use this tool to search for the latest news on any topic",
"placeholderDefinitions": {
"values": [
{
"name": "searchTerm",
"type": "string",
"description": "The news topic or query to search for"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "parser012-3456-7890-1234-567890123456",
"name": "News 출력 파서",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
976,
512
],
"parameters": {
"schemaType": "manual",
"inputSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"The title for today's news summary\"\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"The complete formatted news summary with all stories\"\n },\n \"stories\": {\n \"type\": \"array\",\n \"description\": \"Individual news stories\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"headline\": {\n \"type\": \"string\"\n },\n \"summary\": {\n \"type\": \"string\"\n },\n \"category\": {\n \"type\": \"string\"\n }\n }\n }\n }\n },\n \"required\": [\"title\", \"summary\", \"stories\"]\n}"
},
"typeVersion": 1.2
},
{
"id": "note2-3456-7890-1234-567890123456",
"name": "메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
704,
-16
],
"parameters": {
"width": 368,
"height": 240,
"content": "## AI News Agent Configuration\nThe core of this workflow is the AI Agent, which is configured to:\n- Search for news across key topics (Tech, Business, World Events, etc.).\n- Use the **Tavily API** for real-time news search.\n- Structure the output into a specific JSON format for easy processing."
},
"typeVersion": 1
},
{
"id": "code345-6789-0123-4567-890123456789",
"name": "Prepare News Query",
"type": "n8n-nodes-base.code",
"position": [
464,
304
],
"parameters": {
"jsCode": "const today = new Date();\nconst dateString = today.toLocaleDateString('en-US', { \n weekday: 'long', \n year: 'numeric', \n month: 'long', \n day: 'numeric' \n});\n\nreturn [\n {\n json: {\n query: `Search for today's most important news stories from ${dateString}. Include major headlines from technology, business, politics, science, and world events. Focus on the most significant and impactful stories.`,\n date: dateString\n }\n }\n];"
},
"typeVersion": 2
},
{
"id": "note3-4567-8901-2345-678901234567",
"name": "메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1152,
-16
],
"parameters": {
"width": 336,
"height": 272,
"content": "## Gmail Delivery Setup\n**Required Configuration:**\n1. Add your **Gmail OAuth2 credentials** to the final node.\n2. Set the recipient's email address in the \"Send a message\" node.\n3. The \"Format for Gmail\" node uses JavaScript to create a well-formatted HTML email. You can customize the styling there."
},
"typeVersion": 1
},
{
"id": "675a14e9-0472-42f5-8828-6dceb7547dbe",
"name": "Send a message",
"type": "n8n-nodes-base.gmail",
"position": [
1344,
304
],
"webhookId": "b0128308-fba0-4291-996d-e38ac9edaed4",
"parameters": {
"sendTo": "recipient@example.com",
"message": "={{ $json.htmlBody }}",
"options": {
"appendAttribution": false
},
"subject": "={{ $json.subject }}"
},
"credentials": {
"gmailOAuth2": {
"id": "S97D1LtEAoJViOUO",
"name": "Gmail account"
}
},
"typeVersion": 2.1
},
{
"id": "format901-2345-6789-0123-456789012345",
"name": "Format for Gmail",
"type": "n8n-nodes-base.code",
"position": [
1088,
304
],
"parameters": {
"jsCode": "const output = $input.first().json.output;\nconst date = $input.first().json.date;\n\n// メールの件名\nconst subject = output.title || \"Daily News Summary\";\n\n// HTMLメールの本文を生成\nlet htmlBody = `\n<!DOCTYPE html>\n<html lang=\"ja\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333333; background-color: #f4f4f4; margin: 0; padding: 0; }\n .container { max-width: 600px; margin: 20px auto; padding: 20px; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 8px; }\n h1 { font-size: 24px; color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 10px; }\n h3 { font-size: 18px; color: #34495e; margin-bottom: 5px; }\n p { margin-top: 0; }\n .story { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eeeeee; }\n .story:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}\n .category { font-style: italic; color: #7f8c8d; font-size: 0.9em; margin-bottom: 10px; }\n .date { font-weight: bold; color: #555555; }\n .footer { text-align: center; margin-top: 20px; font-size: 12px; color: #999999; }\n </style>\n</head>\n<body>\n <div class=\"container\">\n <h1>📰 ${output.title}</h1>\n <p class=\"date\">${date}</p>\n <hr style=\"border: 0; border-top: 1px solid #eeeeee; margin: 20px 0;\">\n`;\n\n// 各ニュース記事をHTMLに追加\nif (output.stories && output.stories.length > 0) {\n output.stories.forEach(story => {\n htmlBody += `\n <div class=\"story\">\n <h3>${story.headline}</h3>\n <p class=\"category\">${story.category}</p>\n <p>${story.summary}</p>\n </div>\n `;\n });\n}\n\nhtmlBody += `\n <div class=\"footer\">\n <p>Generated by n8n Automation</p>\n </div>\n </div>\n</body>\n</html>\n`;\n\n// 後続のGmailノードで使えるようにデータを返す\nreturn [\n {\n json: {\n subject: subject,\n htmlBody: htmlBody\n }\n }\n];"
},
"typeVersion": 2
}
],
"active": false,
"pinData": {
"AI News Agent": [
{
"json": {
"output": {
"title": "今日のニュースまとめ:2025年10月13日",
"stories": [
{
"summary": "大手テック企業が参加したグローバルテクノロジー会議で、次世代AIプラットフォームが公開され、産業界におけるAI活用の新たな扉が開かれました。自動化と効率改善に大きな期待が寄せられています。",
"category": "Technology",
"headline": "グローバルテクノロジー会議で新世代AIプラットフォーム発表"
},
{
"summary": "不安定な世界経済情勢にもかかわらず、大手企業が最新の四半期決算で収益予測を上方修正。新興市場の需要増加と革新的製品の好調な販売が成長の要因と分析されています。",
"category": "Business",
"headline": "世界市場の不確実性の中で主要企業が収益予測を上方修正"
},
{
"summary": "環境問題が深刻化する中、主要国の首脳が集まり気候変動対策について緊急協議を行いました。再生可能エネルギー導入や炭素排出削減の具体策が議題の中心となりました。",
"category": "Politics",
"headline": "主要国首脳会談で気候変動対策の緊急協議実施"
},
{
"summary": "最新の医療研究で開発された新型治療法が、複数の癌種に対して高い効果を示し注目を集めています。患者の生存率向上と副作用軽減の両立に成功したことで医療現場の期待が高まっています。",
"category": "Science",
"headline": "新型医療技術が画期的な癌治療法を実現"
},
{
"summary": "紛争地域で深刻化する人道危機に対し、国際連合が緊急支援強化を発表。食料、医療、避難所の提供を迅速に拡充し、被災者支援の体制を強化しています。",
"category": "World Events",
"headline": "世界的な人道危機に対応し国際支援強化を決定"
}
],
"summary": "2025年10月13日の重要なニュースをテクノロジー、ビジネス、政治、科学、世界のイベントのカテゴリーから厳選してお届けします。"
}
}
}
],
"Format for Gmail": [
{
"json": {
"subject": "今日のニュースまとめ:2025年10月13日",
"htmlBody": "\n<!DOCTYPE html>\n<html lang=\"ja\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <style>\n body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333333; background-color: #f4f4f4; margin: 0; padding: 0; }\n .container { max-width: 600px; margin: 20px auto; padding: 20px; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 8px; }\n h1 { font-size: 24px; color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 10px; }\n h3 { font-size: 18px; color: #34495e; margin-bottom: 5px; }\n p { margin-top: 0; }\n .story { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eeeeee; }\n .story:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0;}\n .category { font-style: italic; color: #7f8c8d; font-size: 0.9em; margin-bottom: 10px; }\n .date { font-weight: bold; color: #555555; }\n .footer { text-align: center; margin-top: 20px; font-size: 12px; color: #999999; }\n </style>\n</head>\n<body>\n <div class=\"container\">\n <h1>📰 今日のニュースまとめ:2025年10月13日</h1>\n <p class=\"date\">undefined</p>\n <hr style=\"border: 0; border-top: 1px solid #eeeeee; margin: 20px 0;\">\n\n <div class=\"story\">\n <h3>グローバルテクノロジー会議で新世代AIプラットフォーム発表</h3>\n <p class=\"category\">Technology</p>\n <p>大手テック企業が参加したグローバルテクノロジー会議で、次世代AIプラットフォームが公開され、産業界におけるAI活用の新たな扉が開かれました。自動化と効率改善に大きな期待が寄せられています。</p>\n </div>\n \n <div class=\"story\">\n <h3>世界市場の不確実性の中で主要企業が収益予測を上方修正</h3>\n <p class=\"category\">Business</p>\n <p>不安定な世界経済情勢にもかかわらず、大手企業が最新の四半期決算で収益予測を上方修正。新興市場の需要増加と革新的製品の好調な販売が成長の要因と分析されています。</p>\n </div>\n \n <div class=\"story\">\n <h3>主要国首脳会談で気候変動対策の緊急協議実施</h3>\n <p class=\"category\">Politics</p>\n <p>環境問題が深刻化する中、主要国の首脳が集まり気候変動対策について緊急協議を行いました。再生可能エネルギー導入や炭素排出削減の具体策が議題の中心となりました。</p>\n </div>\n \n <div class=\"story\">\n <h3>新型医療技術が画期的な癌治療法を実現</h3>\n <p class=\"category\">Science</p>\n <p>最新の医療研究で開発された新型治療法が、複数の癌種に対して高い効果を示し注目を集めています。患者の生存率向上と副作用軽減の両立に成功したことで医療現場の期待が高まっています。</p>\n </div>\n \n <div class=\"story\">\n <h3>世界的な人道危機に対応し国際支援強化を決定</h3>\n <p class=\"category\">World Events</p>\n <p>紛争地域で深刻化する人道危機に対し、国際連合が緊急支援強化を発表。食料、医療、避難所の提供を迅速に拡充し、被災者支援の体制を強化しています。</p>\n </div>\n \n <div class=\"footer\">\n <p>Generated by n8n Automation</p>\n </div>\n </div>\n</body>\n</html>\n"
}
}
],
"Schedule Trigger": [
{
"json": {
"Hour": "21",
"Year": "2025",
"Month": "October",
"Minute": "20",
"Second": "40",
"Timezone": "America/New_York (UTC-04:00)",
"timestamp": "2025-10-12T21:20:40.103-04:00",
"Day of week": "Sunday",
"Day of month": "12",
"Readable date": "October 12th 2025, 9:20:40 pm",
"Readable time": "9:20:40 pm"
}
}
],
"Prepare News Query": [
{
"json": {
"date": "Monday, October 13, 2025",
"query": "Search for today's most important news stories from Monday, October 13, 2025. Include major headlines from technology, business, politics, science, and world events. Focus on the most significant and impactful stories."
}
}
]
},
"settings": {
"timezone": "America/New_York",
"errorWorkflow": "",
"executionOrder": "v1",
"saveManualExecutions": true,
"saveExecutionProgress": true,
"saveDataErrorExecution": "all",
"saveDataSuccessExecution": "all"
},
"versionId": "f722d1f3-eeaa-4922-a1da-b2c9abca521b",
"connections": {
"AI News Agent": {
"main": [
[
{
"node": "format901-2345-6789-0123-456789012345",
"type": "main",
"index": 0
}
]
]
},
"format901-2345-6789-0123-456789012345": {
"main": [
[
{
"node": "675a14e9-0472-42f5-8828-6dceb7547dbe",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "code345-6789-0123-4567-890123456789",
"type": "main",
"index": 0
}
]
]
},
"News Output Parser": {
"ai_outputParser": [
[
{
"node": "AI News Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"code345-6789-0123-4567-890123456789": {
"main": [
[
{
"node": "AI News Agent",
"type": "main",
"index": 0
}
]
]
},
"tavily789-0123-4567-8901-234567890123": {
"ai_tool": [
[
{
"node": "AI News Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"model456-7890-1234-5678-901234567890": {
"ai_languageModel": [
[
{
"node": "AI News Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
자동화 X(Twitter) 콘텐츠 엔진
AI 기반 X(Twitter) 콘텐츠 생성 및 스케줄링(LangChain 및 Blotato)
If
Code
Gmail
+
If
Code
Gmail
24 노드YUSUKE YAMAMOTO
4시간마다 USD/JPY 환율 분석 및 이메일로 결과 전송
AI 및 Tavily 뉴스 검색을 사용하여 이메일 보고서용 USD/JPY 환율 분석
Set
Gmail
Http Request
+
Set
Gmail
Http Request
12 노드s3110
일일 이메일 요약 및 집계 봇
Gmail에서 Slack으로의 GPT-4o 요약이 포함된 자동화된 이메일 요약
If
Code
Gmail
+
If
Code
Gmail
14 노드Yusei Miyakoshi
Gemini, Slack, Notion을 사용하여 뉴스 요약에서 AI 정보 요약을 생성
Gemini, Slack, 및 Notion을 사용하여 뉴스 브리핑에서 AI 정보 요약을 생성
Set
Code
Gmail
+
Set
Code
Gmail
19 노드Harry Siggins
기타
시각화 참조 라이브러리에서 n8n 노드를 탐색
可视化 참조 라이브러리에서 n8n 노드를 탐색
If
Ftp
Set
+
If
Ftp
Set
113 노드I versus AI
기타
Telegram AI 요리 레시피 생성기(이미지나 텍스트에서)
GPT-4 Vision과 Telegram을 사용하여 냉장고 사진에서 요리 생성
If
Set
Telegram
+
If
Set
Telegram
16 노드YUSUKE YAMAMOTO
워크플로우 정보
난이도
중급
노드 수11
카테고리-
노드 유형8
저자
YUSUKE YAMAMOTO
@yusuke-yamamotoBusiness creator from Tokyo. Designing AI-driven automations that enhance marketing, reporting, and daily operations. I turn complex workflows into simple, elegant automations with n8n.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유