Building with MirraScriptsEvents Reference
Google Sheets Events
Automate workflows based on spreadsheet changes
Google Sheets events fire when spreadsheets are updated in your connected Google Drive. These events capture spreadsheet metadata and modification times.
Event Types
google-sheets.spreadsheet_updated
The google-sheets.spreadsheet_updated event fires when a Google Sheets spreadsheet is updated.
Event Type:
Fields:
content.text(string)Spreadsheet title.
sheets.spreadsheetId(string)Google Sheets spreadsheet ID.
sheets.title(string)Spreadsheet title.
sheets.sheetCount(number)Number of sheets in the spreadsheet.
sheets.webViewLink(string | null)URL to view the spreadsheet in Google Sheets.
sheets.lastModifiedTime(Date | null)When the spreadsheet was last modified.
Example - Spreadsheet Update Notification:
Example - Change Logger:
Subscription Examples:
See Also
- Events Overview - Event system architecture
- Google Drive Events - File updates
- Resources - Google Sheets adapter API