Skip to content

Weekly

Enrich a contact list with Lusha and email the results

My list of emails comes back with names, titles and company details as a CSV in my inbox.

Runs
Weekly
Apps
Lusha
AI
Not needed
Access
API key (plan with API)

Send this to your assistant

Create a ClickRuntime automation: every Monday at 9am, take my saved list of prospect emails, enrich them with Lusha in batches of 100, and email me the results as a CSV.

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

A sales operations person who has a list of 800 email addresses from an event, a webinar or a purchased file, and needs phone numbers, job titles and company details, faces a tedious job. Pasting them into Lusha one by one is out of the question, and uploading in a bulk tool means waiting and remembering to download results. The list gets enriched slowly, and outreach starts late.

You put the list in ClickRuntime's stored state. Each week the automation reads it, sends the emails to Lusha's bulk person enrichment in batches, builds a CSV of the results and emails it to you. Batching keeps within Lusha's limits, and the whole run needs no attention from you.

It is helpful for sales and recruiting teams who regularly add contacts to enrich.

What you get out of it

  • Outreach starts with complete records

    Contacts with a verified title and phone number are far easier to prioritize and call. Having the data before the sequence begins means reps do not waste calls on guesswork.

  • Hours of copy-and-paste are removed

    Enriching hundreds of contacts by hand is a day of work. A scheduled batch run does the same job while nobody is at their desk. That time returns to selling or recruiting.

  • Credits are used deliberately

    Because the list is yours and the run is on a known schedule, you decide what gets enriched and when. That avoids accidentally spending Lusha credits on contacts you do not need.

  • Results arrive in a usable format

    A CSV can be opened in a spreadsheet or imported into your CRM directly. No reformatting is needed before the sales team can use it. That saves a surprising amount of cleanup effort.

  • Large lists are handled safely

    Batches keep requests within the provider's limits, so a long list does not fail halfway. You get the results for everything that was processed. That makes the process dependable even for big lists.

How it works

What happens, step by step

  1. Each week, or whenever you run it, ClickRuntime takes the list of prospect emails you saved.

  2. It sends them to Lusha in groups of 100 and gets back each person's name, job title, company and phone number.

  3. The results are put into a CSV with one row per email and sent to your inbox.

Before it runs live

  • Connect Lusha

What you get

RunsWeekly
Enrich a contact list with Lusha and email the resultstoday, 9:00Succeeded
Email · Lusha enrichmentemail,name,title,company,phone dana@northwind.com,Dana Reyes,VP Operations,Northwind,+1 555 0100

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 Lusha 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.
bulk_enrich_a_list_and_email_results.pyexample
import csv, io
from clickruntime import on_trigger, credentials, notify, http, state

@on_trigger
def run(event):
    emails = state.get("prospect_emails") or []
    headers = {"api_key": credentials.secret("LUSHA_API_KEY")}
    out = io.StringIO()
    writer = csv.writer(out)
    writer.writerow(["email", "name", "title", "company", "phone"])
    for i in range(0, len(emails), 100):
        batch = [{"contactId": str(n), "email": e} for n, e in enumerate(emails[i:i + 100], start=i)]
        resp = http.post("https://api.lusha.com/v2/person", headers=headers, json={"contacts": batch})
        resp.raise_for_status()
        for c in batch:
            d = (resp.json()["contacts"].get(c["contactId"]) or {}).get("data") or {}
            phones = d.get("phoneNumbers") or [{}]
            writer.writerow([c["email"], d.get("fullName", ""), (d.get("jobTitle") or {}).get("title", ""),
                             (d.get("company") or {}).get("name", ""), phones[0].get("number", "")])
    notify.email_me(f"Lusha enrichment: {len(emails)} prospects", out.getvalue())
    return {"enriched": len(emails)}

FAQ

Common questions

How big can the list be?
It depends on your Lusha plan and credits, since each enrichment normally uses credits. The automation splits large lists into batches, so the size is limited by what you can afford rather than by the tool. Start with a small list to check the output. The CSV is sent to the address you choose.
How do I add new emails to the list?
You tell your assistant to add them, or send them to the automation through a form or webhook. They are stored and picked up on the next run. Processed emails can be removed, so they are not enriched and charged again.
What if Lusha has no data for some contacts?
Those rows appear in the CSV with empty fields, so you can see which contacts were not found. Credits are generally only used when data is returned, but check Lusha's current terms, as they set the billing rules.
What permissions does it need?
API key (plan with API). 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 “Enrich a contact list with Lusha and email the results” from your assistant

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