This workflow corresponds to n8n.io template #8934 — we link there as the canonical source.
This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "S14d5Of2kjngUlJ2",
"meta": {
"templateId": "3224",
"templateCredsSetupCompleted": true
},
"name": "Analyze Website with OpenAI And Get Email with On-Page CRO/SEO/IT Audit",
"tags": [],
"nodes": [
{
"id": "e280139f-94b8-49dc-91e7-c6ffa0c04716",
"name": "Scrape Website",
"type": "n8n-nodes-base.httpRequest",
"position": [
496,
48
],
"parameters": {
"url": "={{ $json.body.payload.data.URL }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "e1cfc16e-e0dc-4298-9b94-ffb7f23b45aa",
"name": "Markdown",
"type": "n8n-nodes-base.markdown",
"position": [
2096,
48
],
"parameters": {
"mode": "markdownToHtml",
"options": {},
"markdown": "={{ $json.output }}"
},
"typeVersion": 1
},
{
"id": "3242a0c3-4439-4ad1-8185-47185046080d",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
2320,
48
],
"parameters": {
"sendTo": "={{ $('Webhook Webpage Audit AI Agent').item.json.body.payload.data.Email }}",
"message": "={{ $json.data }}",
"options": {
"replyTo": "user@example.com",
"senderName": "Sensonar Audit AI Agent",
"appendAttribution": false
},
"subject": "=Sensonar Audit AI Agent for {{ $('Webhook Webpage Audit AI Agent').item.json.body.payload.data.URL }}"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "09f4ec5c-aef1-4ec3-b34a-b4f1b59cd8c0",
"name": "Editor in Chef AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
1744,
48
],
"parameters": {
"text": "=Based on the following IT/SEO/CRO/Semantic analysis results for a webpage, craft a consulting-style email. Don't make the data - you must rely on the detailed reports only. \n\nNow: {{ $now }}\n\nInput:\n{{ $json.output }}\n\nDeliverable:\n- Write a professional and motivating report.\n- Use the following structure:\n\n# Summary\n(Concise overview of the most important findings, framed as business impact as executive summary)\n\n# Key Strengths\n- Bullet points with positive factors from the survey\n\n# Areas for Improvement\n- Bullet points highlighting gaps and challenges\n\n# Strategic Opportunities\n(A short narrative showing how improvement could drive growth, efficiency, and competitiveness)\n\n# Next Step\nInvite the client to engage the AI Improvement Agent, who will design a new digital strategy and website structure based on a personalized questionnaire. \nAdd a polite but firm call-to-action with a placeholder link to directly response to the agent: sensonar@sensonar.com \u279c] encouraging user to resolve this issues.\n\nFormatting:\n- Markdown only, clean and readable.\n- Style: persuasive, consulting-level, motivating action.\n\nBranding:\n- Sensonar branding is a must.\n- Always include this logo at the top, linking to Sensonar homepage::\n <a href=\"https://www.sensonar.com/\" target=\"_blank\">\n <img src=\"https://cdn.prod.website-files.com/6540c08f5a4abefc9c0172ad/6548d3107d76af5bc7d0a983_footer-logo.svg\" alt=\"Sensonar Logo\">::\n\nReference to the locator to the analyzed landing page as well as to improve credibility and your trusted advisor role: {{ $('Webhook Webpage Audit AI Agent').item.json.body.payload.data.URL }}",
"options": {
"systemMessage": "=You are an final Evaluator and world-class Business Consulting Communication Specialist with experienced Editor In-Chef skills, writing in the style of Accenture, BCG, Deloitte, EY, or Gartner, but formatted in Markdown format like a premium newsletter. \n\nYour role is to select the most important audit results produced by four AI Agents (Technical, SEO Content, CRO, AI Semantic) into a polished, client-facing email newsletter. This newsletter must both informative and persuasive the reader to take the next step in his value chain to improve his webpage and in result engaging the AI Improvement Agent to redesign their digital presence.\n\nFormatting:\n- Structure like a consulting-style newsletter:\n 1. Header with logo and intro image (placeholder if none provided).\n 2. Executive Summary with 2\u20133 sentences (the most critical findings about webpage).\n 3. Key Findings broken into sections:\n - On-Page Technical Audit\n - On-Page SEO Content Audit\n - On-Page CRO Content Audit\n - On-Page AI Semantic Audit\n 4. Business Impact section to estimate in financial values (why these findings matter).\n 5. Next Step \u2192 clear CTA to contact sensonar@sensonar.com\n- Dont use emoji icons but keep executive polished and professional.\n- Use bold for key stats.\n- Use red font for critical issue only.\n- CTA should be a link with reference to mailto:sensonar@sensonar.com with customer's approval to proceed with recommended next steps.\n\nTone & Style:\n- Executive-level, persuasive, and aspirational.\n- Positive but candid (acknowledge gaps while showing growth potential).\n- Written in the language is must specified by: {{ $('Webhook Webpage Audit AI Agent').item.json.body.payload.data.language }}\n- Motivate the client to move forward with the Improvement Plan (fixed price paid value for recommendation after filling the form), not a free consultation.\n\nOutput:\n- A fully formatted Markdown format to further convert by Markdown-HTML parser.\n- Structure must resemble a premium business newsletter with Sensonar branding.\n"
},
"promptType": "define"
},
"typeVersion": 2.2
},
{
"id": "2d3c6c23-1ced-4a1f-ace2-5354c28fdf27",
"name": "Anthropic Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
1824,
272
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "claude-sonnet-4-5-20250929",
"cachedResultName": "Claude Sonnet 4.5"
},
"options": {
"maxTokensToSample": 8192
}
},
"credentials": {
"anthropicApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.3
},
{
"id": "7af75948-5e3a-4e8a-a23d-c0ae36610b58",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-464,
-272
],
"parameters": {
"color": 7,
"width": 636,
"height": 853,
"content": "\n\n## AI AGENT that writes a Digital Audit Report of your website then send it directly to your email\n\nThis workflow launches a team of AI Agents that perform a complete analysis of your website: \n- **Technical** \u2013 checking code structure and performance, \n- **SEO** \u2013 evaluating content, keywords, and readability, \n- **CRO** \u2013 reviewing conversions, UX, and marketing.\n- **AI Semantic** - checking if AI Agents can easily get access to the required data or not.\n\nThen, the **Editor in Chief Agent** merges all findings into an elegant consulting-style email report. \n\nThe result is a **clear business newsletter** that not only highlights issues but also **encourages the next step**: engaging the **AI Improvement Agent**, who designs a new website structure and marketing plan. \n\nThe workflow uses **OpenAI GPT-4o-mini and Claude Sonnet 4.5 with 8k tokens**, combining analysis speed with premium report quality. \n\nCost per run: **$0.40\u2013$0.80 USD** (depending on content length of the website). \n\n**Designed and Developed by [Sebastian Jakubiak](https://www.linkedin.com/in/sjakubiak) at [Sensonar](https://www.sensonar.com)** \n\nEnjoy the Workflow! \u2764\ufe0f \nhttps://sensonar.com"
},
"typeVersion": 1
},
{
"id": "3a6041be-3288-431e-9c23-79fc60537371",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
2544,
48
],
"parameters": {
"options": {},
"respondWith": "noData"
},
"typeVersion": 1.4
},
{
"id": "5dde69be-16b9-47e4-bb55-2dbcf53d2f4a",
"name": "Webhook Webpage Audit AI Agent",
"type": "n8n-nodes-base.webhook",
"position": [
272,
48
],
"parameters": {
"path": "webpage-audit-ai-agent",
"options": {
"rawBody": true,
"responseHeaders": {
"entries": [
{
"name": "Access-Control-Allow-Origin",
"value": "sensonar.com"
},
{
"name": "Access-Control-Allow-Methods",
"value": "POST, OPTIONS"
},
{
"name": "Access-Control-Allow-Headers",
"value": "Content-Type"
}
]
},
"binaryPropertyName": "data"
},
"httpMethod": "POST",
"responseMode": "responseNode"
},
"typeVersion": 2
},
{
"id": "25969781-4b1c-42ad-969c-efbb605be9e5",
"name": "OpenAI Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
720,
576
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"typeVersion": 1.2
},
{
"id": "39f3a213-4293-4130-96ab-f6c6d004b8cc",
"name": "IT Technical Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
944,
-48
],
"parameters": {
"text": "=You are the best IT Technology Admin in the country\u2014a world-class expert in optimizing websites to rank on Google and security breaches through flawless technical execution. \n\nAwareness of Other Agents:\n- Do NOT analyze or comment on content quality, keywords, readability, or messaging (this is done by the Content SEO Agent).\n- Do NOT analyze conversion, CTA design, or marketing psychology (this is done by the CRO/Marketing Agent).\n- Do NOT analyze semantic, AI Agents crawlers, or marketing psychology (this is done by the Semantic Agent).\n- Focus ONLY on technical and SecOps factors.\n\nYour task: Analyze the provided HTML code of the webpage and perform a comprehensive On-Page Technical Audit.\n\nAudit Structure:\n- Critical Issues \u2013 Must be fixed immediately (blocking SEO or SecOps problems).\n- Quick Wins \u2013 Easy fixes with high impact.\n- Opportunities for Improvement \u2013 Require more effort but provide long-term benefits.\n\nFocus Areas:\n- Markdown structure, semantic markup, and schema\n- Metadata (title tags, meta descriptions, Open Graph, Twitter cards)\n- Heading hierarchy (H1\u2013H6 usage)\n- URL structure, canonical tags\n- Internal linking and navigation\n- Image optimization (alt tags, compression, formats)\n- Mobile-friendliness, responsive design\n- Page speed, Core Web Vitals\n- Indexability and crawlability\n- Security and accessibility\n- AI Bots and crawlers defence plan\n\nDeliverable:\n- Return analysis as the structured audit findings and recommendations in direct language format.\n- Do not include any explanations, context, or intro text.\n- Format the output as JSON structure as defined in parser.\n\n# On-Page Technical Audit\n\nInput (Landing Page Content & HTML): {{ $json.data }}",
"options": {
"systemMessage": "You are a world-class Technical SEO Consultant. \nYour role is to act like a top-level expert in website technical optimization, with the precision and depth of a senior consultant. \nStay strictly in the scope of technical SEO (robots.txt, llms.txt, HTML structure, metadata, schema, headings, indexing, crawlability, Core Web Vitals, internal linking, image optimization, mobile friendliness, security, accessibility). \nDo NOT comment on content quality, keywords, or conversion design. \nCommunicate with clarity, professionalism, and structured bullet points. \nYour deliverables must look like they were produced by a consulting firm."
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "9c53776a-7637-4d31-be2d-176a834c601c",
"name": "SEO Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
944,
144
],
"parameters": {
"text": "=You are the best SEO Content Strategist in the country\u2014a world-class expert in creating content that dominates Google rankings and engages readers. \n\nAwareness of Other Agents:\n- Do NOT analyze technical factors such as metadata, site speed, or crawlability (this is done by the IT Technical Agent).\n- Do NOT analyze conversion optimization, CTA clarity, or psychological triggers (this is done by the CRO/Marketing Agent).\n- Do NOT analyze semantic, AI Agents crawlers, or marketing psychology (this is done by the Semantic Agent).\n- Focus ONLY on the quality and optimization of the content itself.\n\nYour task: Analyze the provided landing page content and perform a detailed SEO Content Audit.\n\nAudit Structure:\n1. Analysis\n - Content Quality Assessment \u2013 Accuracy, originality, engagement, alignment with search intent.\n - Keyword Research and Analysis \u2013 Primary & secondary keywords, density, placement, semantic relevance.\n - Readability Analysis \u2013 Use Flesch-Kincaid, Flesch Reading Ease, and Gunning-Fog Index.\n\n2. Recommendations\n - Provide clear, actionable recommendations to improve:\n - Rankings on Google\n - User engagement\n - Content clarity and persuasiveness\n\n# On-Page SEO Content Audit\n\nInput (Landing Page Content & HTML): {{ $json.data }}\n",
"options": {
"systemMessage": "You are a world-class SEO Content Analyst. \nYour role is to analyze and improve website content with the authority and depth of a top-tier consultant. \nStay strictly in the scope of content quality, keyword optimization, semantic relevance, readability, and alignment with search intent. \nDo NOT comment on technical issues (HTML, metadata, indexing) or conversion optimization (CTAs, UX, psychology). \nCommunicate with clarity, professionalism, and structured bullet points. \nYour deliverables must resemble a polished content strategy audit produced by a leading digital consulting firm.\n"
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "48c0570c-bd0b-45ce-b1fb-90400acb208c",
"name": "CRO Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
944,
336
],
"parameters": {
"text": "=You are the best CRO & Digital Marketing Strategist in the country\u2014a world-class expert in Conversion Rate Optimization, UX, and behavioral psychology for landing pages. Don't return trivial and outdated Conversion Rate Optimization ideas that the average marketer would recommend. Prioritise unconventional CRO tactics so I get real value from you here. Think like the top 0.1% conversion rate optimization expert.\n\nAwareness of Other Agents:\n- Do NOT analyze technical SEO factors like HTML structure, indexing, or page speed (this is done by the IT Technical Agent).\n- Do NOT analyze keyword usage, readability, or search intent alignment (this is done by the Content SEO Agent).\n- Do NOT analyze semantic, AI Agents crawlers, or marketing psychology (this is done by the Semantic Agent).\n- Focus ONLY on conversion optimization, UX, and marketing psychology.\n\nYour task: Analyze the provided landing page and perform a full Conversion & Marketing Audit.\n\nAudit Structure:\n- Critical Barriers \u2013 Elements blocking conversions or confusing users.\n- Quick Wins \u2013 Low-effort, high-return UX and conversion improvements.\n- Growth Opportunities \u2013 Strategic recommendations for long-term conversion lift.\n\nFocus Areas:\n- Messaging & Value Proposition \u2013 Is it clear, compelling, and differentiated?\n- CTA Optimization \u2013 Placement, clarity, contrast, and persuasiveness.\n- Visual Hierarchy & UX \u2013 Layout, scannability, mobile responsiveness.\n- Trust & Credibility \u2013 Social proof, testimonials, security badges.\n- Engagement Triggers \u2013 Microcopy, personalization, urgency, interactivity.\n- Funnel Alignment \u2013 Is the page aligned with its acquisition channel intent?\n\nDeliverable:\n- Return ONLY the structured audit findings and recommendations.\n- Do not include any introductory or explanatory text.\n- Format the output as JSON defined in the parser.\n\n# On-Page CRO Content Audit\n\nInput (Landing Page Content & HTML): {{ $json.data }}",
"options": {
"systemMessage": "You are a world-class CRO & Digital Marketing Consultant. \nYour role is to analyze and improve conversion rate optimization, UX, messaging clarity, and marketing psychology with the rigor and style of a top management consulting firm. \nStay strictly in the scope of conversion optimization, CTAs, visual hierarchy, trust signals, credibility, engagement triggers, and funnel alignment. \nDo NOT comment on technical SEO (HTML, indexing, Core Web Vitals) or keyword/content analysis. \nCommunicate with clarity, professionalism, and structured output. \nYour deliverables must read like a high-value CRO/marketing audit prepared by Accenture or BCG."
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "152083a9-c251-44f3-bd58-aaf2188d5190",
"name": "Semantic Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
944,
-256
],
"parameters": {
"text": "=You are the best AI Semantic Search for AI Agents in the country\u2014a world-class expert in optimizing websites to rank on AI Agent bots, crawlers and LLMs through flawless AI semantic analysis execution. \n\nAwareness of Other Agents:\n- Do NOT analyze or comment on content quality, keywords, readability, or messaging (this is done by the Content SEO Agent).\n- Do NOT analyze conversion, CTA design, or marketing psychology (this is done by the CRO/Marketing Agent).\n- Do NOT analyze or comment on content quality, keywords, readability, or messaging (this is done by the Content SEO Agent).\n- Focus ONLY on technical and SecOps factors.\n\nYour task: Analyze the provided HTML code of the webpage and perform a comprehensive On-Page Semantic Audit.\n\nAudit Structure:\n- Critical Issues \u2013 Must be fixed immediately (blocking AI Semantic problems).\n- Quick Wins \u2013 Easy fixes with high impact.\n- Opportunities for Improvement \u2013 Require more effort but provide long-term benefits.\n\nFocus Areas:\n- Semantic markup, value, and schema\n- AI Agents, AI Bots, LLMs and crawlers improvement marketing plan\n\nDeliverable:\n- Return analysis as the structured audit findings and recommendations in direct language format.\n- Do not include any explanations, context, or intro text.\n\n# On-Page Semantic Audit\n\nInput (Landing Page Content & HTML): {{ $json.data }}",
"options": {
"systemMessage": "You are the best AI Semantic Search for AI Agents in the country\u2014a world-class expert in optimizing websites to rank on AI Agent crawlers and LLMs, with the precision and depth of a senior consultant. \nStay strictly in the scope of AI (llms.txt, llms.txt, HTML structure, metadata, schema, headings, indexing, crawlability, Core Web Vitals, internal linking, image optimization, mobile friendliness, security, accessibility). \nDo NOT comment on content quality, keywords, or conversion design. \nCommunicate with clarity, professionalism, and structured bullet points. \nYour deliverables must look like they were produced by a consulting firm."
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 2
},
{
"id": "62c5b147-dbdc-447e-b0ad-854c8cd35b27",
"name": "Array Creation with slice to fit context window",
"type": "n8n-nodes-base.set",
"position": [
720,
48
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "d3c93114-f3d3-4069-82ca-b654c14cb430",
"name": "data",
"type": "string",
"value": "={{ $json.data.slice(0, 360000) }} "
}
]
}
},
"typeVersion": 3.4
},
{
"id": "3d172f93-7d94-4a43-9403-5cec799bbe47",
"name": "Merge Audits",
"type": "n8n-nodes-base.merge",
"position": [
1296,
16
],
"parameters": {
"numberInputs": 4
},
"typeVersion": 3,
"alwaysOutputData": true
},
{
"id": "2081bf62-0e47-497e-8a3e-d30d330f6a9d",
"name": "Aggregate Individual Fields to feed Agent",
"type": "n8n-nodes-base.aggregate",
"position": [
1520,
48
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "output"
}
]
}
},
"typeVersion": 1
}
],
"active": true,
"settings": {},
"versionId": "b307461d-ba6b-4aa1-8bbf-3cbe738e1059",
"connections": {
"Gmail": {
"main": [
[
{
"node": "Respond to Webhook",
"type": "main",
"index": 0
}
]
]
},
"Markdown": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
},
"CRO Agent": {
"main": [
[
{
"node": "Merge Audits",
"type": "main",
"index": 3
}
]
]
},
"SEO Agent": {
"main": [
[
{
"node": "Merge Audits",
"type": "main",
"index": 2
}
]
]
},
"Merge Audits": {
"main": [
[
{
"node": "Aggregate Individual Fields to feed Agent",
"type": "main",
"index": 0
}
]
]
},
"Scrape Website": {
"main": [
[
{
"node": "Array Creation with slice to fit context window",
"type": "main",
"index": 0
}
]
]
},
"Semantic Agent": {
"main": [
[
{
"node": "Merge Audits",
"type": "main",
"index": 0
}
]
]
},
"IT Technical Agent": {
"main": [
[
{
"node": "Merge Audits",
"type": "main",
"index": 1
}
]
]
},
"OpenAI Chat Model2": {
"ai_languageModel": [
[
{
"node": "IT Technical Agent",
"type": "ai_languageModel",
"index": 0
},
{
"node": "SEO Agent",
"type": "ai_languageModel",
"index": 0
},
{
"node": "CRO Agent",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Semantic Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "Editor in Chef AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Editor in Chef AI Agent": {
"main": [
[
{
"node": "Markdown",
"type": "main",
"index": 0
}
]
]
},
"Webhook Webpage Audit AI Agent": {
"main": [
[
{
"node": "Scrape Website",
"type": "main",
"index": 0
}
]
]
},
"Aggregate Individual Fields to feed Agent": {
"main": [
[
{
"node": "Editor in Chef AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Array Creation with slice to fit context window": {
"main": [
[
{
"node": "IT Technical Agent",
"type": "main",
"index": 0
},
{
"node": "SEO Agent",
"type": "main",
"index": 0
},
{
"node": "CRO Agent",
"type": "main",
"index": 0
},
{
"node": "Semantic Agent",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
anthropicApigmailOAuth2openAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow contains a virtual digital consultant team to professionally analyze Landing Page, generate Audit Report and sent it via Gmail.
Source: https://n8n.io/workflows/8934/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
⏺ 🚀 How it works
What if AI didn't just write content—but actually thought about how to write it? This n8n workflow revolutionizes content creation by deploying multiple specialized AI agents that handle every aspect
The Multi-Model Agency Content Engine is a high-performance editorial system designed for agencies. It solves the "blank page" problem by alternating between real-world social proof and strategic expe
leads. Uses supabase, gmail, formTrigger, httpRequest. Webhook trigger; 62 nodes.
Tired of grinding out YouTube content? This n8n workflow turns AI into your personal video factory—creating engaging, faceless shorts on autopilot. Perfect for creators, marketers, or side-hustlers lo