1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "markdown": `# Q3 2026 Business Review
12Northwind Studio · prepared for the board
13
14## Highlights
15- Revenue grew **18%** year over year to $4.2M
16- Two new enterprise clients: Blue Fern Cafe and Atlas Freight
17- Gross margin up 3 points to 61%
18 - Mostly from lower hosting costs
19- Hired 4 engineers and 1 designer
20
21Notes: Open with the revenue number, then the two client wins.
22
23## Key numbers
24```stats
25$4.2M | Revenue
2661% | Gross margin
27118% | Net revenue retention
2842 | Customers
29```
30
31## Revenue by quarter ($M)
32```chart
33type: column
34format: 0.0
35dataLabels: true
36Quarter,2025,2026
37Q1,2.9,3.4
38Q2,3.1,3.8
39Q3,3.6,4.2
40```
41
42## Pipeline
43| Stage | Deals | Value |
44|---|---|---|
45| Qualified | 34 | $2.1M |
46| Proposal | 12 | $1.4M |
47| Negotiation | 5 | $0.9M |
48| Closed won | 9 | $1.2M |
49
50## What went well, what to fix
51### Went well
52- Enterprise deals closed in 41 days, down from 63
53- Churn fell to 0.8% a month
54|||
55### To fix
56- Onboarding still takes 6 weeks
57- Support backlog doubled in August
58
59---
60> The question is not whether we grow, but how fast we can hire.
61> — Ana Lee, CEO
62
63# Next steps
64Hire, ship onboarding v2, open the Chicago office`
65};
66
67
68const run = await client.actor("jumblemog/pptx-deck-builder").call(input);
69
70
71console.log('Results from dataset');
72console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
73const { items } = await client.dataset(run.defaultDatasetId).listItems();
74items.forEach((item) => {
75 console.dir(item);
76});
77
78