Every 30 minutes
List 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.
- Runs
- Every 30 minutes
- Apps
- Google Sheets, Hunter.io
- AI
- Optional
- Access
- Hunter key; Sheets read+write
Send this to your assistant
Create a ClickRuntime automation: every 30 minutes, for each new domain in my Companies tab, find up to 5 people with Hunter, add their name, role and email to the Contacts tab and mark the domain as done.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
Account-based sales starts with a list of target companies, but a company is not a contact. Finding who works there, in which role, and how to reach them is slow research that eats the time meant for selling.
Sales teams, recruiters and partnership managers use it to turn a list of target companies into named contacts in minutes, with every result kept in the same sheet.
What you get out of it
From company to people
Add a domain and get the names, roles and emails Hunter knows for that company.
The right roles first
Results can be limited to departments such as sales or management, so you are not sorting through every employee.
One tidy contacts tab
All results land in a single tab with the company next to each person, ready to filter or import.
Each domain searched once
Domains are marked done after the search, so credits are not used twice.
How it works
What happens, step by step
Every 30 minutes, ClickRuntime reads your Companies tab for domains not yet marked done.
Hunter searches each domain for people and their work emails.
Up to five contacts per company are added to your Contacts tab with name, role and email.
The domain is marked done, with how many contacts were found.
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
SHEET_ID = "your-spreadsheet-id"
@on_trigger
def run(event):
sheets = build("sheets", "v4", credentials=Credentials(credentials.connection("google", "work")),
cache_discovery=False).spreadsheets().values()
rows = sheets.get(spreadsheetId=SHEET_ID, range="Companies!A2:B").execute().get("values", [])
new = [(i + 2, r[0]) for i, r in enumerate(rows) if len(r) == 1 and r[0]]
report_fetched(len(new))
if not new:
return {"new": 0}
contacts, marks = [], []
for n, domain in new:
data = http.get("https://api.hunter.io/v2/domain-search", params={"domain": domain, "limit": 5, "type": "personal",
"api_key": credentials.secret("HUNTER_API_KEY")}).json().get("data") or {}
people = data.get("emails", [])
contacts += [[domain, f"{p.get('first_name') or ''} {p.get('last_name') or ''}".strip(), p.get("position") or "",
p["value"], p.get("confidence", "")] for p in people]
marks.append({"range": f"Companies!B{n}", "values": [[f"Done: {len(people)} contacts" if people else "No contacts found"]]})
if contacts:
sheets.append(spreadsheetId=SHEET_ID, range="Contacts!A:E", valueInputOption="RAW", body={"values": contacts}).execute()
sheets.batchUpdate(spreadsheetId=SHEET_ID, body={"valueInputOption": "RAW", "data": marks}).execute()
return {"domains": len(new), "contacts": len(contacts)}FAQ
Common questions
How many contacts per company?
Can I target certain roles?
What if a company has no results?
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
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.
See how it worksScore 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 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 “List the people at each company in your sheet” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.
