1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "prospects": [
10 {
11 "name": "Tim Cook",
12 "company": "Apple",
13 },
14 {
15 "name": "Jensen Huang",
16 "company": "NVIDIA",
17 },
18 ],
19 "researchDepth": "standard",
20 "outputStyle": "outreach_brief",
21 "outreachContext": "We help companies automate their content marketing with AI tools",
22 "language": "en",
23}
24
25
26run = client.actor("listenllc/prospect-research-agent").call(run_input=run_input)
27
28
29print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
30for item in client.dataset(run["defaultDatasetId"]).iterate_items():
31 print(item)
32
33