← All projects
AI Automation
Dubai Agency Outreach — Website-Aware Email Drafts
Finds Dubai-based agencies on Google Maps, reads each company's website, and uses AI to write a personalised subject line, first line, and email body — saved as Gmail drafts, never sent automatically.
n8nApifyGoogle MapsHTTP RequestHTML ExtractOpenAIGoogle SheetsGmail

How it flows
- 1Apify finds Dubai agencies on Google Maps
- 2Keep only companies with both a website and an email
- 3HTTP Request opens each website
- 4HTML node extracts the readable text
- 5LLM writes subject, first line, and body from what the site says
- 6Save to Google Sheets and create a Gmail draft
The problem
Generic cold emails get ignored. A personalised email takes ten minutes of research per company. This workflow does the research.
Node by node
- Manual Trigger — starts the run.
- Apify — finds Dubai-based agencies on Google Maps and collects company details (10 results in the test run).
- Code 1 — keeps only companies that have both a website and an email address (7 remained).
- HTTP Request — visits each company’s website.
- HTML — extracts the readable text from the page.
- Code 2 — cleans the scraped text and trims it to a sensible length.
- Basic LLM Chain + OpenAI Chat Model — reads the website text, understands what the agency does, and writes three things: a customised first line, a subject, and an email body.
- Code 3 — organises the company details and the AI copy for output.
- Google Sheets — saves everything to a spreadsheet.
- Gmail Draft — creates a personalised draft for each company. Nothing is sent without a person reviewing it.
Result
Seven ready-to-review drafts in Gmail, each one opening with something specific about the agency, plus a tracking sheet — in under a minute.


