GoMarble MCP - 周报
中级
这是一个Market Research, AI Summarization领域的自动化工作流,包含 8 个节点。主要使用 Set, Gmail, Agent, ScheduleTrigger, ChainLlm 等节点。 使用GoMarble MCP、Claude AI和Gmail自动化每周营销报告
前置要求
- •Google 账号和 Gmail API 凭证
- •OpenAI API Key
- •Anthropic API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "99QisNGBpRO6PDM1",
"meta": {
"instanceId": "07ccff49d71cc6b20dddb867ba4ad10dc1f2bd4ad81c28a9330420f0a4ac0b51",
"templateCredsSetupCompleted": true
},
"name": "GoMarble MCP - 周报",
"tags": [],
"nodes": [
{
"id": "5b23d5ab-2930-4cd2-8949-9d36c95c640f",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-180,
-120
],
"parameters": {
"text": "={{ $json['report prompt'] }}",
"options": {
"systemMessage": "You are a senior digital marketing professional preparing an email to be sent to the client. There should be no made up data or hallucination. "
},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "cd7d0eb0-fedf-45f2-9c7f-bcd40ca15136",
"name": "Anthropic 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"notes": "🔑 Add your Anthropic API credentials in the node settings",
"position": [
-220,
100
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-20250514",
"cachedResultName": "Claude Sonnet 4"
},
"options": {}
},
"typeVersion": 1.3
},
{
"id": "87a91c08-5c64-4dfa-9542-53ac14bd5337",
"name": "MCP 客户端",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"notes": "🔐 Add your GoMarble Bearer token - get it from https://www.gomarble.ai/docs/connect-to-n8n",
"position": [
20,
100
],
"parameters": {
"sseEndpoint": "https://apps.gomarble.ai/mcp-api/sse",
"authentication": "bearerAuth"
},
"typeVersion": 1
},
{
"id": "8953ebc8-7632-48a3-ae8d-d8d201e9db47",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"notes": "📧 Configure your Gmail credentials and set the recipient email address",
"position": [
520,
-120
],
"webhookId": "52613dc9-bc81-46e3-a902-d6380a9d257c",
"parameters": {
"sendTo": "",
"message": "={{ $json.text }}",
"options": {},
"subject": "Weekly platform analysis report"
},
"typeVersion": 2.1
},
{
"id": "e8670179-2f5e-45b1-873f-896eec4150b0",
"name": "定时触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"notes": "⏰ Runs every Monday at 8 AM - adjust schedule as needed",
"position": [
-560,
-120
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks",
"triggerAtDay": [
1
],
"triggerAtHour": 8
}
]
}
},
"typeVersion": 1.2
},
{
"id": "9ef2ba81-e746-47aa-84e6-962fa9cfa5fa",
"name": "基础 LLM 链1",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
180,
-120
],
"parameters": {
"text": "=You are an expert in converting marketing reports into clean, well-styled HTML for email. Convert the following input into final HTML using the GoMarble brand theme and colors.\n\nDesign Guidelines:\n- Background: #00272B\n- Card Backgrounds: #033438\n- Subtle Sections / Dividers: #013135\n- Primary Text: #EAFDFC\n- Secondary Text: #B8FFF6\n- Tertiary Text: #8AD9D1\n- Borders: #00A0AF\n- Accent (CTA or highlight): #FFC66C\n- Error or alerts: #FF6B6B\n- Font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif\n- Headings: #EAFDFC, font-weight: 600–700\n- Body Text: #B8FFF6\n- Use clean, modern padding, card-style sections, and well-aligned tables\n- KPI and campaign tables must have alternating row colors (#013135 / #033438), bold header row, bordered cells using #00A0AF\n- Section headings should have ample top margin, bold weight, and primary text color\n- Use <div>-based layout with section wrappers (cards), avoid raw <br> for spacing\n- Final HTML must be suitable for pasting directly into an email node — no CSS in <head>, use inline styles only\n- Output should be ONLY the inner HTML (no <html>, <head>, <body>, or comments)\n- Do not include any explanation or extra output — just the final HTML\n\nInput report:\n{{ $json.output }}",
"promptType": "define"
},
"typeVersion": 1.6
},
{
"id": "ffa751d7-2632-4165-91d4-991f6846b7f9",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"notes": "🤖 Configure your OpenAI API credentials for HTML formatting",
"position": [
300,
120
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "chatgpt-4o-latest",
"cachedResultName": "chatgpt-4o-latest"
},
"options": {}
},
"typeVersion": 1.2
},
{
"id": "fcc765ef-7e8a-4d41-8b69-1f3e40094cfb",
"name": "报告提示",
"type": "n8n-nodes-base.set",
"notes": "📝 Customize the report prompt for your specific account and requirements",
"position": [
-360,
-120
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "f100cea7-e5ea-4dce-b69b-6739ccdfa543",
"name": "report prompt",
"type": "string",
"value": "=You are senior performance-marketing analyst. \nVoice: sharp, concise, insight-driven (no fluff, no marketing hype). \nGoal: craft a weekly digest that a busy CMO can scan in <3 min and act on immediately.\nAd Account: [YOUR_ACCOUNT_NAME]; Time Period: Last 7 days\nUse Meta & Google Ads account data to create the report.\n\n1. Executive Snapshot (3-line paragraph)**\n • One-sentence topline: combined spend, revenue, ROAS and WoW % change. \n • One-sentence highlight of the biggest win. \n • One-sentence note on the main risk / action gap. \n\n**2. KPI Tables** \n A. *Channel Overview* — columns: Platform, Spend, Impr, Clicks, CTR, CPC, Conv, CPA, Revenue, ROAS, WoW Δ-ROAS%. \n B. *Top 3 Campaigns (per platform)* — ranked by ROAS. Include objective and primary creative hook. \n C. Any *Underperformers* \n\n**3. Give 2-3 Action Recommendations"
}
]
}
},
"typeVersion": 3.4
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "45311444-f920-4b15-9d30-b6a76a8af36f",
"connections": {
"Gmail": {
"main": [
[]
]
},
"AI Agent": {
"main": [
[
{
"node": "Basic LLM Chain1",
"type": "main",
"index": 0
}
]
]
},
"MCP Client": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Report Prompt": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain1": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Report Prompt",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain1",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 市场调研, AI 摘要总结
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用Claude AI、GoMarble MCP和Google幻灯片自动生成每周营销摘要演示文稿副本
使用Claude AI、GoMarble MCP和Google幻灯片自动化每周Meta广告报告
Set
Code
Gmail
+7
15 节点Sankalp Dev
文档提取
23 分析客户终身价值
使用GPT-4和Bright Data MCP分析与定位高价值客户
If
Set
Code
+9
20 节点Yaron Been
市场调研
16 监控竞争对手定价
基于Bright Data MCP和Google表格的竞争对手定价自动监控
Set
Code
Gmail
+8
18 节点Yaron Been
市场调研
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
竞争对手产品发布监控
基于Bright Data和OpenAI的即时竞争对手产品发布监控,发送至邮箱/表格
Set
Code
Gmail
+8
18 节点Yaron Been
市场调研
11 监控社交媒体广告表现
使用 Bright Data MCP 监控社交媒体广告表现并发送告警
If
Set
Code
+9
19 节点Yaron Been
市场调研