iOS应用商店评论监控器
中级
这是一个Content Creation, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 If, Set, Code, Gmail, HttpRequest 等节点。 监控iOS应用商店评论并自动发送邮件通知
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "jokolRfKCTJ4umAw",
"meta": {
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa",
"templateCredsSetupCompleted": true
},
"name": "iOS 应用商店评论监控器",
"tags": [],
"nodes": [
{
"id": "156c62c9-b236-4d0d-ad17-540dfe8d60ff",
"name": "计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-336,
-48
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "*/30 * * * *"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "b33809e1-6e0e-4c3c-955c-3d5f7d200d72",
"name": "提取评论",
"type": "n8n-nodes-base.code",
"position": [
384,
-80
],
"parameters": {
"jsCode": "const jsonData = JSON.parse($input.all()[0].json.data);\n\nconst reviews = jsonData.feed.entry || [];\n\nreturn reviews.map(review => ({\n rating: review['im:rating']?.label,\n title: review.title?.label,\n content: review.content?.label,\n author: review.author?.name?.label,\n version: review['im:version']?.label,\n date: review.updated?.label,\n reviewId: review.id?.label\n}));"
},
"typeVersion": 2
},
{
"id": "db2f0933-6af5-440f-bbad-90878482d23f",
"name": "有新评论吗?",
"type": "n8n-nodes-base.if",
"position": [
880,
-96
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "24aadf61-9388-47df-a03f-734b06589ed0",
"operator": {
"type": "number",
"operation": "gt"
},
"leftValue": "={{ $items().length }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "1f4e4fbc-abe7-4d2a-9a54-bcc5992413a6",
"name": "应用配置",
"type": "n8n-nodes-base.set",
"position": [
-96,
-64
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "31946ee3-e6d5-4084-93b4-4ef0f62c8cfe",
"name": "appId",
"type": "string",
"value": "1234567890"
},
{
"id": "4b88dc12-53e3-430e-9b88-f55903f943bf",
"name": "country",
"type": "string",
"value": "US"
},
{
"id": "22cec944-85bc-4786-b988-0c2cc71abad3",
"name": "lang",
"type": "string",
"value": "en"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "7fa5c285-0645-4641-8e27-2c2e33ff1a9c",
"name": "获取评论",
"type": "n8n-nodes-base.httpRequest",
"position": [
160,
-80
],
"parameters": {
"url": "=https://itunes.apple.com/rss/customerreviews/page=1/id={{$json[\"appId\"]}}/sortby=mostrecent/json?l={{$json[\"lang\"]}}&cc={{$json[\"country\"]}}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "f4e2673d-1bb8-4871-9b84-124587e29d30",
"name": "筛选最新评论",
"type": "n8n-nodes-base.code",
"position": [
640,
-80
],
"parameters": {
"jsCode": "const items = $input.all();\nconst sixHoursAgo = new Date(Date.now() - 78 * 60 * 60 * 1000);\nconst newOnes = [];\n\nfor (const item of items) {\n const reviewDate = new Date(item.json.date);\n if (reviewDate > sixHoursAgo) {\n newOnes.push(item);\n }\n}\n\nreturn newOnes;\n"
},
"typeVersion": 2
},
{
"id": "bafee2c9-19cc-4f31-b1c5-7870b58ddcca",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-432,
-192
],
"parameters": {
"width": 256,
"height": 112,
"content": "**每 6 小时运行一次检查新评论 - 根据监控需求调整时间间隔**"
},
"typeVersion": 1
},
{
"id": "fe8162f2-745e-4ea4-8e1f-8d3fef8d9303",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
80
],
"parameters": {
"width": 224,
"height": 112,
"content": "**设置您的应用商店 ID、国家(us/gb/de)和语言(en/es/fr)- 在应用商店 URL 中查找应用 ID**"
},
"typeVersion": 1
},
{
"id": "fb9c717b-f9b2-4e53-a4b3-7fba3b5f4e71",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
96,
-208
],
"parameters": {
"height": 96,
"content": "**调用 Apple 的 iTunes API 获取最新用户评论 - 按最新优先排序**"
},
"typeVersion": 1
},
{
"id": "51b33b2b-379b-4232-9fa0-fa45b427ab5b",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
576,
64
],
"parameters": {
"height": 96,
"content": "**与上次检查时间比较,仅找出自上次运行后的新评论 - 避免重复通知**"
},
"typeVersion": 1
},
{
"id": "fa7128e3-4ee0-4553-b999-f24b7bc43067",
"name": "发送通知",
"type": "n8n-nodes-base.gmail",
"position": [
1200,
-240
],
"webhookId": "175f24c8-f55e-4cc4-91cf-b2d0a2517810",
"parameters": {
"sendTo": "infor@exmaple.com",
"message": "=🆕 New iOS App Store Review (⭐ {{$json.rating}}/5) “{{$json.title}}” by {{$json.author}} — v{{$json.version}} — {{$json.content}} ",
"options": {},
"subject": "=New App Store Review (⭐ {{$json.rating}}/5) — {{$json.title}}"
},
"credentials": {
"gmailOAuth2": {
"id": "GsAjl8kiLaQnkjoK",
"name": "Gmail account 10"
}
},
"typeVersion": 2.1
},
{
"id": "c2fce7f5-6b22-4d79-b374-19514c164d22",
"name": "错误情况",
"type": "n8n-nodes-base.set",
"position": [
1216,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "8f36ed49-5b1a-4687-9a49-36eee4197824",
"name": "status",
"type": "string",
"value": "no new reviews"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "8b6459a1-d008-44db-8ebd-c516e2c111d1",
"connections": {
"App Config": {
"main": [
[
{
"node": "Fetch Reviews",
"type": "main",
"index": 0
}
]
]
},
"Fetch Reviews": {
"main": [
[
{
"node": "Extract Reviews",
"type": "main",
"index": 0
}
]
]
},
"Extract Reviews": {
"main": [
[
{
"node": "Filter latest Review",
"type": "main",
"index": 0
}
]
]
},
"Any new reviews?": {
"main": [
[
{
"node": "Send notification",
"type": "main",
"index": 0
}
],
[
{
"node": "False Case",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "App Config",
"type": "main",
"index": 0
}
]
]
},
"Filter latest Review": {
"main": [
[
{
"node": "Any new reviews?",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 内容创作, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 HTTP Last-Modified 检查从 Google Sheets 获取职位发布过期和刷新提醒
通过 Google Sheets、HTTP 检查和 Gmail 实现职位发布过期提醒的自动化
If
Set
Code
+6
19 节点WeblineIndia
人力资源
使用Groq、Gemini和Slack审批系统自动化RSS到Medium发布
通过Groq、Gemini和Slack审批系统实现RSS到Medium发布的自动化流程
If
Set
Code
+16
41 节点ObisDev
内容创作
基于 YouTube 视频的自主博客发布
使用 ChatGPT、Sheets、Apify、Pexels 和 WordPress 从 YouTube 视频自主发布博客
If
Set
Code
+18
80 节点Oriol Seguí
内容创作
防欺诈潜在客户捕获与培育系统
通过AI评分、表格跟踪和多渠道提醒捕获和培育防欺诈潜在客户
If
Set
Code
+11
28 节点Jitesh Dugar
内容创作
太阳能发电监测预警工作流
监控太阳能发电并通过Gmail、Google表格和Slack发送警报
If
Code
Gmail
+5
9 节点WeblineIndia
工程
自动化SEO健康监控与报告
网站SEO健康分析(Google Sheets、PDF报告和Gmail告警)
If
Set
Code
+8
16 节点WeblineIndia
市场调研
工作流信息
难度等级
中级
节点数量12
分类2
节点类型7
作者
WeblineIndia
@weblineindiaA Leading Software Engineering, Consulting & Outsourcing Services Company in USA & India serving Clients Globally since 1999.
外部链接
在 n8n.io 查看 →
分享此工作流