Google Drive
Upload files, create folders, and manage content in Google Drive. In Appbricx, your workflows and server functions call it by name once it is connected.
What you can do
16 actions, each one call from a workflow or a server function. Triggers come from your app: a row changing, a schedule or a webhook.
- List filesList files from a Google Drive folder
list-files - Read File ContentRead a selected file from google drive file
read-file - SearchSearch a Google Drive folder for files/sub-folders
search-folder - Create new fileCreate a new text file in your Google Drive from text
create_new_gdrive_file - Create new folderCreate a new empty folder in your Google Drive
create_new_gdrive_folder - Delete fileDelete permanently a file from your Google Drive
delete_gdrive_file - Delete permissionsRemoves a role from an user for a file or folder
delete_permissions - Duplicate FileDuplicate a file from Google Drive. Returns the new file ID.
duplicate_file - Get File InformationGet a file folder for files/sub-folders
get-file-or-folder-by-id - Move FileMoves a file from one folder to another.
google-drive-move-file - Save Document as PDFSave a document as PDF in a Google Drive folder
save_file_as_pdf - Set public accessSet public access for a file or folder
set_public_access
Set it up
About two minutes, once per project or once for the whole workspace.
- Open Integrations in the builder
Backend panel, Integrations tab, then Google Drive. To connect it for every project, use Workspace settings, Integrations.
- Sign in to Google Drive
You sign in to Google Drive and approve access. Appbricx keeps the tokens, encrypted, and refreshes them.
https://www.googleapis.com/auth/drive
This uses an OAuth app: the platform's, or your own from the admin panel, and you can bring your own credentials.
- Call an action
From a workflow, by integration id and action name. The call answers with success, output and, when it fails, the reason.
Workflow // .workflow.js (native ctx) export async function run(ctx) { const res = await ctx.integrations.invoke("google_drive", "list-files", { "folderId": "<folder id>" }); if (!res.success) throw new Error(res.error); ctx.log.info("Google Drive answered", { output: res.output }); }
More in Productivity
Google Drive and its logo are trademarks of their owner, shown only to identify the service this integration connects to. Their use does not imply endorsement by, or affiliation with, that company.