Marketing & Advertisingbeginner
November 9, 2025
7 min read
35 minutes
How to Automate Personalized Cold Email Campaigns with n8n and Instantly AI
Automate personalized cold emails with n8n. Scrape verified leads, generate AI icebreakers, and push to campaigns for human-like outreach at scale.
By Kazi Sakib

Cold emailing at scale is broken. You either send generic messages that get ignored, or you spend hours personalizing each one manually. Neither option scales, and both leave money on the table.
What if you could combine the reach of automation with the warmth of personalized outreach? This n8n workflow does exactly that. It scrapes verified leads, generates custom icebreakers using AI, stores everything in Google Sheets, and pushes contacts directly into your email campaign, all while you sleep.
This is not about blasting thousands of emails. This is about building a smart system that treats each prospect like a human, not a number. Let me walk you through how it works.
Prerequisites: What You Need to Get Started
Before you dive into building this workflow, you will need access to a few key tools and APIs. Here is what you should have ready:
- Apify API Token: For lead scraping via Apollo, ZoomInfo, or Lusha. You will use the pipelinelabs lead scraper actor.
- Google Sheets: A connected Google account with OAuth2 credentials set up in n8n.
- OpenAI API Key: To generate personalized icebreakers using GPT-4.1-mini or a similar model.
- Instantly AI Account: With an API key and an active campaign ID to push leads into.
- n8n Instance: Either self-hosted or using n8n cloud.
With these in place, you are ready to build a system that runs autonomously and scales your outreach without losing the human touch.
Key Components: The n8n Nodes That Power This Workflow
This workflow uses a handful of powerful n8n nodes working together in harmony. Here is what each one does:
- HTTP Request Node: Pulls lead data from Apify API based on your targeting criteria.
- Google Sheets Node: Appends new leads to your sheet and updates rows with AI-generated icebreakers.
- If Node: Filters out leads that already have icebreakers to avoid redundant API calls.
- Split in Batches Node: Loops through leads one by one for personalized processing.
- OpenAI Node: Generates warm, contextual icebreakers based on lead details.
- Set Node: Maps and cleans data before sending it to Instantly AI.
- HTTP Request Node (Instantly AI): Pushes finalized leads with personalization into your email campaign.
- Schedule Trigger Node: Runs the entire workflow automatically at set intervals.
- Manual Trigger Node: Lets you test the workflow manually before automating it.
- Limit Node: Controls batch size to prevent API rate limits and manage costs.
Each piece plays a role in transforming raw data into warm, ready-to-send email contacts. Now let me show you how to wire it all together.
Step 1: Scrape Verified Leads from Apollo Using Apify
The workflow begins with lead generation. Using the Apify API, you send a POST request to the pipelinelabs lead scraper actor. This tool pulls verified contacts from Apollo, ZoomInfo, or Lusha based on your targeting filters.
img_1.png
In this example, the workflow targets CEOs and CTOs from US-based companies with 51 to 200 employees. The API only returns leads with verified email addresses, which means fewer bounces and better deliverability.
The JSON body in the HTTP Request node specifies all the filters, including job titles, seniority level, company size, and country. You can tweak these parameters to match your ideal customer profile. The response includes rich data like full names, emails, job titles, company descriptions, LinkedIn URLs, and more.
Once the leads are fetched, they flow directly into Google Sheets for storage and further processing.
Step 2: Store Leads in Google Sheets with a Placeholder Icebreaker
The Google Sheets node appends each lead to your spreadsheet with all the relevant fields mapped. This includes first name, last name, email, company name, industry, website, city, country, employee count, and more.
There is also a special column called Icebreaker, which gets filled with the placeholder text "FILL" during this step. This acts as a flag for the next part of the workflow to know which leads need personalized icebreakers.
The sheet becomes your central hub where you can monitor leads, track progress, and manually review personalization before it goes live. Everything is transparent and easy to audit.
img_2.png
Step 3: Filter Leads and Generate Personalized Icebreakers with OpenAI
Not every lead needs a new icebreaker. The If node checks whether the Icebreaker column contains the placeholder "FILL." If it does, the lead moves forward. If not, it gets skipped.
The OpenAI node is where the magic happens. It takes details like first name, company name, job title, city, industry, and company specialties, and generates a short, friendly icebreaker that feels personal and warm.
The prompt is carefully designed to avoid generic phrases and instead focus on specific, conversational hooks. For example, instead of saying "I hope this email finds you well," the AI might say, "Hey Aina, love what you've built over at Maki. Was hoping to run something by you."
The output is a two-sentence icebreaker under 300 characters that flows naturally into your pitch. Once generated, the icebreaker is written back into the Google Sheets row for that specific lead.
Step 4: Push Finalized Leads into Instantly AI Campaign
After the icebreaker is generated and saved, the workflow moves to the final step. The Set node maps all the necessary fields including the icebreaker, first name, last name, email, company name, and website.
Then, the HTTP Request node sends a POST request to the Instantly AI API, adding the lead to your specified campaign. The personalization field gets populated with the AI-generated icebreaker, which Instantly AI will insert at the top of your email template.
This means every email your campaign sends will start with a warm, contextual opener that references something real about the recipient. No templates, no guesswork, just smart automation.
img_3.png
Step 5: Automate the Entire Process with Scheduling
Once your workflow is tested and working, you can automate it completely using the Schedule Trigger node. Set it to run daily, weekly, or at whatever interval makes sense for your outreach goals.
The Limit node ensures that you do not overwhelm your API quotas or trigger rate limits. In this example, it caps the batch at 50 leads per run, but you can adjust this based on your plan and volume.
The workflow will continuously pull new leads, generate personalized icebreakers, and push them into your campaign without any manual intervention. You just monitor results and optimize as needed.
Why This Workflow Changes the Game for Cold Outreach
This workflow solves the core problem of cold email: scale versus personalization. Most tools force you to choose one or the other. This system gives you both.
By combining lead enrichment, AI-powered personalization, and automated campaign management, you create a pipeline that feels human at every touchpoint. Your prospects get emails that reference their company, their role, and their context, not generic blasts.
Whether you are running outbound sales for a SaaS startup, building a consultancy, or managing agency client acquisition, this workflow adapts to your needs. It is modular, transparent, and built on tools you already trust.
The best part? Once it is running, you can focus on closing deals instead of writing emails. The system does the heavy lifting while you do what you do best.
Final Thoughts: Build Once, Scale Forever
Cold email automation does not have to feel cold. With the right workflow, you can reach hundreds of prospects while making each one feel like you wrote the email just for them.
This n8n workflow is not just a tool. It is a blueprint for smarter outreach. It shows you how to connect APIs, structure data flows, and leverage AI in a way that actually works.
If you are tired of low reply rates and wasted time, it is time to build a system that scales with you. Start with this workflow, customize it to your niche, and watch your outreach transform from noise into conversations.
Share this article
Help others discover this content
Tap and hold the link button above to access your device's native sharing options
More in Marketing & Advertising
Continue exploring workflows in this category

Marketing & Advertisingbeginner
1 min read
How to Automate Client Onboarding with n8n: From Intake Forms to AI-Powered Research Briefs
Nayma Sultana
Nov 15

Marketing & Advertisingbeginner
1 min read
Build an AI-Powered Telegram Image Editor Bot with n8n
Mahedi Hasan Nadvee
Nov 12
Est: 25 minutes

Marketing & Advertisingintermediate
1 min read
Transform Product Images into Marketable Images - n8n Workflow
Kazi Sakib
Oct 27
Est: 55 minutes