Google Drive
The files the connecting person can see, and the ones StoriBot makes. Reads, writes limited to its own files, and deletes and shares that cannot be undone.
| Connects with | A Google sign-in |
| Reads | 12 operations |
| Writes | 7 operations, each granted separately |
| Irreversible | 7 operations, granted separately |
| Personal data | File content, names, and the email addresses of people a file is shared with. |
| Data stays in | AWS Sydney (ap-southeast-2) |
What it reads
Section titled “What it reads”- The account and its storage, and files and their metadata.
- A Google file as text, or a copy of a file saved into the workspace.
- Revisions, changes since a point in time, shared drives, who can reach a file, and comments.
What it does not read
Section titled “What it does not read”Only files the connecting person can already see. StoriBot reads no file the sign-in has not been given, and the metadata read returns a file’s details, not its contents.
What it writes
Section titled “What it writes”Each of these is a separate operation you grant or withhold. Writes reach only the files StoriBot made or copied; anything else is refused.
- Create a folder, an empty Google file, or a shortcut.
- Upload a file. This returns an upload link that needs no sign-in.
- Copy a file.
- Rename, describe, move or trash a file, or replace its content. Only on files StoriBot made or copied.
- Add a comment or a reply.
Irreversible operations
Section titled “Irreversible operations”Granted separately, and only where StoriBot may act unattended.
- Delete a file. This is permanent and skips the trash.
- Empty the trash.
- Share a file. This can make it public to anyone with the link, email people, or give away ownership.
- Change a permission, which can raise someone’s access or transfer ownership, or remove the connection’s own access.
- Delete a comment or a reply.
The write scope confines StoriBot to files it made or copied, and anything else returns a 403. Emptying the trash needs the full Drive scope, and granting it lets every other ticked write touch any file the sign-in can change. A comment can mention someone by email, which sends mail that cannot be recalled.
How you connect it
Section titled “How you connect it”Connect with a Google sign-in. Under Settings, then Integrations, choose Connect on Google Drive, tick the operations StoriBot may use, and approve at Google signed in as yourself. Google grants only the operations you ticked. There are no keys to copy.
What StoriBot will ask for
Section titled “What StoriBot will ask for”Nothing to type. StoriBot sends you to Google’s consent screen; approve there. You can untick any operation before you do, and Google grants only what you leave ticked.
Limiting what it can reach
Section titled “Limiting what it can reach”StoriBot reaches only the operations you tick, and only what the signed-in Google account can already see. Google has no per-folder limit for reads: allowing a read covers the whole Drive the account can open. To keep the reach small:
- Tick only the operations a job needs.
- Keep Safe Integrations on, so only reads are possible.
- Sign in as an account that can see only what StoriBot should touch.
Writes reach only files StoriBot made or copied, so they cannot change your other files. Emptying the trash is the exception — it needs full Drive access.
To lay out reports from a till or another system in a folder, see Get files from another system into StoriBot.
Every operation
Section titled “Every operation”These are the names shown beside each tick box under Settings, then Integrations, in the order they are listed. Generated from the connector registry; do not edit by hand.
All 26 operations
| Operation | Kind | What it does |
|---|---|---|
get_about |
Read | Read the login’s account details and Drive storage. Google refuses a call with no fields, so name them, e.g. |
list_files |
Read | Lists the files the login can open in My Drive. Shared drive items need includeItemsFromAllDrives and supportsAllDrives true. |
get_file |
Read | Read one file’s record. By default it gives only id, name, mimeType and kind, so name fields, or * for all. |
export_file |
Read | Returns the file as text in the reply, so it fits only a text format such as text/plain or text/csv. A Sheet’s text/csv holds only its first tab, so use download_file for all tabs. |
download_file |
Read | Saves a copy of the file in your workspace, and that copy goes into the Stori on save. response.downloadUri is the file’s workspace path, and the file is already there. |
get_operation |
Read | When a download that download_file started is done, this saves a copy of the file in your workspace, and that copy goes into the Stori on save. response.downloadUri is the file’s workspace path… |
list_revisions |
Read | List a file’s revisions: each one’s id and modifiedTime. revisionId on download_file reads one. |
get_changes_start |
Read | Read startPageToken, the point list_changes starts from. Only changes after this call show up. |
list_changes |
Read | List what changed since a token from get_changes_start or an earlier reply. The last page holds newStartPageToken, the start point for next time. |
list_shared_drives |
Read | List the shared drives the login is in: each one’s id and name. useDomainAdminAccess lists the whole domain’s, for a Workspace admin. |
list_permissions |
Read | List who can reach a file: each share’s id, type and role by default, so name fields for emailAddress. If you name fields, include nextPageToken, or the next page is lost. |
list_comments |
Read | List a file’s comments. Google refuses a call with no fields, so name them, e.g. |
create_file |
Write | Makes a folder, an empty Google file or a shortcut, by mimeType. parents can name any folder, even one StoriBot did not make. |
upload_file |
Write | Starts an upload and returns location, a link that adds this file to Drive with no login for up to a week. It is meant for your own curl call. |
copy_file |
Write | Makes a copy of a file, even one StoriBot did not make, if the login can copy it. StoriBot can then edit the copy. |
update_file |
Write | Renames, describes, moves or trashes a file StoriBot made or copied. Google answers 403 appNotAuthorizedToFile on any other file, unless empty_trash is also ticked. |
replace_file_content |
Write | Replaces the file’s bytes, on a file StoriBot made or copied, unless empty_trash is also ticked. Drive typically keeps the old bytes for 30 days, and for less time once the file holds 100 revisions. |
create_comment |
Write | A +email mention in content emails that person, and an email cannot be recalled. Adds a comment to a file. |
create_reply |
Write | A +email mention in content emails that person, and an email cannot be recalled. Adds a reply to a comment. |
delete_file |
Irreversible | The file is deleted for good, skipping the trash. A folder takes everything in it that the login owns. |
empty_trash |
Irreversible | This deletes every trashed file for good, on the whole Drive, including files StoriBot did not make. This tick also asks for full Drive access, so every other ticked write tool can then change any… |
share_file |
Irreversible | This can make the file public to anyone with the link, can send mail, and can give away ownership. Returns the new share’s record. |
update_permission |
Irreversible | This can raise someone’s access or give away ownership. Send only the fields that change. |
unshare_file |
Irreversible | This can remove the connected login’s own access, and only the owner can put it back. It takes one share off a file. |
delete_comment |
Irreversible | The comment is deleted for good. Returns nothing. |
delete_reply |
Irreversible | The reply is deleted for good. Returns nothing. |