NASA每日天文图
中级
这是一个Personal Productivity, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Set, Filter, EmailSend, Summarize, RssFeedRead 等节点。 每日NASA天文图通过电子邮件发送到您的收件箱
前置要求
- •无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "UYpkraIlIwEP3v71",
"meta": {
"instanceId": "d62d7a3fb314923e2cdedec19423e9669591b9c9c87901bc9332b7c59c101257"
},
"name": "NASA 每日天文图",
"tags": [],
"nodes": [
{
"id": "06ddfc69-ba89-48ee-a6fd-b244e7a8a35e",
"name": "发送邮件",
"type": "n8n-nodes-base.emailSend",
"position": [
688,
336
],
"webhookId": "5f65dfe3-f94e-4cbe-adc9-d2aeab8e6fb3",
"parameters": {
"html": "=<!DOCTYPE html>\n<html lang=\"fr\">\n<head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n <title>Newsletter</title>\n</head>\n<body style=\"font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; margin: 0; padding: 20px; background-color: #f9f9f9;\">\n <div style=\"max-width: 600px; margin: 0 auto; background-color: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);\">\n \n <div style=\"text-align: center; border-bottom: 2px solid #e9ecef; padding-bottom: 20px; margin-bottom: 30px;\"> \n <div style=\"margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #eee;\">\n {{ $json.appended_message }}\n </div>\n </div>\n</body>\n</html>",
"options": {
"appendAttribution": false
},
"subject": "Astronomy Picture of the Day",
"toEmail": "destination@email.com",
"fromEmail": "NASA @N8N <you@gmail.com>"
},
"credentials": {
"smtp": {
"id": "JiVIi5PpnPuXudnT",
"name": "SMTP account"
}
},
"typeVersion": 2.1
},
{
"id": "769bf971-1d99-46c6-a470-5a82ed416a11",
"name": "总结",
"type": "n8n-nodes-base.summarize",
"position": [
464,
336
],
"parameters": {
"options": {},
"fieldsToSummarize": {
"values": [
{
"field": "message",
"aggregation": "append"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "85a0f94f-60df-4496-9d3a-468925bf1aac",
"name": "仅设置重要字段",
"type": "n8n-nodes-base.set",
"position": [
-224,
336
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "1b769a4e-e8a7-47ad-8e4a-fc1b67bf45e1",
"name": "Titre",
"type": "string",
"value": "={{ $json.title }}"
},
{
"id": "e6d2769b-1a49-4e68-a72d-744409ff465b",
"name": "Contenu",
"type": "string",
"value": "={{ $json[\"content:encoded\"] }}"
},
{
"id": "de4870fc-57e1-44c6-acc2-8bb97723bead",
"name": "Lien",
"type": "string",
"value": "={{ $json.link }}"
},
{
"id": "f40b11e8-f737-4bfd-95ee-2df27fbe1df0",
"name": "Date",
"type": "string",
"value": "={{ $json.pubDate }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "afd2683f-62ca-40fc-bd5b-d0fccfd5cba3",
"name": "仅筛选最近 2 天",
"type": "n8n-nodes-base.filter",
"position": [
16,
336
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "33c627f6-98b2-48f9-9907-f53e7e0ddb73",
"operator": {
"type": "dateTime",
"operation": "after"
},
"leftValue": "={{ $json.Date }}",
"rightValue": "={{ $today.minus({ days: 2 }) }}"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "4a3e68ea-6632-4dae-9a50-4932ee930648",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-672,
336
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 6,
"triggerAtMinute": 21
}
]
}
},
"typeVersion": 1.2
},
{
"id": "4f72bd95-a7e8-4e6b-844e-f5f36bde52f9",
"name": "获取 APOD 数据",
"type": "n8n-nodes-base.rssFeedRead",
"position": [
-448,
336
],
"parameters": {
"url": "https://apod.com/feed.rss",
"options": {}
},
"typeVersion": 1.2
},
{
"id": "8b93b547-93c3-4582-b84c-2f0ea19c3e1d",
"name": "聚合数据",
"type": "n8n-nodes-base.set",
"position": [
240,
336
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "ff3a65f7-679e-4501-b331-751eff73b337",
"name": "message",
"type": "string",
"value": "=<article style=\"max-width: 600px; margin: 20px; padding: 20px; border: 1px solid #ddd; border-radius: 8px; font-family: Arial, sans-serif; background-color: #f9f9f9;\">\n <h2 style=\"color: #333; margin: 0 0 15px 0; font-size: 1.4em; line-height: 1.3;\">\n <a href=\"{{ $json.Lien }}\" \n style=\"color: #0066cc; text-decoration: none;\" \n target=\"_blank\">\n {{ $json.Titre }}\n </a>\n </h2>\n \n <p style=\"color: #666; margin: 0 0 15px 0; line-height: 1.5; font-size: 1em;\">\n {{ $json.Contenu }}\n </p>\n \n <time style=\"color: #999; font-size: 0.9em; font-style: italic;\">\n {{ $json.Date }}\n </time>\n</article>"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "0aaed6d7-7f8d-41c9-be1a-18558d67dd99",
"name": "便签16",
"type": "n8n-nodes-base.stickyNote",
"position": [
-512,
192
],
"parameters": {
"color": 4,
"width": 224,
"height": 304,
"content": "## 1"
},
"typeVersion": 1
},
{
"id": "165bc6ce-83c5-400a-8991-279d5f8c2e64",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-48,
192
],
"parameters": {
"color": 4,
"width": 224,
"height": 304,
"content": "## 2"
},
"typeVersion": 1
},
{
"id": "ec74718c-e06b-4ffa-9835-cff75f09fa33",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
624,
48
],
"parameters": {
"color": 4,
"width": 224,
"height": 448,
"content": "## 3"
},
"typeVersion": 1
},
{
"id": "31cc085f-d273-49e6-99c5-3b1d6c74498c",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-512,
48
],
"parameters": {
"color": 4,
"width": 1104,
"height": 112,
"content": "## NASA 每日天文图"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "319032bd-c00b-4c53-9d01-3ca24cfe3355",
"connections": {
"Summarize": {
"main": [
[
{
"node": "Send email",
"type": "main",
"index": 0
}
]
]
},
"Get APOD Data": {
"main": [
[
{
"node": "Set only important fields",
"type": "main",
"index": 0
}
]
]
},
"Aggregate data": {
"main": [
[
{
"node": "Summarize",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get APOD Data",
"type": "main",
"index": 0
}
]
]
},
"Filter only last 2 days": {
"main": [
[
{
"node": "Aggregate data",
"type": "main",
"index": 0
}
]
]
},
"Set only important fields": {
"main": [
[
{
"node": "Filter only last 2 days",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 个人效率, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AWS S3对象完整性审计器副本
使用Mistral AI自动审计监控S3存储桶变更
S3
Set
Ssh
+19
77 节点SIENNA
AI 摘要总结
使用AI求职信自动搜索职位
使用 Google Jobs、RemoteOK 和 GPT-3.5 自动化带AI求职信的职位搜索
If
Set
Code
+7
17 节点Shelly-Ann Davy
个人效率
自动化学术论文监控,含PDF向量、GPT-3.5和Slack提醒
自动化学术论文监控,含PDF向量、GPT-3.5和Slack提醒
Set
Code
Slack
+5
10 节点PDF Vector
个人效率
使用 AI 汇总来自多家报纸的每日科技新闻
每日科技新闻摘要:Google 新闻经 Llama AI 汇总并通过邮件投递
If
Set
Html
+6
10 节点Oneclick AI Squad
个人效率
自动 FTP 到 MinIO 备份
定时 FTP/SFTP 到 MinIO 备份,保留文件夹结构
S3
Ftp
Set
+2
8 节点SIENNA
文件管理
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
内容创作
工作流信息
难度等级
中级
节点数量11
分类2
节点类型7
作者
sienna
@siennaFrench's leading offline data preservation startup ! Cloud to Tape, Data Integrity assurance, multi-source backup, ... all automated with N8N ;)
外部链接
在 n8n.io 查看 →
分享此工作流