1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "intentKeywords": [
10 "recommend a CRM",
11 "alternative to Salesforce",
12 "looking for a CRM",
13 ],
14 "offerDescription": "We sell a CRM with built-in sales sequences for B2B sales teams of 10 to 200 people.",
15 "sourceMode": "list",
16 "maxDiscoveryChargeUsd": 0.3,
17 "discoveryInput": {},
18 "itemsList": [
19 {
20 "type": "post",
21 "id": "7243981127765409792",
22 "linkedinUrl": "https://www.linkedin.com/posts/maya-lindqvist-example_activity-7243981127765409792",
23 "content": "Can anyone recommend a CRM for a 20-person sales team? We've outgrown spreadsheets and need something live by end of Q4. Budget is flexible for the right fit. Who do you use for pipeline tracking?",
24 "author": {
25 "publicIdentifier": "maya-lindqvist-example",
26 "type": "profile",
27 "name": "Maya Lindqvist",
28 "linkedinUrl": "https://www.linkedin.com/in/maya-lindqvist-example",
29 "info": "Co-founder & CEO at Northwind Analytics | ex-Google",
30 "website": "https://northwind-analytics.example",
31 },
32 "postedAt": {
33 "postedAgoShort": "3h",
34 "postedAgoText": "3 hours ago",
35 },
36 "engagement": {
37 "likes": 41,
38 "comments": 27,
39 "shares": 2,
40 },
41 "query": { "search": "recommend a CRM" },
42 },
43 {
44 "type": "post",
45 "id": "7243870011122334455",
46 "linkedinUrl": "https://www.linkedin.com/posts/daniel-okafor-example_activity-7243870011122334455",
47 "content": "We're moving away from Salesforce. It's way too heavy for a team of 12 reps and nobody updates it. Looking for an alternative to Salesforce that our reps will actually use. Thoughts on Pipedrive vs HubSpot?",
48 "author": {
49 "publicIdentifier": "daniel-okafor-example",
50 "type": "profile",
51 "name": "Daniel Okafor",
52 "linkedinUrl": "https://www.linkedin.com/in/daniel-okafor-example",
53 "info": "VP Sales at Brightpath Logistics",
54 },
55 "postedAt": {
56 "postedAgoShort": "20h",
57 "postedAgoText": "20 hours ago",
58 },
59 "numLikes": 18,
60 "numComments": 34,
61 "numShares": 1,
62 "query": "alternative to Salesforce",
63 },
64 {
65 "type": "post",
66 "id": "7243500099887766554",
67 "linkedinUrl": "https://www.linkedin.com/posts/priya-raman-example_activity-7243500099887766554",
68 "content": "Evaluating sales engagement tools this month. Comparing Outreach, Apollo and a couple of newer options for our SDR team. Anyone tried running sequences and the CRM in one place? Would love honest pros and cons.",
69 "author": {
70 "publicIdentifier": "priya-raman-example",
71 "type": "profile",
72 "name": "Priya Raman",
73 "linkedinUrl": "https://www.linkedin.com/in/priya-raman-example",
74 "info": "Head of Revenue Operations @ Loomstack",
75 },
76 "postedAt": {
77 "postedAgoShort": "2d",
78 "postedAgoText": "2 days ago",
79 },
80 "engagement": {
81 "likes": 9,
82 "comments": 14,
83 "shares": 0,
84 },
85 "query": { "search": "comparing sales engagement tools" },
86 },
87 {
88 "type": "post",
89 "id": "7243700055544433322",
90 "linkedinUrl": "https://www.linkedin.com/posts/tom-becker-example_activity-7243700055544433322",
91 "content": "Looking to hire an agency to set up our CRM and automate follow-ups. We are 8 people with lots of inbound calls and nothing is tracked. Any recommendations? Email me at tom@beckerco.example",
92 "author": {
93 "publicIdentifier": "tom-becker-example",
94 "type": "profile",
95 "name": "Tom Becker",
96 "linkedinUrl": "https://www.linkedin.com/in/tom-becker-example",
97 "info": "Founder | Becker & Co. Roofing",
98 },
99 "postedAt": {
100 "postedAgoShort": "1d",
101 "postedAgoText": "1 day ago",
102 },
103 "engagement": {
104 "likes": 6,
105 "comments": 11,
106 "shares": 0,
107 },
108 "query": { "search": "looking for an agency CRM" },
109 },
110 {
111 "type": "post",
112 "id": "7242900044433322211",
113 "linkedinUrl": "https://www.linkedin.com/posts/sofia-marques-example_activity-7242900044433322211",
114 "content": "In the market for a new sales CRM for our clinic network. It must integrate with Outlook and have decent reporting for 30 sales reps. Happy to hear what has worked for other healthcare teams.",
115 "author": {
116 "publicIdentifier": "sofia-marques-example",
117 "type": "profile",
118 "name": "Sofia Marques",
119 "linkedinUrl": "https://www.linkedin.com/in/sofia-marques-example",
120 "info": "Sales Manager at Clearwater Health",
121 },
122 "postedAt": {
123 "postedAgoShort": "4d",
124 "postedAgoText": "4 days ago",
125 },
126 "engagement": {
127 "likes": 12,
128 "comments": 8,
129 "shares": 1,
130 },
131 "query": { "search": "in the market for a CRM" },
132 },
133 {
134 "type": "post",
135 "id": "7242800033322211100",
136 "linkedinUrl": "https://www.linkedin.com/posts/alex-chen-example_activity-7242800033322211100",
137 "content": "Struggling with how our sales team logs calls. Every deal update is a Slack message and reporting at month end is a nightmare for everyone involved.",
138 "author": {
139 "publicIdentifier": "alex-chen-example",
140 "type": "profile",
141 "name": "Alex Chen",
142 "linkedinUrl": "https://www.linkedin.com/in/alex-chen-example",
143 "info": "Software Engineer at Finbase",
144 },
145 "postedAt": {
146 "postedAgoShort": "5d",
147 "postedAgoText": "5 days ago",
148 },
149 "engagement": {
150 "likes": 3,
151 "comments": 2,
152 "shares": 0,
153 },
154 },
155 {
156 "type": "post",
157 "id": "7243600022211100099",
158 "linkedinUrl": "https://www.linkedin.com/posts/jordan-pike-example_activity-7243600022211100099",
159 "content": "🚀 Excited to announce RevBoost 2.0! Our platform now writes your sequences for you and books meetings on autopilot. Book a demo this week, link in comments.",
160 "author": {
161 "publicIdentifier": "jordan-pike-example",
162 "type": "profile",
163 "name": "Jordan Pike",
164 "linkedinUrl": "https://www.linkedin.com/in/jordan-pike-example",
165 "info": "Founder at RevBoost | We help SDR teams book 3x more meetings",
166 },
167 "postedAt": {
168 "postedAgoShort": "6h",
169 "postedAgoText": "6 hours ago",
170 },
171 "engagement": {
172 "likes": 88,
173 "comments": 12,
174 "shares": 4,
175 },
176 },
177 {
178 "type": "post",
179 "id": "7243400011100099988",
180 "linkedinUrl": "https://www.linkedin.com/posts/lena-fischer-example_activity-7243400011100099988",
181 "content": "We're hiring! Looking for a Senior Account Executive to join our team in Berlin. Great CRM stack, great people. Apply now via the careers page. #hiring #sales",
182 "author": {
183 "publicIdentifier": "lena-fischer-example",
184 "type": "profile",
185 "name": "Lena Fischer",
186 "linkedinUrl": "https://www.linkedin.com/in/lena-fischer-example",
187 "info": "Talent Partner at Northwind Analytics",
188 },
189 "postedAt": {
190 "postedAgoShort": "10h",
191 "postedAgoText": "10 hours ago",
192 },
193 "engagement": {
194 "likes": 25,
195 "comments": 3,
196 "shares": 5,
197 },
198 },
199 {
200 "type": "post",
201 "id": "7243300000099988877",
202 "linkedinUrl": "https://www.linkedin.com/posts/sam-ortiz-example_activity-7243300000099988877",
203 "content": "Worth a read 👇",
204 "repost": {
205 "id": "7243000000000000001",
206 "content": "Can anyone recommend a CRM for startups?",
207 },
208 "author": {
209 "publicIdentifier": "sam-ortiz-example",
210 "type": "profile",
211 "name": "Sam Ortiz",
212 "linkedinUrl": "https://www.linkedin.com/in/sam-ortiz-example",
213 "info": "Account Manager at Tidewell",
214 },
215 "postedAt": {
216 "postedAgoShort": "8h",
217 "postedAgoText": "8 hours ago",
218 },
219 "engagement": {
220 "likes": 2,
221 "comments": 0,
222 "shares": 0,
223 },
224 },
225 {
226 "type": "post",
227 "id": "7243200099988877766",
228 "linkedinUrl": "https://www.linkedin.com/posts/pipeline-pros-example_activity-7243200099988877766",
229 "content": "Looking for a better way to track deals? Our CRM templates for small teams are free this week. Grab yours and tell us what you think.",
230 "author": {
231 "universalName": "pipeline-pros-example",
232 "type": "company",
233 "name": "Pipeline Pros",
234 "linkedinUrl": "https://www.linkedin.com/company/pipeline-pros-example/",
235 "info": "1,204 followers",
236 },
237 "postedAt": {
238 "postedAgoShort": "12h",
239 "postedAgoText": "12 hours ago",
240 },
241 "engagement": {
242 "likes": 14,
243 "comments": 1,
244 "shares": 2,
245 },
246 },
247 {
248 "type": "post",
249 "id": "7243981127765409792",
250 "linkedinUrl": "https://www.linkedin.com/posts/maya-lindqvist-example_activity-7243981127765409792",
251 "content": "Can anyone recommend a CRM for a 20-person sales team? We've outgrown spreadsheets and need something live by end of Q4. Budget is flexible for the right fit. Who do you use for pipeline tracking?",
252 "author": {
253 "publicIdentifier": "maya-lindqvist-example",
254 "type": "profile",
255 "name": "Maya Lindqvist",
256 "linkedinUrl": "https://www.linkedin.com/in/maya-lindqvist-example",
257 "info": "Co-founder & CEO at Northwind Analytics | ex-Google",
258 },
259 "postedAt": {
260 "postedAgoShort": "3h",
261 "postedAgoText": "3 hours ago",
262 },
263 "engagement": {
264 "likes": 41,
265 "comments": 27,
266 "shares": 2,
267 },
268 "query": { "search": "who do you use for CRM" },
269 },
270 {
271 "type": "post",
272 "id": "7243100088877766655",
273 "linkedinUrl": "https://www.linkedin.com/posts/rachel-stone-example_activity-7243100088877766655",
274 "content": "Anyone looking for a CRM for a small team this quarter? Happy to walk you through what the smallest plans include and how teams of 5 to 50 get started.",
275 "author": {
276 "publicIdentifier": "rachel-stone-example",
277 "type": "profile",
278 "name": "Rachel Stone",
279 "linkedinUrl": "https://www.linkedin.com/in/rachel-stone-example",
280 "info": "Account Executive at HubSpot",
281 },
282 "postedAt": {
283 "postedAgoShort": "1d",
284 "postedAgoText": "1 day ago",
285 },
286 "engagement": {
287 "likes": 7,
288 "comments": 4,
289 "shares": 0,
290 },
291 },
292 ],
293}
294
295
296run = client.actor("rich_minds/linkedin-intent-leads").call(run_input=run_input)
297
298
299print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
300for item in client.dataset(run.default_dataset_id).iterate_items():
301 print(item)
302
303