{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "lianghsun-open-sheet--batch-workbooks-from-data",
 "repo": "lianghsun/open-sheet",
 "repo_url": "https://github.com/lianghsun/open-sheet",
 "repo_slug": "lianghsun-open-sheet",
 "title": "Generate a live workbook for every record in a batch",
 "page_title": "How to generate a live workbook for every record in a batch with Open Sheet",
 "summary": "Turn each row of incoming data into its own .xlsx, with formulas kept rather than baked values.",
 "who": "An operations or finance lead who receives hundreds of invoices or monthly packs from a data pipeline.",
 "problem": "Hand-building or editing each file does not scale, and workbooks with baked numbers hide the logic behind them.",
 "outcome": "One rebuilt .xlsx per record, each with live formulas, regenerated whenever the source data changes.",
 "steps": [
  "`npx @open-sheet/cli init my-sheets`",
  "`cd my-sheets && npm install`",
  "Write one sheet source file whose data array is filled from your pipeline's records.",
  "`npm run dev` and check one generated sheet in the viewer.",
  "Run the export once per record and store each `.xlsx` in your output folder. (inferred, check the README)"
 ],
 "agent_prompt": "Using the open-sheet repo at <project path>, create a sheet template that reads the rows in <input file> and exports one .xlsx per row to <output folder>. Each file must keep its formulas instead of values. Verify that the number of exported files equals the number of input rows and that formula cells remain formulas in one sample file.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "60 minutes",
 "basis": "readme",
 "caveat": "The README does not describe a batch export command, so confirm how per-record export works in the source before automating it.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "typescript",
 "requirements": [
  "Node",
  "npm or pnpm",
  "A coding agent or text editor",
  "A local dev server to preview the sheet"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/lianghsun-open-sheet/batch-workbooks-from-data/",
 "md": "https://dedupedai.com/use-cases/lianghsun-open-sheet/batch-workbooks-from-data/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/lianghsun-open-sheet--batch-workbooks-from-data.json",
 "api_version": "v1"
}
