// PART 04
Import and export
Moving data in and out of General Bots is ordinary file work: Drive stores the bytes, the apps read and write the formats they understand, and the assistant can orchestrate the same operations from chat. This page is the format reference.
Sheets formats
| Format | Import | Export | Notes |
|---|---|---|---|
| CSV | Available | Available | Exported values are unformatted |
| TSV | Available | Available | — |
| JSON | Available | Available | Internal document shape |
.xlsx |
Partial | Partial | Values, formulas, number formats, styles, merges, widths/heights, frozen panes, hidden rows/columns, defined names, sheet protection, tables, autofilter, hyperlinks, images, validation, conditional formatting, rich text, comments, print setup and external links are read. Pivot tables are dropped from the model — preserved byte-for-byte on save, not rendered |
.xls / .xlsb |
Partial | — | Values, typed cells and formulas only (styles, merges, charts and layout are not read) |
| Markdown | — | Available | — |
| — | Available | Real PDF 1.4 — one page set per worksheet, repeated header row | |
| ODS | — | Available | Complete ODF package |
The Export menu offers CSV, XLSX, Markdown, ODS, PDF, HTML and JSON. Opening an .xlsx from Drive is non-destructive: only edited cells are rewritten.
Docs formats
The Export menu downloads the active document as DOCX, ODT, PDF, HTML, Markdown or plain text; if the document has no stored copy, the editor content is exported. Every format is authorised against the document’s access role before content loads.
Database
| Direction | How |
|---|---|
| Import CSV | Upload and map columns to the target table |
| Export CSV | Download table data or query results, with comma/semicolon/tab delimiters |
People
| Format | Import | Export |
|---|---|---|
| CSV | Yes | Yes |
| vCard | Yes | Yes |
| Excel | Yes | Yes |
| JSON | Yes | Yes |
| LDIF | Yes | No |
Paper
Markdown, HTML and plain-text exports are written to users/{owner}/exports/ in Drive; PDF and DOCX export are placeholders that produce no file.
Drive as the interchange
Everything above lands in Drive, which speaks S3 — so standard tools (rclone, Cyberduck, WinSCP, any S3 client) sync files in and out without going through the UI. Desktop file sync can bisync a local folder with Drive continuously.
From chat
Ask the assistant: “import inbox/data.csv into a spreadsheet” runs sheet.import, “export the Q3 report as PDF” runs docs.export, and generated files come back as attachment cards with Download. The export verbs return files rather than opening editors.
Rules of thumb
- CSV for interchange with other systems; XLSX when formatting matters and the reader opens it in Sheets.
- Check the Notes column above before promising a round-trip: pivot tables and
.xlsstyling do not survive into the model. - Export and open the file in a desktop office application before treating it as final for external audiences.