ONLYOFFICE Docs icon

ONLYOFFICE Docs

Consume ONLYOFFICE Document Server API (Conversion, Document Builder)

Document Builder → Extract Tables

AI-generated

Summary

Extracts every table from a document reachable by the ONLYOFFICE Document Server and returns its first row as headers, all rows, and the remaining rows as records. Use the records array as row objects in spreadsheet or table generation steps.

Inputs

  • File URL (required) — URL of the input document, reachable from the ONLYOFFICE Document Server. You can use an expression such as {{ $json.outputUrl }} to pass a URL from a previous Document Builder step.

Output shape

A list of items, one per table; each item contains tableIndex, headers, rows, and records.

The first row of each table is treated as headers and excluded from records. Blank headers become col_<index> keys; missing or empty cell values in records become empty strings. If there are no tables, the operation returns one item with an empty JSON object.

Links

Discussion