1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "leads": [{
10 "fullName": "Alex Morgan",
11 "jobTitle": "COO",
12 "companyName": "Example Manufacturing",
13 "companyUrl": "https://example.com",
14 "notes": "Met at an industry event; evaluating process automation this quarter.",
15 }],
16 "offerDescription": "We automate document-heavy B2B operations by connecting ERP, CRM, email, and approval workflows with human-reviewed AI.",
17 "idealCustomerProfile": "Italian mid-market manufacturers with multi-person operations teams, repetitive document workflows, and an active process-improvement initiative.",
18 "qualificationCriteria": [
19 "Operates document-heavy workflows",
20 "Uses an ERP or CRM",
21 "Has a multi-person operations team",
22 ],
23 "targetRoles": [
24 "COO",
25 "Head of Operations",
26 "Operations Director",
27 ],
28}
29
30
31run = client.actor("nextlabs/ai-lead-qualifier-outreach").call(run_input=run_input)
32
33
34print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
35for item in client.dataset(run["defaultDatasetId"]).iterate_items():
36 print(item)
37
38