Built a full cold outreach system for law firms. 3 emails. Zero manual work after setup.
Here's the full breakdown of what it does:
Runs daily on a schedule trigger. Pulls all leads from Google Sheets, filters out anyone already contacted, bad domains, wrong countries, SEO-polluted keyword entries.
Passes each valid lead through a keyword cleaner that strips generic legal noise and extracts the actual practice area.
Groq (Llama 3.3) writes a personalized cold email based on the specific practice area — personal injury, family law, immigration, criminal defense, whatever the lead actually does. The pain point is derived from their niche, not a fixed template.
Email sent via Gmail. Thread ID saved back to the sheet.
Second workflow runs at a different hour. Checks days since initial send. At day 4 — if no reply detected via Gmail Thread Get — it generates and sends follow-up 1 in the same thread. At day 9 — follow-up 2 (breakup email) with a direct Calendly link.
Each step updates the sheet: Follow up 1 Sent, Follow up 2 Sent, error states handled separately.
The reply detection works by checking messages.length > 1 on the thread — if someone replied, the system skips them.
Tools: n8n · Groq · Gmail · Google Sheets
4
4 comments
Shihab Sakif
7
Built a full cold outreach system for law firms. 3 emails. Zero manual work after setup.
AI Automation Society
skool.com/ai-automation-society
Learn to get paid for AI solutions, regardless of your background.
Leaderboard (30-day)
Powered by