Work with Google Drive, Sheets, and Docs from your workflows. Read, write, share, comment, and export results securely.
Sheets Operations
Docs Operations
Files and Folders
Collaboration
Exports and Sync
Service Accounts
google_drive
Name | Definition | Format |
---|---|---|
action | Operation to perform. Allowed values include LOGIN , LIST , SET_ROOT_FOLDER , GET_ROOT_FOLDER , GET_FILE_VERSION_NUM , GET_COMMENTS , ADD_COMMENT , ADD_REPLY_TO_COMMENT , GET_SHEET , EDIT_SHEET , GET_LINK_FROM_FILE_ID , GET_FILE_BY_NAME , SAVE_QUERY_RESULTS_TO_G_SHEET , CREATE_SHEET , READ_DOC , CREATE_DOC , APPEND_DOC , UPDATE_DOC , DELETE_FILE , USE_SERVICE_ACCOUNT . | String |
thread_id | Authentication context identifier. Used with LOGIN . | String |
g_folder_id | Folder id for listing or setting root. Used with LIST , SET_ROOT_FOLDER . | String |
g_file_name | Name filter or lookup. Used with LIST , GET_FILE_BY_NAME . | String |
g_file_id | Target file id. Used with GET_FILE_VERSION_NUM , GET_COMMENTS , ADD_COMMENT , ADD_REPLY_TO_COMMENT , GET_SHEET , EDIT_SHEET , READ_DOC , APPEND_DOC , UPDATE_DOC , DELETE_FILE , GET_LINK_FROM_FILE_ID . | String |
g_sheet_cell | A1 notation range. Used with GET_SHEET , EDIT_SHEET . | String |
g_sheet_values | Values to write or comment text. Used with EDIT_SHEET , ADD_COMMENT , ADD_REPLY_TO_COMMENT . | String |
g_doc_title | Document or sheet title for creation. Used with CREATE_DOC , CREATE_SHEET , SAVE_QUERY_RESULTS_TO_G_SHEET . | String |
g_doc_content | Body content to write. Used with APPEND_DOC , UPDATE_DOC . | String |
g_sheet_query | SQL to execute then export to a new Sheet. Used with SAVE_QUERY_RESULTS_TO_G_SHEET . | String |
SAVE_QUERY_RESULTS_TO_G_SHEET
to publish analytics in one step: run SQL, create a Sheet, and return a shareable link.DELETE_FILE
**removes it from Drive. ** Confirm ownership, backups, and sharing expectations before proceeding.LOGIN
for user auth or USE_SERVICE_ACCOUNT
for unattended jobs.LIST
or GET_FILE_BY_NAME
to find targets, or CREATE_SHEET
and CREATE_DOC
to start fresh.EDIT_SHEET
to update ranges, APPEND_DOC
or UPDATE_DOC
to maintain Docs.GET_COMMENTS
, add discussion via ADD_COMMENT
and ADD_REPLY_TO_COMMENT
.GET_LINK_FROM_FILE_ID
and post the link through your notification channel.SAVE_QUERY_RESULTS_TO_G_SHEET
.SET_ROOT_FOLDER
.A1
, A1:B10
, Sheet1!C2:D100
.SAVE_QUERY_RESULTS_TO_G_SHEET
.