Skip to main content
Upload the workbook and ask for the change in a sentence with operation: "edit". Doconda changes only what you ask, leaves the rest of the workbook identical, and writes new content as real formulas (=B2-C2), not pre-computed numbers, so the sheet keeps recalculating.

Steps

  1. Store your API key in DOCONDA_API_KEY and install the SDK (pip install doconda or npm install @doconda/sdk).
  2. Upload the Excel file with files.upload.
  3. Ask for the change, read the report and download the .xlsx.
The script prints one line per change (added, changed or removed, with the before and after) and saves the edited workbook.

What you get back

  • The same workbook with the change made with formulas, plus its PDF.
  • The report (documents.report(id)): in changes, each cell that was added, changed or removed, with its before and after.
  • status: ready or failed. Failed edits are not charged.

Limits and price

  • Up to 50 pages. A .xls is accepted and comes back as .xlsx.
  • An edit costs €0.10 at fast, €0.30 at standard and €1.00 at best. By default (quality: "auto") Doconda picks the level the change needs. See pricing.

FAQ

A model tends to return computed values: the sheet looks right but stops recalculating, and formatting is lost. With edit, the rest stays identical and new content goes in as formulas.
Yes. Say what to fix (“fix the formulas that give #REF!”); only that changes.
Create it with format: "xlsx" and a prompt. See Excel with formulas from an LLM.
  • Edit: every option for editing a file.
  • Excel agent API: give your agent the tools to create and edit workbooks.