Write LinkedIn-based cold email icebreakers with Google Sheets, Apify and Claude
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets and Anthropic Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Settings (Edit Fields (Set)): sets 2 fields: max_leads, apify_actor_id
- Get Unprocessed Leads (Google Sheets): uses Google Sheets
- Limit: keeps the first few items
- Loop Over Leads (Loop Over Items (Split in Batches)): loops over the items in batches
- Prepare Lead Fields (Edit Fields (Set)): sets 5 fields: email, first_name, company_name…
- Get LinkedIn Posts (HTTP Request): calls an HTTP API (POST)
- Pick Latest Post (Code): runs custom JavaScript code
- Fetch Company Website (HTTP Request): calls an HTTP API
- Convert HTML to Text (Markdown): converts between Markdown and HTML
- Summarize Website (Basic LLM Chain): sends a prompt to an LLM, with model: Claude Model for Summary
…plus 5 more steps. See the full node list below.
Services it uses
Other Apify + Google Sheets templates (402) · Other Anthropic + Google Sheets templates (261) · Other Anthropic + Apify templates (18)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Sheets
n8n-nodes-base.googleSheets - Limit
n8n-nodes-base.limit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Markdown
n8n-nodes-base.markdown - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Wait
n8n-nodes-base.wait
From the author
Quick overview This workflow pulls unprocessed B2B leads from Google Sheets, uses Apify to scrape each lead’s recent LinkedIn posts and website content, generates a LinkedIn-based cold email icebreaker with Anthropic Claude, and writes the approved icebreaker…