1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "items",
10 "items": [
11 {
12 "reviewId": "rev-low-1",
13 "businessName": "Acme Dental Austin",
14 "locationName": "Austin",
15 "rating": 1,
16 "reviewText": "Terrible service. I was overcharged and want a refund. The room felt unsafe and I will never again visit.",
17 "publishedAtDate": "2026-07-07T10:00:00.000Z",
18 "responseFromOwnerText": "",
19 },
20 {
21 "reviewId": "rev-mixed-1",
22 "businessName": "Acme Dental Round Rock",
23 "rating": 3,
24 "reviewText": "The dentist was helpful, but the wait was slow and the front desk ignored us.",
25 "publishedAtDate": "2026-07-06T16:00:00.000Z",
26 },
27 {
28 "reviewId": "rev-good-1",
29 "placeName": "Acme Dental Austin",
30 "stars": 5,
31 "text": "Great visit. The staff were friendly and helpful.",
32 "ownerResponse": "Thanks for visiting us!",
33 },
34 ],
35 "businessProfile": {
36 "brandName": "Acme Dental",
37 "locations": [
38 "Austin",
39 "Round Rock",
40 ],
41 "targetCategories": ["Dental clinic"],
42 "escalationKeywords": [
43 "refund",
44 "injury",
45 "unsafe",
46 "legal",
47 ],
48 "urgentRatingThreshold": 2,
49 "defaultSlaHours": 48,
50 "autoThankRating": 5,
51 },
52 "scrapedAt": "2026-07-08T00:00:00.000Z",
53}
54
55
56run = client.actor("rotvuvo/google-business-review-response-priority-scorer").call(run_input=run_input)
57
58
59print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
60for item in client.dataset(run["defaultDatasetId"]).iterate_items():
61 print(item)
62
63