Export a caller-provided Google Sheet as an XLSX artifact without modifying the source sheet.
Use Cases
Use when the caller supplies a Google Sheets URL or ID and needs workbook data for downstream processing or model preparation.
Automation Flow
- Read the opaque spreadsheet ID from
/spreadsheets/d/{spreadsheet-id}/in the supplied URL. Never fabricate an ID. - Navigate directly to
https://docs.google.com/spreadsheets/d/{spreadsheet-id}/export?format=xlsx. Capture the resulting download artifact or browser download metadata, including any handle needed by a subsequent step. No DOM extraction or editor interaction is needed. - If another format is requested, use
export?format={format}only when the site supports it.
Possible Friction Points
- The export endpoint triggers a browser download rather than an HTML page. Preserve the download handle for downstream use.
- The source sheet remains unchanged. An authenticated browser profile may be needed for access.