使用 OpenAI GPT-4.1 根据竞品分析创建落地页布局
中级
这是一个AI, Marketing领域的自动化工作流,包含 12 个节点。主要使用 Set, SplitOut, Aggregate, ManualTrigger, Agent 等节点,结合人工智能技术实现智能自动化。 使用GPT-4根据竞品分析生成落地页布局
前置要求
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "jw0iSqoXu4hKWAuj",
"meta": {
"instanceId": "1af8a0dc0d2f537b7c08209af728c271b5a03806bdf309bedf99d668f2608ee6",
"templateCredsSetupCompleted": true
},
"name": "使用 OpenAI GPT-4.1 根据竞品分析创建落地页布局",
"tags": [],
"nodes": [
{
"id": "8a674b3c-7544-49d5-8fd6-f96d74bc0991",
"name": "当点击“测试工作流”时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-180,
-100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6bed28c7-6383-4ec2-bc54-24c659faf413",
"name": "生成布局",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1036,
-100
],
"parameters": {
"text": "=## Input\nYou will be provided with:\n- Research outlines from other websites (summaries or structures of similar main pages) : {{ $json.output }}\n- A list of services to be featured : {{ $('Set input data').item.json.my_services }}\n- A description of the target audience: {{ $('Set input data').item.json['my_target_audience '] }}\n## Role / Persona\nYou are a senior website content strategist, skilled at synthesizing competitive research, business offerings, and audience insights to design high-impact website main page structures.\n\n## Context\nA user is planning the main (home) page of a website. They have collected research outlines from similar websites, clarified the services to be highlighted, and defined the target audience. Your task is to recommend an effective main page outline that reflects best practices, showcases the services, and appeals to the intended audience.\n\n## Task / Instruction\n- Review the provided research outlines, list of services, and target audience description.\n- Synthesize this information to recommend a main page outline that is logical, engaging, and tailored to the target audience.\n- For each main section in your recommended outline, provide a brief description explaining its purpose and the type of content it should include.\n\n## Output Formatting / Style\nPresent your recommended main page outline as a bulleted list. For each main section, include:\n- The section title (in bold)\n- A concise description (one sentence) of the section’s content or function.\n\n## Additional Requirements\n- Focus only on the main (home) page structure.\n- Use clear, professional English.\n- Ensure the outline is relevant and appealing to the specified target audience.\n- Do not include subsections unless specifically requested.\n- Suitable for business or professional website planning.\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "423ed9a0-e914-4d88-8148-acc41b199629",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
-380
],
"parameters": {
"color": 4,
"width": 500,
"height": 1000,
"content": "## 使用 OpenAI GPT-4.1 根据竞品分析创建落地页布局"
},
"typeVersion": 1
},
{
"id": "b69a6ded-7495-4021-b150-e7e668a9f86c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-30,
-320
],
"parameters": {
"width": 400,
"height": 580,
"content": "### 设置初始数据"
},
"typeVersion": 1
},
{
"id": "e9e60657-2e08-4bf9-83dd-26ba10b531a7",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
400,
-320
],
"parameters": {
"color": 3,
"width": 540,
"height": 580,
"content": "### 分析的竞品网站布局"
},
"typeVersion": 1
},
{
"id": "fe3e9edd-d50a-4e81-9a28-10cefaeeff10",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-320
],
"parameters": {
"width": 440,
"height": 580,
"content": "### 创建针对您的服务和受众定制的布局"
},
"typeVersion": 1
},
{
"id": "63d34012-303a-40fd-93d6-0fc76fa93196",
"name": "设置输入数据",
"type": "n8n-nodes-base.set",
"position": [
0,
-100
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "950865ac-6e4d-4f31-bf0d-dc272c2c386a",
"name": "my_services",
"type": "string",
"value": "We provide an all-in-one data solution for AI development. It offers a SaaS platform for data collection, creation, and annotation on a monthly subscription model."
},
{
"id": "12f40d6b-9894-415f-b43e-face74d74f81",
"name": "my_target_audience ",
"type": "string",
"value": "AI developers"
},
{
"id": "138fefb6-cbc8-492e-930e-e9e4c990867f",
"name": "competitor_url",
"type": "array",
"value": "[\"https://competitor1.com/\", \"https://competitor2.com/\", \"https://competitor3.com/\", \"https://competitor4.com/\"]"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "2334badc-bb0a-4fe5-909e-d0409c1538a7",
"name": "拆分竞品 URL",
"type": "n8n-nodes-base.splitOut",
"position": [
220,
-100
],
"parameters": {
"options": {},
"fieldToSplitOut": "competitor_url"
},
"typeVersion": 1
},
{
"id": "d69d09f2-a3d0-4ca6-8ff5-e45c4f6f8841",
"name": "分析竞品",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
440,
-100
],
"parameters": {
"text": "=## Role / Persona\nYou are a web content analyst with expertise in summarizing and structuring website information for quick reference.\n\n## Context\nA user needs a concise overview of the main sections of the website {{ $json.competitor_url }}. The user wants to understand the website’s structure without visiting it directly.\n\n## Task / Instruction\nVisit the website and identify its main sections or navigation categories. List and briefly describe each primary section, focusing on the purpose and content of each area.\n\n## Output Formatting / Style\nPresent the output as a bulleted or numbered list. Use clear headings for each section, and provide a 1–2 sentence summary for each. Keep formatting clean and easy to scan.\n\n## Additional Requirements\n- Tone: Professional, concise, and informative \n- Length: No more than 10 sections, each with a brief description \n- Language: English \n- Audience: Business professionals or developers seeking an overview of website’s offerings\n",
"options": {},
"promptType": "define"
},
"typeVersion": 1.9
},
{
"id": "a6ea53ae-bc16-4415-a156-e9fb64fc632a",
"name": "OpenAI GPT 4.1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
528,
120
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8cWUJS0NExv35YHi",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "374416f3-d8de-4d0f-b426-7fffed8b62e9",
"name": "聚合分析结果",
"type": "n8n-nodes-base.aggregate",
"position": [
816,
-100
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "output"
}
]
}
},
"typeVersion": 1
},
{
"id": "6e2c5334-8a12-4348-ab15-abf35b8ad564",
"name": "OpenAI GPT 4.",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1124,
120
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "8cWUJS0NExv35YHi",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "1d45e541-b0fd-4b0d-aa33-e14af63ca480",
"connections": {
"OpenAI GPT 4.": {
"ai_languageModel": [
[
{
"node": "GenerateLayout",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI GPT 4.1": {
"ai_languageModel": [
[
{
"node": "Analyze competitor",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set input data": {
"main": [
[
{
"node": "Split competitor url",
"type": "main",
"index": 0
}
]
]
},
"Analyze competitor": {
"main": [
[
{
"node": "Aggregate analyzed result",
"type": "main",
"index": 0
}
]
]
},
"Split competitor url": {
"main": [
[
{
"node": "Analyze competitor",
"type": "main",
"index": 0
}
]
]
},
"Aggregate analyzed result": {
"main": [
[
{
"node": "GenerateLayout",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Set input data",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
WordPress博客自动化专业版(深度研究)v1
WordPress自动博客专业版 - 含深度研究的内容自动化机器
If
Set
Xml
+24
77 节点Daniel Ng
人工智能
🎦🚀 YouTube 视频评论分析智能体
🎦🚀 YouTube 视频评论分析智能体
Set
Code
Gmail
+12
25 节点Joseph LePage
人工智能
构建与销售AI自动化与智能体
构建与销售AI自动化与智能体
If
Set
Wait
+15
74 节点NICKYAI
其他
Shopify产品列表AI博客生成器:使用GPT-4o和Google表格
Shopify产品列表AI博客生成器:使用GPT-4o和Google表格
If
Set
Shopify
+10
19 节点Kumar Shivam
人工智能
AI视频生成器 - OpenAI、ElevenLabs与Telegram YouTube发布
集成OpenAI、ElevenLabs并通过Telegram发布至YouTube的AI视频生成器
If
Set
Wait
+15
68 节点FRANK LIN
销售