1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "records": [
10 {
11 "product": "ExampleCRM",
12 "rating": 1,
13 "date": "2026-08-20",
14 "text": "Support never responds to our tickets.",
15 "url": "https://example.com/reviews/1",
16 },
17 {
18 "product": "ExampleCRM",
19 "rating": 2,
20 "date": "2026-08-20",
21 "text": "Terrible customer support response time.",
22 },
23 {
24 "product": "ExampleCRM",
25 "rating": 2,
26 "date": "2026-08-20",
27 "text": "Support agent did not resolve the problem.",
28 },
29 {
30 "product": "ExampleCRM",
31 "rating": 2,
32 "date": "2026-08-20",
33 "text": "The interface is confusing and hard to use.",
34 },
35 {
36 "product": "ExampleCRM",
37 "rating": 2,
38 "date": "2026-08-20",
39 "text": "Navigation is difficult.",
40 },
41 ],
42 "lookbackDays": 30,
43 "minMentions": 2,
44 "maxResults": 20,
45}
46
47
48run = client.actor("signal_lab/review-pain-intelligence").call(run_input=run_input)
49
50
51print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
52for item in client.dataset(run.default_dataset_id).iterate_items():
53 print(item)
54
55