1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "leads": [
10 {
11 "firstName": "John",
12 "lastName": "Doe",
13 "companyName": "Acme Corp",
14 "title": "VP of Sales",
15 "domain": "acme.com",
16 "email": "john@acme.com",
17 },
18 {
19 "firstName": "Jane",
20 "lastName": "Smith",
21 "companyName": "TechStart Inc",
22 "title": "CTO",
23 "linkedinUrl": "https://linkedin.com/in/janesmith",
24 },
25 {
26 "email": "support@example.com",
27 "firstName": "Support",
28 "companyName": "Example Inc",
29 },
30 ],
31 "csvText": "",
32}
33
34
35run = client.actor("luckborn/ai-lead-enrichment-pipeline").call(run_input=run_input)
36
37
38print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
39for item in client.dataset(run["defaultDatasetId"]).iterate_items():
40 print(item)
41
42