Skip to main content
Excel tools provide comprehensive functionality for working with Excel files (.xlsx). You can create new files from array data, read data, update cells, retrieve specific rows, extract embedded images, and manipulate Excel files from URLs.
  • EXCEL_CREATE
    • Create a new Excel file from a 2D array and return a download URL
  • EXCEL_GET_ROWS
    • Retrieve multiple rows from an Excel sheet as a 2D array, optionally limited to a range (e.g. “A1:C10”)
  • EXCEL_GET_ROW
    • Get a single row from an Excel sheet using a range (e.g. “A5:C5”)
  • EXCEL_GET_CELL_WITH_COORDINATE
    • Get cell values with their coordinates from a range defined by a start cell and an end cell
  • EXCEL_GET_IMAGES
    • Extract images embedded in an Excel file, with their sheet name and cell range
  • EXCEL_UPDATE
    • Update Excel file with new data using range selection
  • EXCEL_UPDATE_BY_COORDINATE
    • Update specific cells using coordinate-based positioning
No authentication required. Excel tools work directly with file URLs.

Create an Excel file

The result is a URL to download the created Excel file.

Read rows, cells, and images

EXCEL_GET_ROWS returns the cell values as a 2D array in result, and EXCEL_GET_ROW returns a single row as an array. EXCEL_GET_CELL_WITH_COORDINATE returns an array of {coordinate, content} objects for each cell in the range from startCell to endCell. EXCEL_GET_IMAGES returns a URL, file extension, MIME type, sheet name, and covered cell range for each extracted image, plus the total image count. The workbook may be at most 30 MiB, and it must expand to no more than 256 MiB once unzipped; a larger or malformed workbook returns an ExcelTooLargeError error instead of images.

Update cells

calculate_total stands for an earlier step in your flow; its result is assumed to contain the computed total in sum.

Example: Excel Data Processing Workflow

Tips and Best Practices

  • Always specify the sheet name to avoid working with the wrong sheet
  • Use coordinate notation (A1, B2, etc.) for precise cell references
  • When updating ranges, ensure your data array dimensions match the specified range
  • For large datasets, consider processing data in chunks to avoid timeouts
  • Validate data format before updating Excel files to prevent errors

Notes

  • A single read covers at most 1,000,000 cells. This applies to the range of EXCEL_GET_ROWS and EXCEL_GET_ROW and to the startCell–endCell rectangle of EXCEL_GET_CELL_WITH_COORDINATE; A1:ALL1000 (1,000 rows × 1,000 columns) fits, while a larger rectangle — including a whole-sheet range such as A1:XFD1048576 — fails with an error that names the range and the limit. Read a smaller range, or read the sheet in several steps.
  • A range — or the startCell / endCell of EXCEL_GET_CELL_WITH_COORDINATE — that cannot be parsed as a cell range (for example not-a-range) now fails with an Invalid cell range error instead of returning an empty result.
  • EXCEL_GET_ROWS without range reads the sheet’s own dimension when it fits the limit, so the output is unchanged for ordinary files. If the sheet declares a larger dimension than its cells use, only the rectangle that actually holds cells is read; a sheet whose cells alone exceed the limit must be read with an explicit range.
  • EXCEL_GET_ROWS, EXCEL_GET_ROW, EXCEL_GET_CELL_WITH_COORDINATE, EXCEL_UPDATE and EXCEL_UPDATE_BY_COORDINATE check the .xlsx container before parsing it and reject an archive that would expand far beyond its size: more than 10,000 entries, more than 256 MiB in one entry or 1 GiB in total, or — once it expands past 8 MiB — more than 200× its compressed size. EXCEL_UPDATE and EXCEL_UPDATE_BY_COORDINATE additionally reject a file that is not a genuine workbook, including password-protected, encrypted or otherwise malformed archives; the three read tools apply the check to ZIP inputs only and leave other formats to the parser. EXCEL_GET_IMAGES has its own limits, described above.