π£ Generate AI sales pitches from website URLs with GPT-4o and Google Sheets
β‘ 195 views Β· π£ Lead Generation & Enrichment
π‘ Pro Tip β HTTP Request scraping tends to break when sites update their markup. If youβre scraping a major platform, check if ScraperNode covers it β it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.
Description
Overview
This n8n workflow converts a simple list of website URLs in Google Sheets into a concise, consultative Context + AI pitch for each organization. It scrapes real page content (markdown preferred), feeds it to OpenAI with tight prompts to avoid fluff, and writes the result back to the same sheet row. You can run it on demand or schedule it, and itβs resume-safeβrows with existing messages are skipped. The net effect: faster, higher-quality prospect research and consistent outbound messaging without leaving your sheet.
How it works
- Reads rows from Google Sheets with headers Website and Personalized Message.
- Skips rows where Personalized Message already has content.
- Scrapes each URL to get clean page content (prefer markdown from a scraper like Firecrawl).
- Calls OpenAI with strict System/User prompts to produce Context + Pitch grounded in the site.
- Writes the generated message back to the same row (upsert by Website).
- (Optional) Adds a short delay between rows to respect rate limits.
Setup:
- Sheet: Create headers Website, Personalized Message (row 1).
- Credentials: Add Google Sheets OAuth2 and OpenAI in n8n.
- Read node (Sheets): Select your doc/tab β Get All.
- Scrape step: Use Firecrawl β Scrape (markdown), or fallback to HTTP Request β HTML extract.
- OpenAI node: Model like gpt-4o-mini; paste your System/User prompts; enable Simplify Output if available.
- Write node (Sheets): Append or Update β Column to match on = Website; map
- Website β original URL
- Personalized Message β OpenAI output ({{$json.content}}
- (Optional) Add a Wait node (500β2000 ms) for throttling and stability.
π Nodes Used
Google Sheets, OpenAI
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File