Workflow

Send Personalized Emails to Leads

Automatically research prospects and send personalized cold emails at scale. AI researches each lead online and generates human-like emails based on their profile, role, and interests.

Needle Team

Last updated

November 1, 2025

Connectors used

Google Mail
Google Sheets

Tags

Cold EmailSales OutreachLead GenerationEmail Automation

Video Tutorial

Key Takeaways

  • AI-researched cold emails - Each prospect is individually researched online before an email is written, so every message references real details about the person.
  • Google Sheets as your CRM - The workflow pulls lead data (name, email, role, company size, tools, source, signup date) directly from a spreadsheet.
  • Parallel web research - The AI research step runs in item mode, processing all prospects in parallel rather than one at a time.
  • Hands-off sending - Once the email is generated, it gets sent via Gmail automatically with a custom subject line.

What This Workflow Does

This workflow reads prospect data from a Google Sheet, uses an AI agent to research each person on the web, generates a personalized email based on what it finds, and sends it through Gmail. The goal is to turn a generic lead list into individually tailored outreach without writing each email by hand.

Use cases:

  • Sales teams sending personalized outbound to new signups or inbound leads
  • Founders reaching out to early users with a personal touch
  • Growth teams running cold email campaigns that need to feel human-written

How It Works

StepWhat Happens
1. Manual TriggerYou start the workflow manually when ready to send a batch
2. Google Sheets Get ValuesPulls all rows from your prospect spreadsheet
3. Code (Parse Rows)Transforms raw spreadsheet data into structured objects with named fields
4. AI Research AgentSearches the web for each prospect's background using GPT-4.1 and the search_web tool
5. MergeCombines the original prospect data with the research results
6. AI Email WriterGPT-5.2 generates a personalized email under 100 words using the prospect's name, role, tools, source, and signup date
7. MergeCombines the generated email with the rest of the data
8. Gmail Send EmailSends the personalized email to the prospect

Workflow Nodes

NodeRole
Manual TriggerStarts the workflow on demand
Google Sheets Get Values in RangeFetches all prospect rows from the spreadsheet
CodeParses the spreadsheet header and rows into structured JSON objects
AI Agent (Research)Researches each prospect online using web search, outputs user_websearch_result
MergeCombines prospect data with research output
AI Agent (Email Writer)Generates a personalized email body (email_text) based on all available prospect info
MergeCombines the generated email with prior context
Gmail Send EmailSends the email to the prospect's address

Setup Instructions

  1. Add the workflow template to Needle
  2. Connect your Google Sheets account and point the Get Values node to your prospect spreadsheet
  3. Connect your Gmail account in the Send Email node
  4. Update the email subject line in the Gmail node to match your campaign
  5. Make sure your spreadsheet has columns: user_name, user_email, role, company_size, tools, source, created_at

Customization

What You Can ChangeHow
Prospect data sourceUpdate the Google Sheets URL in the Get Values node
Research depthIncrease maxSteps on the AI Research node (currently 5) for deeper web searches
Email tone and contentEdit the system prompt in the Email Writer node to change length, offer details, or CTA
Email subject lineChange the subject field in the Gmail Send Email node
Target model for email generationSwap the model in the Email Writer node

FAQ

Q: Does this send emails immediately? A: Yes. Once the workflow runs, emails are sent automatically via Gmail. Review your spreadsheet before triggering.

Q: Can I filter which leads get emailed? A: You can modify the Code node to filter rows before processing, for example skipping leads that were already contacted.

Q: What if my spreadsheet has different columns? A: Update the Code node to map your column names, and adjust the AI prompts to reference your field names instead.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .