1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "records": [
10 {
11 "fullName": "Jane Doe",
12 "title": "VP Engineering",
13 "company": "Acme, Inc.",
14 "website": "https://acme.com",
15 },
16 {
17 "name": "Jane Doe",
18 "jobTitle": "VP of Engineering",
19 "organization": "Acme Inc",
20 "email": "jane.doe@acme.com",
21 },
22 ],
23 "fieldMap": {
24 "org_name": "companyName",
25 "work_email": "email",
26 },
27 "icp": {
28 "targetIndustries": [
29 "software",
30 "saas",
31 ],
32 "targetCountries": [
33 "United States",
34 "US",
35 ],
36 "requiredTech": [],
37 "seniorityKeywords": [
38 "head",
39 "vp",
40 "chief",
41 "director",
42 "founder",
43 ],
44 },
45}
46
47
48run = client.actor("prooflio/lead-enrichment-pipeline").call(run_input=run_input)
49
50
51print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
52for item in client.dataset(run["defaultDatasetId"]).iterate_items():
53 print(item)
54
55