1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "items",
10 "items": [
11 {
12 "title": "Best tool for managing support handoffs in a SaaS startup?",
13 "selftext": "We are a 12 person SaaS team outgrowing shared Gmail. Any recommendations for customer support software with Slack workflow automation?",
14 "subreddit": "SaaS",
15 "author": "founder_anne",
16 "permalink": "/r/SaaS/comments/abc123/best_tool_for_support_handoffs/",
17 "score": 42,
18 "numComments": 18,
19 "createdUtc": 1783497600,
20 },
21 {
22 "postUrl": "https://www.reddit.com/r/CustomerSuccess/comments/switch1/zendesk_pricing/",
23 "title": "Zendesk pricing is getting brutal for our small support team",
24 "body": "We are frustrated with Zendesk and looking for an alternative to handle approvals and customer handoff workflows before this quarter.",
25 "community": "CustomerSuccess",
26 "username": "opslead",
27 "upvotes": 15,
28 "commentsCount": 9,
29 },
30 {
31 "title": "Intercom billboard spotted downtown",
32 "text": "Saw an Intercom billboard today. Interesting marketing campaign.",
33 "subreddit": "marketing",
34 "author": "observer",
35 },
36 ],
37 "targetProfile": {
38 "productName": "Acme SupportDesk",
39 "productCategory": "customer support software",
40 "targetCustomers": [
41 "saas",
42 "startup",
43 "support team",
44 "agency",
45 ],
46 "targetSubreddits": [
47 "SaaS",
48 "Entrepreneur",
49 "CustomerSuccess",
50 ],
51 "competitors": [
52 "Zendesk",
53 "Intercom",
54 "Freshdesk",
55 ],
56 "painKeywords": [
57 "too expensive",
58 "handoff",
59 "approval workflow",
60 "slow support",
61 "migration",
62 ],
63 "solutionKeywords": [
64 "helpdesk",
65 "support",
66 "crm",
67 "workflow",
68 "automation",
69 ],
70 "negativeKeywords": ["homework"],
71 "disallowedSubreddits": ["jobs"],
72 },
73 "processedAt": "2026-07-08T00:00:00.000Z",
74}
75
76
77run = client.actor("rotvuvo/reddit-buyer-intent-lead-priority-scorer").call(run_input=run_input)
78
79
80print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
81for item in client.dataset(run["defaultDatasetId"]).iterate_items():
82 print(item)
83
84