1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "description": "We're a 4-person B2B SaaS startup. CEO does strategy and fundraising. CTO builds the product solo with AI tools. One marketer does content, one ops person handles finance, legal and HR. CEO makes all final calls. Pre-seed, raising a seed round in 6 months, planning to grow to 8-10 people within a year."
12};
13
14
15const run = await client.actor("resomnium/organization-gap-analysis").call(input);
16
17
18console.log('Results from dataset');
19console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
20const { items } = await client.dataset(run.defaultDatasetId).listItems();
21items.forEach((item) => {
22 console.dir(item);
23});
24
25