Skip to content

Weekly

Add new contacts at target companies to a Hunter list

Every Monday, Hunter's Domain Search runs for a set of company domains and any new contacts in chosen departments are saved as leads in a Hunter list, with an email summary.

Runs
Weekly
Apps
Hunter.io
AI
Not needed
Access
API key

Send this to your assistant

Create a ClickRuntime automation: every Monday, run a Hunter domain search for acme.com, globex.com and initech.io, add any new sales or marketing contacts with a confidence above 80 to my Hunter list "Target accounts", and email me who was added.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

Account-based outreach starts with a short list of companies and a question: who should we talk to there? People change jobs and teams grow, so the answer from last quarter's research goes stale.

This automation runs Hunter's Domain Search every week for the companies you care about, filters by department and confidence, and saves new contacts straight into a Hunter leads list. You get an email with who was added.

Your target list stays current without anyone repeating the same searches by hand.

What you get out of it

  • Fresh contacts

    New hires at target companies are picked up within a week.

  • Only good matches

    Department and confidence filters keep weak guesses out.

  • Saved where you work

    Leads land in your Hunter list, ready for a campaign.

  • No duplicates

    Contacts already saved are skipped.

  • Predictable credit use

    About one search per company per week.

How it works

What happens, step by step

  1. Every Monday, ClickRuntime runs a Hunter Domain Search for each company domain you list.

  2. It keeps contacts in the departments you chose with a confidence score above your minimum.

  3. Anyone not already saved is added as a lead to your Hunter list, with name, position and company.

  4. You get an email listing who was added at each company.

Before it runs live

  • Connect Hunter.io

What you get

RunsWeekly
Add new contacts at target companies to a Hunter listtoday, 9:00Succeeded
Email · 5 new contacts added to Target accountsacme.com - Priya Raman, Head of Sales · priya.raman@acme.com (94) - Tom Becker, Marketing Manager · t.becker@acme.com (88) globex.com - Lena Ortiz, VP Marketing · lena@globex.com (91) initech.io - Sam Cole, Account Executive · sam.cole@initech.io (86) - Dee Park, Growth Lead · dee@initech.io (82)

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • 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

  • Run it at a different time, more or less often, or only on weekdays
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Slack
  • Combine it with other Hunter.io steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
add_new_contacts_at_target_companies_to_a_hunter_list.pyexample
from clickruntime import on_trigger, credentials, http, notify, state

DOMAINS = ["acme.com", "globex.com", "initech.io"]
DEPARTMENTS = "sales,marketing"
LIST_ID = 123456  # Hunter leads list "Target accounts"
MIN_CONFIDENCE = 80

@on_trigger
def run(event):
    key = credentials.secret("HUNTER_API_KEY")
    saved = set(state.get("saved") or [])
    report = []
    for domain in DOMAINS:
        data = http.get("https://api.hunter.io/v2/domain-search",
                        params={"domain": domain, "department": DEPARTMENTS, "limit": 25, "api_key": key}).json()["data"]
        added = []
        for e in data.get("emails", []):
            if e["value"] in saved or (e.get("confidence") or 0) < MIN_CONFIDENCE:
                continue
            http.post("https://api.hunter.io/v2/leads", params={"api_key": key},
                      json={"email": e["value"], "first_name": e.get("first_name"), "last_name": e.get("last_name"),
                            "position": e.get("position"), "company": data.get("organization"),
                            "website": domain, "leads_list_id": LIST_ID})
            saved.add(e["value"])
            added.append(f"- {e.get('first_name') or ''} {e.get('last_name') or ''}, {e.get('position') or 'no title'}"
                         f" · {e['value']} ({e['confidence']})")
        if added:
            report.append(domain + "\n" + "\n".join(added))
    state.set("saved", sorted(saved))
    count = sum(len(r.splitlines()) - 1 for r in report)
    if report:
        notify.email_me(f"{count} new contacts added to Target accounts", "\n\n".join(report))
    return {"added": count}

FAQ

Common questions

How many credits does it use?
Hunter charges one search per Domain Search call that returns results, so three domains use about three searches a week. Saving leads does not use credits.
Will it add the same person twice?
No. It remembers every address it has saved and skips them on later runs. Hunter also rejects a lead whose email is already in your account.
Can I target job titles instead of departments?
Domain Search filters by department and seniority. Ask your assistant to also keep only positions containing words like "Head" or "Director".
What permissions does it need?
API key. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's AI allowance.
How many runs does it use?
One run each time it runs (weekly). Checks that find nothing to do and stop right away aren't counted.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Add new contacts at target companies to a Hunter list” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.