Every 15 minutes
Find prospects' emails and draft a first message in your sheet
For each new name and company domain in your sheet, Hunter finds the email address and a short, personal first email is written beside it.
- Runs
- Every 15 minutes
- Apps
- Google Sheets, Hunter.io
- AI
- Yes, uses the built-in AI allowance
- Access
- Hunter key; Sheets read+write
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, for each new row in my Prospects sheet with a name and company domain, find their email with Hunter, then write a short personalised first email and put the email, confidence score and draft in the row.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Building a prospect list is the easy part. Finding each person's email and writing a first message that does not sound like a template takes several minutes per row, which is why outreach lists sit half finished.
Founders, sales reps and agency owners use it to go from a list of names to ready-to-send drafts, while still reading and sending each email themselves.
What you get out of it
Addresses found for you
Hunter looks up each person's work email from their name and company domain, with a confidence score.
A first draft per person
Each prospect gets a short email that mentions their company and role, not a mail-merge template.
Everything in one row
Email, confidence and draft sit next to your own notes, ready to review and send.
Credits spent once
Rows that already have a result are skipped, so you never pay twice for the same lookup.
How it works
What happens, step by step
Every 15 minutes, ClickRuntime reads your sheet for rows with a name and company domain but no email yet.
Hunter looks up each person's email address and how confident it is.
AI writes a short first email for each person it found.
The email, confidence score and draft are written back into the row.
Before it runs live
- Connect your Google Sheets account and pick the spreadsheets it may use
- Connect Hunter.io
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Change what the AI looks for, or how it writes the result
- Add another app, for example also send it to Slack
- Combine it with other Google Sheets and Hunter.io steps into one automation
Under the hood
The code that runs this automation
from google.oauth2.credentials import Credentials
from googleapiclient.discovery import build
from clickruntime import on_trigger, report_fetched, credentials, http, ai
SHEET_ID = "your-spreadsheet-id"
OFFER = "We help small online shops cut delivery costs with smarter packaging."
@on_trigger
def run(event):
sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")), cache_discovery=False)
rows = sheets.spreadsheets().values().get(spreadsheetId=SHEET_ID, range="Prospects!A2:F").execute().get("values", [])
new = [(i + 2, r) for i, r in enumerate(rows) if len(r) >= 3 and len(r) < 4]
report_fetched(len(new))
if not new:
return {"new": 0}
updates = []
for n, (first, last, domain, *_) in new:
found = http.get("https://api.hunter.io/v2/email-finder", params={"domain": domain, "first_name": first,
"last_name": last, "api_key": credentials.secret("HUNTER_API_KEY")}).json().get("data") or {}
email, score, draft = found.get("email") or "Not found", found.get("score", ""), ""
if found.get("email"):
draft = ai.generate(f"Write a 70-word first email to {first} {last} ({found.get('position') or 'unknown role'}) at "
f"{domain}. Offer: {OFFER} Friendly, specific, one question at the end.", max_output_tokens=200).text
updates.append({"range": f"Prospects!D{n}:F{n}", "values": [[email, score, draft.strip()]]})
sheets.spreadsheets().values().batchUpdate(spreadsheetId=SHEET_ID,
body={"valueInputOption": "RAW", "data": updates}).execute()
return {"processed": len(new)}FAQ
Common questions
What if Hunter can't find an email?
Does it send the emails?
Can I give it context about my offer?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Score local business leads and find the owner's email
Each business in your sheet gets a fit score for your offer, and the good fits get a decision-maker's email from Hunter.
See how it worksList the people at each company in your sheet
For each company domain you add, up to five contacts with their names, roles and emails are added to your Contacts tab.
See how it worksCopy Hunter leads to Google Sheets
Leads saved in a Hunter leads list are copied to a Google Sheets tab with name, email, company, position and verification status.
See how it worksKeep exploring
Set up “Find prospects' emails and draft a first message in your sheet” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.
