Run a scheduled n8n workflow that scrapes leads, checks their GitHub bio and sends GPT-4o-mini cold emails
A builder documents a 21-node n8n workflow that scrapes freelance developer leads, validates emails, looks up a GitHub bio, writes a personalised email with GPT-4o-mini and sends it with pauses between messages.
Evidence: The source shows its work: steps, screenshots, code or data you can inspect.
The business problem
Small outbound campaigns need personalised emails with at least one verifiable fact, without writing each one by hand.
What was tried
A webhook or Tuesday and Thursday 9am schedule starts a run. An Apify actor pulls 20 Apollo profiles filtered by title and location, duplicates are removed against a Google Sheet, and emails are validated with mails.so. A best-effort lookup uses the LinkedIn slug as a guessed GitHub username to fetch the bio. GPT-4o-mini writes a subject and body as strict JSON under constraints (banned phrases, one verifiable fact, length limits), and Gmail sends each message with a 45-second wait, logging to the sheet.
What was reported (not reported)
A run of 20 emails takes about 30 minutes and about $0.04 in API fees. No reply, bounce or deliverability results are reported, and the post only cites an industry benchmark of 0.7 to 1.5% replies.
Limitations
Opt-outs are not handled, so a prospect who replies STOP would still get later batches (a fix is planned). About 60% of prospects have no matching GitHub handle and get less specific emails. The author sells the workflow as a $39 template, gives no results from real campaigns, and the page does not show a year. Costs for Apollo, Apify, mails.so and sender infrastructure are not stated. Check email consent and anti-spam rules before using it.
What you need
n8n, Apify with an Apollo actor, mails.so, the GitHub API, an OpenAI key, Gmail and Google Sheets. Total costs are not given beyond the per-run API fee.
Sources
- DEV Community (bluefin ships) ↗ Firsthand write-up, publication date unknown
Source published: unknown. Last reviewed here: October 11, 2026. Spot a mistake? Tell us.
Tools in this workflow
- OpenAI API: Writes each email with GPT-4o-miniTry OpenAI API
- n8n: Runs the workflowTry n8n
- Apify: Scrapes lead dataTry Apify
Get new workflows like this by email
A short selection of the most useful new workflows, including the ones that did not work. Free, and you can unsubscribe at any time.
Related workflows
Run a daily Grok Bot monitor on X for leads and complaints, then find it surfaced 46 false alarms and watched a dead handle
A solo n8n workflow seller had Grok Bot search X every evening for 14 days for help requests, template talk and brand mentions. It logged 47 posts, none of them real leads, and the brand search was still watching a renamed handle.
Build a launch plan in one Claude chat that interviews you first, turns the goal into daily numbers and catches a free-trial timing problem
A long-time online marketer launching her own digital-product store used Claude with a paid workflow add-on to plan filling 50 founder spots in 30 days. The intake turned the goal into daily targets and showed that late sign-ups on a 7-day trial would pay too late to count.
Run a solo API business's marketing legwork with a Claude manager agent: inbox drafts every four hours, one gift-first email per lead, docs from real questions and a morning report
A software engineer selling travel data APIs on RapidAPI set up a Claude manager agent with worker agents for inboxes, lead finding, docs and daily numbers, keeping pricing and spending decisions himself. He reports 61 paying customers and a first month over $1,000 in October.
Get the first 10 paying customers by hand with a free Claude Code skill: warm contacts first, pain-signal prospect list, three follow-ups, launch last
An open-source Claude Code skill that plans first-customer outreach: who to contact in what order, a prospect sheet built around a pain signal, short problem-first messages, a fixed follow-up schedule, and a launch only after 10 paying customers.