Templates / Personalized outreach for lawyers with LinkedIn scraping, GPT-4o, Google Sheets

Personalized outreach for lawyers with LinkedIn scraping, GPT-4o, Google Sheets

Needs changes

by Ibrahim Malick · 2,920 views · created 2025-06-11 · Lead Generation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs on a schedule (every day). Along the way it connects Google Sheets, OpenRouter Chat Model and OpenAI. It also calls googleapis.com over HTTP.

How it runs

Trigger: On a schedule (every day).

  1. Set Fields (Edit Fields (Set)): sets 1 field: currentStartIndex
  2. Google Search (HTTP Request): calls googleapis.com
  3. Results (Code): runs custom JavaScript code
  4. Add to Google (Google Sheets): append
  5. Pages (Code): runs custom JavaScript code
  6. Research Agent (AI Agent): runs an AI agent, with model: OpenRouter Chat Model
  7. Pages Check (If): checks a condition and branches into true / false
  8. Outreach Agent (OpenAI): uses OpenAI
  9. Google Sheets: append or update

Services it uses

Google SheetsOpenRouter Chat ModelOpenAI

HTTP calls to: googleapis.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Research Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Research Agent (v1.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

⚠️ This template uses only official n8n nodes. No community nodes required. 🧑‍💼 Who is this for? This workflow is designed for: - Legal tech founders - Marketing freelancers or consultants - Agencies supporting lawyers and small law firms - Anyone doing…

Excerpt from Ibrahim Malick's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.