Overview
Add Google Drive to any ModuleX agent or workflow. Google Workspace integration via the v3 (Drive) / v1 (Docs, Slides) / v4 (Sheets) REST APIs. Pure HTTP, no SDK dep. 16 actions.Authentication
- OAuth2
- Service Account / Access Token
OAuth2 Authentication
Connect using Google OAuth2 (recommended). Provides secure access to Drive, Docs, Sheets, and Slides.Required Credentials
OAuth Configuration
- Authorization URL:
https://accounts.google.com/o/oauth2/v2/auth - Token URL:
https://oauth2.googleapis.com/token - Scopes:
https://www.googleapis.com/auth/drive.file,https://www.googleapis.com/auth/documents,https://www.googleapis.com/auth/spreadsheets,https://www.googleapis.com/auth/presentations
Available Actions
create_text_file — Create a plain text (.txt) or markdown (.md) file via multipart upload
create_text_file — Create a plain text (.txt) or markdown (.md) file via multipart upload
update_text_file — Replace a text file's content via media upload; optionally rename in a follow-up call
update_text_file — Replace a text file's content via media upload; optionally rename in a follow-up call
create_folder — Create a folder
create_folder — Create a folder
create_google_doc — Create a Google Doc (Drive create + optional Docs batchUpdate to insert content)
create_google_doc — Create a Google Doc (Drive create + optional Docs batchUpdate to insert content)
read_google_doc — Read full text content from a Google Doc
read_google_doc — Read full text content from a Google Doc
update_google_doc — Replace all content (read end-index, deleteContentRange, insertText)
update_google_doc — Replace all content (read end-index, deleteContentRange, insertText)
append_to_google_doc — Append content at the end of a doc
append_to_google_doc — Append content at the end of a doc
create_google_sheet — Create a Sheet (Sheets API create + optional Drive PATCH to move + optional Sheets API values write)
create_google_sheet — Create a Sheet (Sheets API create + optional Drive PATCH to move + optional Sheets API values write)
read_google_sheet — Read values from a range (resolves localized sheet name via /spreadsheets?fields=sheets.properties.title)
read_google_sheet — Read values from a range (resolves localized sheet name via /spreadsheets?fields=sheets.properties.title)
update_google_sheet — PUT values into an A1 range
update_google_sheet — PUT values into an A1 range
format_sheet_cells — Format cells (background color + horizontal/vertical alignment) — converts A1 to GridRange
format_sheet_cells — Format cells (background color + horizontal/vertical alignment) — converts A1 to GridRange
format_sheet_text — Format text in cells (bold/italic/font_size/color)
format_sheet_text — Format text in cells (bold/italic/font_size/color)
create_google_slides — Create a blank Slides presentation (+ optional move)
create_google_slides — Create a blank Slides presentation (+ optional move)
read_google_slides — Read slide metadata + extract text + placeholder IDs from each slide
read_google_slides — Read slide metadata + extract text + placeholder IDs from each slide
add_slide — Add a slide with the given predefined layout
add_slide — Add a slide with the given predefined layout