Google Sheets is a cloud-based spreadsheet tool that supports data organization, analysis, and collaboration.
Integrating your application with Google Sheets revolutionises data management, offering powerful spreadsheet functionality for streamlined organisation, analysis, and collaboration.
Authentication
Ensure you have the following information ready for a seamless integration process:
Connection Name: Select a descriptive name for your connection, like "MyAppsheetsIntegration". This helps easily identify the connection within your application or integration settings.Authentication Type: Google Sheets supports service accounts and OAuth authentication for server-to-server integrations. This would allow admins to take actions within Google Sheets without user interference.
Service Account
Create a service account by following these steps.
Add domain-level access to the service account (based on client ID) by following these steps.
Ensure that the following scopes are added to your service account and domain-level access:
Use the service account email, private key, and a sample user email to authenticate the connection.
.png&w=1080&q=75)
.png)
OAuth
Press the
Authorizebutton. You'll be redirected to a Google sign-in page.If you're not already logged into Google, enter your Google account credentials.
Google will display a permissions request screen. You'll see our app name and the specific Google services we request access to (e.g., Google Drive and Google Sheets).
Carefully review the permissions we're asking for. If you're comfortable with the permissions, click the "
Allow" or "Grant Access" button.After granting access, you'll be automatically redirected back to our platform. You should see a confirmation message that your Google account is now connected.
.png&w=1080&q=75)
.png)
Actions
| Action Name | Description |
Add multiple rows | Adds multiple rows to a sheet in Google Sheets |
Add a row | Adds a row to the specified sheet in Google Sheets |
Copy sheet | Copies a sheet from one Google Sheet to another |
Create sheet | Creates a new sheet in Google Sheets |
Create column | Creates a new column in Google Sheets |
Create spreadsheet | Creates a new spreadsheet in Google Sheets |
Delete a row | Deletes a row in a sheet in Google Sheets |
Get rows | Gets rows from a spreadsheet in Google Sheets |
Get spreadsheet metadata | Gets metadata for spreadsheet in Google Sheets |
Search rows | Search rows in a sheet in Google Sheets |
Update a row | Updates a row in a sheet in Google Sheets |
Update rows | Updates rows in a sheet in Google Sheets |
Triggers
| Trigger Name | Description |
New row in sheet in My Drive | Triggers when a row is added to a sheet in your My Drive |
New row in sheet in My Drive (Real-time) | Triggers when a row is added to a sheet in your My Drive, in real-time |
New row in sheet in Team Drive | Triggers when a row is added to a sheet in a Team Drive |
New/updated row in sheet in My Drive | Triggers when a row is added or updated in a sheet in your My Drive |
New/updated row in sheet in My Drive (Real-time) | Triggers when a row is added or updated in a sheet in your My Drive, in real-time |
New/updated row in sheet in Team Drive | Triggers when a row is added or updated in a sheet in a Team Drive. |