Create and check Office documents

Oda's Office skills build Word, Excel and PowerPoint files in your workspace, and check a finished file before you open it. This page covers what the skills make, what each check confirms, and what the check cannot tell you.

Build a Word, Excel or PowerPoint file

  1. Describe the result you want, including the layout, for example a Word report with a summary table on page one or a twelve-slide deck for the monthly review.
  2. Oda builds the file in your workspace from the bundled Office skill for that format: office-docx for Word, office-pptx for PowerPoint and office-xlsx for Excel. If the file needs your company's data, get the numbers into the chat first.
  3. The finished file appears as a card at the end of Oda's answer: Preview in sidebar opens it in the side panel, and the file's own app opens it there.

Each skill brings the rules for its kind of file: reports, letters and formatted tables in Word; slide decks with text, tables, images and charts in PowerPoint; workbooks with cell values, formulas and formatting in Excel. The user-level flow, from asking for a file to receiving it, is in Company data, documents and reports, and the skills that ship with Oda are in Bundled skills.

Check a finished file

Oda can check a finished file before you open it. Ask in the chat, for example Check that the report contains the payment terms or Check that the presentation has 12 slides.

The check is read-only: it reads the file's structure, never changes the file and never renders it. It covers Word, Excel and PowerPoint files (.docx, .pptx and .xlsx) and reports these checks:

CheckWhat it confirms
packageThe file is a readable Office package, and its parts and relationships are present.
containsThe text you asked it to find is in the file, as a text presence check (--contains TEXT).
countThe number of slides or sheets, when you ask for a count (--count N).
outputThe check's report was saved.

Read the check report

The check answers with a report: a verdict of pass or fail, the individual checks with their statuses, and a summary of what the file contains.

A wrong request is refused with a message that names the rule behind it:

What the check cannot tell you

The check is structural, so it does not judge:

Important

A passing check says the file's structure and text are in order. Open the file to see how it looks.

Where the check's Python comes from

The check runs on Oda's bundled runtime, not on software already installed on your computer. It needs Python 3.9 or later, and it uses only the Python standard library, so nothing extra is installed for it.

The first document task prepares the runtime, and the chat shows a step called Load workspace dependencies; later tasks reuse it. The details, and what happens if the copy cannot be prepared, are in Bundled Python and Node.js.

Questions, answered

Can Oda check a file I already have?

Yes. Name the file, or mention it with @, and ask for the check. The check reads the file as it is and never changes it.

Which files can be checked?

Word, Excel and PowerPoint files: .docx, .pptx and .xlsx. Older, encrypted and macro-enabled files need their own workflow, and renaming a file does not convert it, so save or export the file as a modern format first.

Can the check tell me how the document looks?

No. The check is structural and never renders the file: pagination, clipped text, fonts and chart appearance are outside it. Open the file to see the result.

Can the check count something in a Word document?

No. Counting applies to slides or sheets only, and a request to count a Word file is refused with --count must be non-negative and applies only to slides or sheets.

Does the check evaluate Excel formulas?

No. The report records formulas_evaluated: False. A formula cell can look empty or stale in another tool until the workbook is opened and recalculated in Excel.

Where does the check save its report?

In a file of its own, separate from the document. The check never writes over the file it reads, and a request that would do so is refused with --out must differ from the input document.

Does the check need Python installed?

No. The check runs on Oda's bundled runtime, which includes Python 3.9 or later, and nothing is installed into your own setup. See Bundled Python and Node.js.

What happens when a check fails?

The report names the check that failed and what it found. Ask Oda to fix the file and check it again.