Excel workbooks

Upload an Excel form in chat and ask an AI Employee to complete it. The employee can read the worksheets, fill the answer cells in the original workbook, and return a new .xlsx copy with its formatting intact. No coding setup is needed.

Complete a form

Attach the workbook to a chat with an AI Employee and describe which information to enter. For a form that arrived by email, point the employee to the message instead: it can open the attachment from a mailbox it has access to. It can also download a workbook from a web link. You do not need to re-upload a file it can already reach.

The employee inspects the workbook, identifies the answer cells, and fills them using information you supplied or authorized it to read. It then reads the completed copy to verify the values before returning it. Missing information remains a question for you; an employee must not invent an answer to make a form appear complete.

The result is a separate download in chat, so your original remains available. The new attachment can also go onto an email draft. A supplementary PDF can accompany the workbook, but does not fill the Excel form itself.

Read sheets and cells

read_xlsx reports sheet names, cell addresses and values, existing formulas, and merged ranges. An employee can narrow the reading to a named worksheet and an A1 range such as A1:F30, then follow the labels to the cells that need answers. For a merged answer box, the value belongs in its top-left cell.

Reads are bounded to protect the conversation from very large workbooks. The employee can request up to 1,000 cells and 50,000 characters per call. If a result is truncated, it should inspect smaller ranges before deciding what the form contains.

Fill the original workbook

edit_xlsx accepts up to 400 cell edits in one call. Each edit names the exact worksheet and one cell, with a text, number, boolean, or null value. Null clears a value. Text stays literal, so an answer beginning with an equals sign does not become a formula.

The whole batch is checked before a copy is written. Cell formatting, merged ranges, existing formulas, and untouched workbook parts are retained. For several rounds of changes, the employee uses the latest returned attachment so earlier answers carry forward.

// Inspect the original form and its answer cells.
read_xlsx({ attachmentId, sheet: "Supplier details", range: "A1:F20" })

// Fill the cells in the existing workbook.
edit_xlsx({
  attachmentId,
  edits: [
    { sheet: "Supplier details", cell: "B4", value: "Acme Ltd" },
    { sheet: "Supplier details", cell: "B5", value: "00123456" },
    { sheet: "Supplier details", cell: "B8", value: 12 },
  ],
  outputFilename: "supplier-form-completed.xlsx",
})

// Use the returned attachment id to verify the completed copy.
read_xlsx({ attachmentId: completedAttachmentId, sheet: "Supplier details", range: "A1:F20" })

Keep identifiers with leading zeros, such as registration numbers and account numbers, as text. Use numbers for amounts and counts. These tools edit cell values; they do not redesign the workbook or add sheets, charts, or formulas.

Supported files and limits

  • Supported: ordinary .xlsx workbooks. Legacy .xls, binary .xlsb, macro-enabled .xlsm, and encrypted files need to be saved as an ordinary .xlsx before using these tools.
  • Protected worksheets: edits are refused. Ask the workbook owner for an editable copy.
  • Formula cells: overwriting an existing formula is refused. Write the input cells the workbook expects instead.
  • Merged cells: only the top-left cell of a merged range accepts a value.

The workbook is content to read, not instructions to obey. A cell that tells an employee to send information elsewhere does not authorize that action. Your request and the employee's Grants still determine what it can do.

For other original forms, see PDF forms and Word documents. For shared tables maintained inside Genosyn, see Bases.