Reference
Remy Reference/agent/fetchGoogleSheet
?

fetchGoogleSheet

Fetch contents of a Google Spreadsheet range.
mindstudio.fetchGoogleSheet({ spreadsheetId, range, exportType }) → Result

Fetch contents of a Google Spreadsheet range.

Parameters
spreadsheetId
string
RequiredGoogle Spreadsheet ID (from the spreadsheet URL)
range
string
RequiredCell range in A1 notation (e.g. "Sheet1!A1:C10")
connectionId
string
Google OAuth connection ID
exportType
string
RequiredOutput format: "csv" or "json"
csvjson
Call from a method
import { mindstudio } from '@mindstudio-ai/agent';

const result = await mindstudio.fetchGoogleSheet({
  spreadsheetId: /* ... */,
  range: /* ... */,
  exportType: /* ... */
});