1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "salesforceLoginUrl": "https://login.salesforce.com",
10 "leads": [{
11 "name": "Sarah Chen",
12 "email": "sarah.chen@acmecorp.com",
13 "phone": "+1-415-555-0192",
14 "companyName": "Acme Corp",
15 "jobTitle": "VP of Engineering",
16 "industry": "Technology",
17 "website": "https://acmecorp.com",
18 "city": "San Francisco",
19 "state": "CA",
20 "country": "US",
21 "description": "Met at SaaStr 2025. Interested in automation tools.",
22 }],
23 "dryRun": True,
24}
25
26
27run = client.actor("ryanclinton/salesforce-lead-pusher").call(run_input=run_input)
28
29
30print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
31for item in client.dataset(run["defaultDatasetId"]).iterate_items():
32 print(item)
33
34