Automated website audit & personalized outreach with Lighthouse and GPT-4
Quick overview
Description
Quick overview Turn a business website into a specific opening line for your next outreach email. This workflow helps agencies and SEO consultants combine mobile Lighthouse scores with a homepage screenshot, then save a personalized draft in Google Sheets for review. How it works A webhook starts the workflow, which reads the first lead returned by Google Sheets. It checks the email address and looks for the business website using its Bokadirekt profile or business email domain. For a reachable site, it requests a mobile Lighthouse audit through Google PageSpeed Insights and captures a full-page screenshot with Thum.io. GPT-4o mini reviews the screenshot and drafts an outreach opener. If the website request fails, a separate branch drafts an opener about the access issue. The workflow writes the result back to the lead’s row for review. Setup Import the workflow into n8n and connect your Google Sheets and OpenAI credentials. Prepare a test row with an Email and a BokaDirect Profile URL. Select the spreadsheet and tab in every Google Sheets node. In each update node, choose the column that identifies the lead and map the draft and status fields to their destination columns. Configure your PageSpeed Insights API key. Replace the sample text in the OpenAI prompts and insert the four scores from Filter Stats so the draft can reference the lead’s actual results. Start a test execution and call the test webhook. Open the lead’s row and check that the draft describes the correct website and that any score it mentions matches the audit. Requirements An n8n Cloud or self-hosted instance. A Google account with edit access to the lead spreadsheet. An OpenAI API credential with access to GPT-4o mini or another vision-capable model. A Google PageSpeed Insights API key for the Lighthouse audit. Access to the Thum.io screenshot service and a publicly reachable business website for the visual review. Customization Change the email prompt in the OpenAI node to match your tone Modify the Google Sheet structure for different niches Add extra steps (e.g., push to a CRM or email sender like Instantly) Additional info Drafts stay in Google Sheets for review. You can adapt the profile lookup for another directory, adjust the prompts to your agency’s tone, or connect an approved draft to a CRM or email sender such as Instantly. For help adapting the workflow, email info@shahrukhmajeed.com Built by Shahrukh Majeed, n8n Verified Creator. Case studies and a free workflow diagnostic: https://www.shahrukhmajeed.com. An n8n automation workflow template by Shahrukh Majeed.
Community Metrics
Author
Shahrukh Majeed
Platform
web
Pricing model
free
Categories
- Automation
- AI
Tags
- n8n
- workflow
- google-sheets
- http-request
- code
- openai
Capabilities
- 4 nodes
- 2,127 views