1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "companies": [
12 "stripe.com",
13 "linear.app",
14 "palantir.com"
15 ],
16 "excludeKeywords": [
17 "intern"
18 ],
19 "signals": {
20 "leadership-hire": [
21 "vp",
22 "vice president",
23 "head of",
24 "director",
25 "chief"
26 ],
27 "security": [
28 "security",
29 "ciso",
30 "soc 2",
31 "compliance",
32 "grc"
33 ],
34 "data-ai": [
35 "data engineer",
36 "machine learning",
37 "ml engineer",
38 "ai engineer",
39 "data scientist",
40 "analytics engineer"
41 ],
42 "sales-expansion": [
43 "account executive",
44 "sales development",
45 "sdr",
46 "bdr",
47 "sales manager"
48 ],
49 "revops-crm": [
50 "revops",
51 "revenue operations",
52 "salesforce",
53 "hubspot",
54 "crm"
55 ]
56 }
57};
58
59
60const run = await client.actor("signalyard/hiring-signal-monitor").call(input);
61
62
63console.log('Results from dataset');
64console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
65const { items } = await client.dataset(run.defaultDatasetId).listItems();
66items.forEach((item) => {
67 console.dir(item);
68});
69
70