1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "cvText": "Jordan Perez | Lima, Peru | jordan.perez@email.com | +51 999 999 999. Operations analyst with 3 years coordinating cross-functional projects, mapping processes, and implementing KPI dashboards that cut cycle times by 18%. Led inventory reconciliation across 12 retail stores (23% fewer discrepancies) and aligned IT, finance, and warehouse teams on order fulfillment SLAs. BBA, Universidad del Pacífico (2019).",
12 "jobTitle": "Operations Manager",
13 "jobDescription": "We are looking for an Operations Manager experienced in cross-functional leadership, process optimization, and delivering measurable cost reductions. The role coordinates initiatives across teams, implements KPIs, and drives continuous improvement.",
14 "tone": "professional",
15 "formatStyle": "hybrid",
16 "keywords": [
17 "process optimization",
18 "cross-functional leadership",
19 "cost reduction"
20 ],
21 "creativityLevel": "balanced"
22};
23
24
25const run = await client.actor("parseforge/cv-optimizer").call(input);
26
27
28console.log('Results from dataset');
29console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
30const { items } = await client.dataset(run.defaultDatasetId).listItems();
31items.forEach((item) => {
32 console.dir(item);
33});
34
35