Case Study: AI-Powered Email Outreach Using Apify, OpenAI & Instantly

Goal: Automatically scrape qualified leads from Apollo.io using Apify, generate personalized AI emails, and send them using Instally.io for high deliverability and performance tracking.


🔧 Step 1: Scrape Leads from Apollo.io with Apify

✅ Tools Used:

  • Apify Web Scraper Actor (Puppeteer)
  • Apollo.io Account (Free or Paid)

What to Do:

  1. Open Apollo.io and set up a filtered People Search with your ICP (e.g., CMOs in SaaS, 11–200 employees, USA).
  2. Copy the URL.
  3. Go to Apify and use the Puppeteer Scraper (or request a custom actor).
  4. Set up a script that:
    • Logs into Apollo
    • Goes to the search results
    • Loops through the page and extracts:
      • Name
      • Title
      • Company
      • Email (if shown)
      • LinkedIn URL
      • Website URL

💡 Export to Google Sheets using Apify’s built-in integrations.


🧠 Step 2: Use ChatGPT (OpenAI API) to Personalize Emails

For each lead in Google Sheets, generate a hyper-personalized email using OpenAI’s GPT-4.

Use Make (Integromat) to Automate:

  • Trigger: New row in Google Sheet (with lead info)
  • Action: Send prompt to OpenAI (ChatGPT) plaintextCopyEditWrite a short, personalized cold email to {first_name}, a {title} at {company_name}. Reference their company {company_description} or LinkedIn bio if available. Make it warm, casual, and relevant to helping them with {your_offer}.
  • Output: Paste generated email into the same row (or new column)

Your sheet now includes:

  • First Name
  • Company
  • Email
  • Personalized AI Email Body
  • Subject Line

📤 Step 3: Import Leads & Emails into Instantly

1. Go to instantly.ai and:

  • Create an outreach campaign
  • Connect your Google Workspace inbox (or multiple inboxes)
  • Add custom sending settings (e.g., 50–100/day)

2. Prepare your CSV File with these headers:

  • First Name
  • Email
  • Company
  • Subject
  • Email Body
  • Custom Fields (optional)

Export this CSV from your Google Sheet.

3. Upload to Instantly:

  • Go to Campaign > Leads > Import CSV
  • Map each column to a variable (e.g., {{first_name}}, {{email_body}})

4. Create a New Campaign:

  • Use dynamic fields in your message like: markdownCopyEditHi {{first_name}}, I saw you're the {{title}} at {{company}}. Loved what you're doing at {{company}}, especially in {{niche insight}}... {{email_body}} Let me know if it makes sense to chat? Best, {{your_name}}

5. Enable Automated Follow-Ups:

  • Add 2–3 follow-up messages
  • Schedule them at 3-day intervals
  • Use different tones (friendly nudge, value add, etc.)

🔄 Step 4: Automate the Full Workflow

You can now create an end-to-end automated pipeline like this:

plaintextCopyEditApollo.io Search →
Apify (Scrape Data) →
Google Sheets →
Make/Integromat (OpenAI Personalization) →
Export CSV →
Instantly Campaign →
Automated Emails + Follow-ups →
Responses & Bookings

Bonus: Automate CSV Export & Sync

Use Google Apps Script to:

  • Auto-generate CSV from Sheet daily
  • Save to Drive or email to yourself
  • Or use Zapier/Make to send to Instantly’s API (for auto-upload)

🧪 Results You Can Expect (Example)

After implementing this setup for an AI automation agency targeting online coaches:

  • Emails sent: 2,100 over 3 weeks
  • Open Rate: 76%
  • Reply Rate: 21%
  • Calls Booked: 78
  • Client Deals Closed: 12 in 30 days

✅ Summary

With Apify + OpenAI + Instantly, you now have a fully automated outreach machine:

StepTool
Scrape leads from ApolloApify
Generate personalized emailsChatGPT via Make
Send emails + follow-upsInstantly.ai
Track opens/replies/meetingsInstantly dashboard

Witness The AI Magic With 150+ People Like You!