Google Sheets
Connect the spreadsheets your actions, jobs and Copilot work with, and confirm each one with a short code.
Connect a spreadsheet to let your Python helpers, recurring jobs, actions and Copilot read and update it. Connections belong to your organization, so every business in it can use them. Adding a sheet takes about a minute.
You need permission to edit integrations. Open Settings -> Integrations -> Google Sheets, or ask Copilot, for example "connect our returns spreadsheet". Copilot walks you through the same steps.
Add a spreadsheet
-
Paste the link. Copy the spreadsheet's address from your browser (
https://docs.google.com/spreadsheets/d/...), or just its ID, and select Continue. Links to Google Docs, Drive folders or Excel files don't work. -
Share it with Octocom. In Google Sheets, select Share and add Octocom's Google account as an Editor. You can untick "Notify people".
octocom-google-sheets@octocom.iam.gserviceaccount.com -
Confirm the code. Octocom adds a temporary tab named Octocom verification with a 4-digit code. Open the sheet, type the code in Octocom and select Confirm. Octocom removes the tab as soon as you confirm, or after 15 minutes.
The code shows that you can open the spreadsheet yourself, so nobody can connect a sheet that belongs to someone else.
Read-only spreadsheets
If you share the spreadsheet as Viewer, Octocom can't add the tab. Octocom shows you a code instead:
- Add a tab named exactly Octocom verification to the spreadsheet.
- Type the code in cell A1 of that tab and select Check.
The spreadsheet is then connected read only: helpers can read it but not write to it. You can delete the tab afterwards. To allow writes later, share it as Editor, remove it in Octocom and add it again.
If something goes wrong
- Octocom can't open this spreadsheet yet. Check that it's shared with the address above and that the link is right. Google can take a minute to apply new sharing. For privacy, Octocom shows the same message for every reason it can't connect a sheet.
- Wrong code. Each code allows 5 tries and lasts 15 minutes. Select Write a new code to get another one.
- Too many wrong tries. After 10 wrong codes for one spreadsheet in a day, try again the next day or contact Octocom support.
- A spreadsheet several organizations use, such as one shared by sister brands or an agency, can only be connected once by self-service. Contact Octocom support to connect it to more organizations.
The list of spreadsheets
The window lists each connected spreadsheet with its tabs, when your automations last used it (within 30 days) and who added it. Spreadsheets connected before verification existed show "Connected before verification". A red mark means Octocom couldn't open the spreadsheet on its last daily check: share it with Octocom again.
Select a spreadsheet to open it in Google Sheets. Its menu copies the spreadsheet ID or removes the connection.
Remove a spreadsheet
Removing a spreadsheet disconnects it from Octocom. Actions, jobs and Copilot that use it stop working until you add it again. The spreadsheet and its data stay in Google Drive. To remove Octocom's Google access too, unshare it in Google Sheets.
Automate it
The same steps are available to agents and integrations:
| Step | MCP / Copilot tool | REST API |
|---|---|---|
| List | list_google_sheets | GET /rest/v1/google-sheets |
| Start (add code) | start_google_sheet_verification | POST /rest/v1/google-sheets/verifications |
| Write a new code | start_google_sheet_verification | POST /rest/v1/google-sheets/verifications/{id}/rewrite |
| Confirm | confirm_google_sheet_verification | POST /rest/v1/google-sheets/verifications/{id}/confirm |
| Remove | remove_google_sheet | DELETE /rest/v1/google-sheets/{spreadsheetId} |
REST calls need an API key with the Integrations permission. A person still reads or types the code: Python automations can't connect spreadsheets, and nothing that runs as your organization can read the Octocom verification tab.