1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = { "items": [{
9 "decision": "Should our SaaS company build or buy customer support automation?",
10 "context": "12-person company; $20k budget; launch in 8 weeks; two engineers; EU customers.",
11 "candidates": [
12 "Build in-house",
13 "Buy a managed platform",
14 ],
15 "priorities": [
16 "Launch speed",
17 "Total cost",
18 "EU data handling",
19 "Maintenance burden",
20 ],
21 }] }
22
23
24run = client.actor("physealabs/decision-framer").call(run_input=run_input)
25
26
27print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
28for item in client.dataset(run.default_dataset_id).iterate_items():
29 print(item)
30
31