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
- Store your API key in
DOCONDA_API_KEYand install the SDK (pip install docondaornpm install @doconda/sdk). - Upload the Excel file with
files.upload. - Ask for the change, read the report and download the
.xlsx.
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)): inchanges, each cell that was added, changed or removed, with its before and after. status:readyorfailed. Failed edits are not charged.
Limits and price
- Up to 50 pages. A
.xlsis accepted and comes back as.xlsx. - An edit costs €0.10 at
fast, €0.30 atstandardand €1.00 atbest. By default (quality: "auto") Doconda picks the level the change needs. See pricing.
FAQ
Why not let the model rewrite the sheet?
Why not let the model rewrite the sheet?
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.Can I fix formula errors with it?
Can I fix formula errors with it?
Yes. Say what to fix (“fix the formulas that give #REF!”); only that changes.
What about a new Excel file with formulas?
What about a new Excel file with formulas?
Create it with
format: "xlsx" and a prompt. See
Excel with formulas from an LLM.Related
- Edit: every option for editing a file.
- Excel agent API: give your agent the tools to create and edit workbooks.