{
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "lp-analyze",
"authentication": "headerAuth",
"responseMode": "responseNode",
"options": {}
},
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
-752,
0
],
"id": "89229348-68bc-4144-ad99-731e003b45c6",
"name": "Webhook",
"webhookId": "939a7cf1-7605-4c5c-8b7e-b5268ded7797",
"credentials": {
"httpHeaderAuth": {
"id": "OCnp0gciZAAyCZB1",
"name": "LP Analyzer Header Auth"
}
}
},
{
"parameters": {
"respondWith": "allIncomingItems",
"options": {
"responseCode": 200
}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.4,
"position": [
608,
-16
],
"id": "a698e705-ef71-43ab-83da-fb12bc84b4ce",
"name": "Respond to Webhook"
},
{
"parameters": {
"url": "={{ $json.body.url }}",
"options": {}
},
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
-480,
0
],
"id": "f3ce1cda-608a-40c0-9990-25a4a7aff455",
"name": "HTTP Request",
"onError": "continueErrorOutput"
},
{
"parameters": {
"html": "={{ $json.data }}",
"options": {}
},
"type": "n8n-nodes-base.markdown",
"typeVersion": 1,
"position": [
-160,
-16
],
"id": "f8a66993-08b4-46ab-9368-925e78e91b35",
"name": "Markdown"
},
{
"parameters": {
"promptType": "define",
"text": "Analyze the follow Landing Page info and suggest improvements based on the best practices",
"hasOutputParser": true,
"options": {
"systemMessage": "=You are a specialist tasked with analyzing a Landing Page to identify the main points of improvement with a focus on sales and conversion optimization. Your analysis should be thorough and actionable, providing insights that can help improve the landing page's performance in converting users to leads or subscribers.\\n\\nHere is the content of the landing page in markdown format:\\n\\n<landing_page_content>\\n{{ $json.data }}\\n</landing_page_content>\\n\\nAnalyze the landing page, focusing on the following key areas:\\n\\n1. Hero Section\\n2. Social Proof\\n3. Problems addressed\\n4. Solutions offered\\n5. Features and How it Works\\n6. Call-to-Action (CTA)\\n7. Frequently Asked Questions (FAQ)\\n8. Any other elements that could impact conversion rates\\n\\nFor each area, consider the following:\\n- Is it present on the page?\\n- How effective is it in its current form?\\n- What improvements could be made to enhance its impact on conversions?\\n- Are there any best practices or industry standards that are not being followed?\\n\\nIn your analysis, pay special attention to:\\n- Clarity and conciseness of messaging\\n- Visual appeal and layout\\n- Use of persuasive language and techniques\\n- Alignment with the target audience's needs and pain points\\n- Effectiveness in guiding the user towards the desired action\\n\\nAfter your analysis, structure your findings in a JSON format. Each key area should be a separate object in the JSON, containing the following properties:\\n- \\"present\\": boolean indicating if the element is present on the page\\n- \\"effectiveness\\": a rating from 1-10 on how effective the current implementation is\\n- \\"improvements\\": an array of suggested improvements\\n- \\"impact\\": a rating from 1-10 on how much impact these improvements could have on conversions\\n\\nHere's an example of how the JSON structure should look:\\n{\\n \\"areas\\": [\\n {\\n \\"key_area\\": \\"hero_section\\",\\n \\"present\\": true,\\n \\"effectiveness\\": 7,\\n \\"improvements\\": [\\n \\"Make the value proposition more prominent\\",\\n \\"Add a subheadline to clarify the main benefit\\"\\n ],\\n \\"impact\\": 8\\n },\\n {\\n \\"key_area\\": \\"social_proof\\"\\n \\"present\\": false,\\n \\"effectiveness\\": 0,\\n \\"improvements\\": [\\n \\"Add customer testimonials\\",\\n \\"Include trust badges or certifications\\"\\n ],\\n \\"impact\\": 9\\n }\\n // ... other all key areas ...\\n ]\\n}\\n\\nRemember to focus on improvements that will have the greatest impact on sales and conversions. Consider the best practices for sales funnels and how they can be applied to this landing page.\\n\\nMust use Think tool to validate the awnsers of each key area.\\n\\nYour final output should be the JSON object containing your analysis and recommendations, without any additional commentary or explanation. The values from json output must be in brazilian portuguese. Ensure that your JSON is properly formatted and valid."
}
},
"type": "@n8n/n8n-nodes-langchain.agent",
"typeVersion": 2.2,
"position": [
128,
-16
],
"id": "dbf06b9c-ee34-47ab-88f1-1a96bf0b16f1",
"name": "AI Agent"
},
{
"parameters": {
"model": {
"__rl": true,
"value": "gpt-4.1-mini",
"mode": "list",
"cachedResultName": "gpt-4.1-mini"
},
"options": {}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
48,
-160
],
"id": "5b42e817-fead-4de2-a6a2-ae2a48f2ca49",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"id": "9UqSkeSS4wZvCS2i",
"name": "OpenAi account"
}
}
},
{
"parameters": {},
"type": "@n8n/n8n-nodes-langchain.toolThink",
"typeVersion": 1.1,
"position": [
208,
-160
],
"id": "5e2ed98d-563e-43ae-8552-045a96d88b01",
"name": "Think"
},
{
"parameters": {
"schemaType": "manual",
"inputSchema": "{\\n\\t\\"properties\\": {\\n \\"areas\\": {\\n \\"type\\":\\"array\\",\\n \\"items\\": {\\n \\"type\\": \\"object\\"\\n },\\n \\"key_area\\": {\\n \\"type\\": \\"string\\"\\n },\\n \\"present\\": {\\n \\"type\\": \\"boolean\\"\\n },\\n \\"effectiveness\\": {\\n \\"type\\": \\"integer\\"\\n },\\n \\"improvements\\": {\\n \\"type\\": \\"array\\",\\n \\"items\\": {\\n \\"type\\": \\"string\\"\\n }\\n },\\n \\"impact\\": {\\n \\"type\\": \\"integer\\"\\n }\\n }\\n }\\n}"
},
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"typeVersion": 1.3,
"position": [
368,
-160
],
"id": "38148851-6492-4995-83aa-01cc66449804",
"name": "Structured Output Parser"
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\\n \\"output\\": \\"Invalid URL\\"\\n}",
"options": {}
},
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.4,
"position": [
-160,
192
],
"id": "e3710a23-6f09-4267-8d05-f86eca6be620",
"name": "Respond to Webhook1"
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Markdown",
"type": "main",
"index": 0
}
],
[
{
"node": "Respond to Webhook1",
"type": "main",
"index": 0
}
]
]
},
"Markdown": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"AI Agent": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Think": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI Agent",
"type": "ai_outputParser",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "8fd950fde1d0c8a982e2646b0a5c997b58a25137131408902febf7df066da10f"
}
}