1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "productName": "Acme Cloud",
10 "reviews": [
11 {
12 "id": "r1",
13 "text": "Easy to use and intuitive, but reports are slow and sometimes crash.",
14 "rating": 3,
15 "date": "2026-03-01",
16 },
17 {
18 "id": "r2",
19 "text": "Please add a native Salesforce integration.",
20 "rating": 3,
21 "date": "2026-04-01",
22 },
23 {
24 "id": "r3",
25 "text": "The pricing is expensive for what we get.",
26 "rating": 2,
27 "date": "2026-05-01",
28 },
29 {
30 "id": "r4",
31 "text": "We switched from RivalCo because setup was simple.",
32 "rating": 5,
33 "date": "2026-06-01",
34 },
35 {
36 "id": "r5",
37 "text": "Support response time is slow and the app keeps crashing.",
38 "rating": 1,
39 "date": "2026-07-01",
40 },
41 {
42 "id": "r6",
43 "text": "Great product, very user friendly.",
44 "rating": 5,
45 "date": "2026-08-01",
46 },
47 ],
48 "competitorNames": ["RivalCo"],
49}
50
51
52run = client.actor("egeusta/saas-voice-of-customer-battlecard").call(run_input=run_input)
53
54
55print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
56for item in client.dataset(run.default_dataset_id).iterate_items():
57 print(item)
58
59