BeeGenticResources
Tool guides

Save files to Google Drive

Create, upload, share, move and search Google Drive files from a workflow, or start a workflow when a file changes. Step by step with a narrated video and a real result.

What you'll build: you type a quick summary of a meeting in Chat, an AI writes tidy meeting notes, and BeeGentic saves them as a Google Doc in a Drive folder. Three blocks: Start โ†’ Agent โ†’ Google Drive. About 5 minutes.

What BeeGentic can do with Google DriveAll tools โ†’

Connect with: ๐Ÿ” Sign in with your account ยท You need: A Google account with Google Drive, and an AI key for the Agent

โœ… List Filesโœ… Search Filesโœ… Get File Infoโœ… Get File Contentโœ… Create Folderโœ… Create Fileโœ… Upload Fileโœ… Download Fileโœ… Copy Fileโœ… Move Fileโœ… Update Fileโœ… Move to Trashโœ… Restore from Trashโœ… Delete Permanentlyโœ… Share Fileโœ… Remove Sharingโœ… List Permissionsโœ… Export Fileโœ… List Revisionsโœ… Get Revisionโœ… List Commentsโœ… Create Commentโœ… Delete Commentโœ… Get Drive Info
โšก Google Drive File Trigger

Not supported: Editing the text inside an existing Google Doc (Update File changes name, description, star and folders only) ยท Formatting documents (headings, bold, tables) ยท Creating new shared drives ยท Instant reactions to changes: the trigger checks every few minutes

โœ… action you can add to a workflow ยท โšก event that can start a workflow

Narrated walkthrough (about 2ยฝ min), with captions (CC button). Each step below also has a short silent clip. The orange numbers in each screenshot match the # column under it. Click a screenshot to enlarge it.

Before you start

You needWhy
A Google account (Gmail or Google Workspace)BeeGentic saves files to your Drive as you
A folder for the notes (optional)Keeps the files together. We made BeeGentic demo. Without a folder, files go to the top of My Drive.
An AI key saved as a secret, e.g. OPENAI_API_KEYThe Agent writes the notes. See References and secrets.

Part 1: Connect Google Drive (once)

Make a folder in Drive

In Google Drive: New โ†’ New folder, name it, e.g. BeeGentic demo.

The folder

#What you see
1The empty BeeGentic demo folder. The workflow will save the notes here.

Watch this step

Find Google Drive in Integrations

In BeeGentic: Integrations โ†’ search Google Drive.

Integrations

#What to do
1Click Google Drive, then Add to BeeGentic.

Watch this step

Confirm and connect

Connect dialog

#What it means
1What BeeGentic may do: view and manage Google Drive files you open or create with BeeGentic, and view, edit, create and delete all Google Drive files. The second one is what lets you pick any folder or file from a list.
2Click Connect. Google opens.

Watch this step

Pick your Google account

Choose an account

#What to do
1Click the account that owns the Drive, then allow access. You're sent back to BeeGentic, connected.

Watch this step

Part 2: Build the workflow

Create the workflow and add the Agent

+ New workflow โ†’ name it Save meeting notes to Google Drive. Then Toolbar โ†’ Agent. In Messages:

Write short meeting notes from this summary: <start.input>. Plain text: a title line, then the sections Summary, Decisions and Next steps, each with 2 or 3 short bullet points that start with "- ".

Agent message

#What you see
1The message. <start.input> is replaced by what you type in Chat. We ask for plain text, because Drive saves the text exactly as written (**bold** would show up as stars).

Watch this step

Choose the model and key

Model and key

#FieldValue
1Modelgpt-5-mini
2API Key{{OPENAI_API_KEY}}

Add the Google Drive block

Toolbar โ†’ Google Drive (in the tools list, not the one under Triggers). It connects to the Agent automatically.

Google Drive block

#FieldValue
1OperationCreate File
2Google Drive AccountThe connection from Part 1

Watch this step

Name, content and file type

File fields

#FieldValue
1File NameMeeting notes - Acme kickoff. You can mix in references, e.g. Notes <start.input>.
2Text Content<agent.content>: the notes the Agent wrote
3MIME TypeGoogle Doc, so Drive turns the text into a Google Doc you can edit

The other MIME types: Plain Text, Google Sheet (send CSV text), Google Slides, HTML, CSV and PDF. To send a real file (an image, a PDF from an earlier block) use Upload File instead.

Watch this step

Pick the folder

Parent folder

#FieldValue
1Select Parent FolderClick it and type part of the name, e.g. BeeGentic demo, then pick it. (The list of your other folders is blurred in the video.) Leave it empty to save in My Drive.

The โ‡† icon next to the label switches to typing a Parent Folder ID instead: it's the last part of the folder's web address, after /folders/.

Press Shift + L to tidy. Your finished workflow:

Finished workflow

#BlockWhat it does
1StartYour chat message becomes <start.input>
2AgentWrites the meeting notes
3Google DriveSaves them as a Google Doc in the folder

Watch this step

Part 3: Run it and check the result

Type the meeting summary in Chat

Chat

#What to do
1Open Chat (speech-bubble button), type a few lines about the meeting and press Enter.

Example message we sent:

Kickoff call with Acme today: we agreed on a two-week pilot with 5 users, Sam sends the contract by Friday, and we meet again on October 13 to review results.

Read the output

Result

#What you see
1Your message.
2Each block's run time: the Agent about 5 s, Google Drive about 4.5 s.
3The output: a file object with the file's id (here 1K6-1SH7ZmaFvU7fIkEdnYWT87LSy97Xb1W3H8LJnIl0), name, mimeType (application/vnd.google-apps.document, a Google Doc), parents (the folder's ID) and webViewLink, the link that opens the doc.

Watch the run

See it in Drive

In the folder

#What you see
1The BeeGentic demo folder.
2The new Google Doc, Meeting notes - Acme kickoff, created by the workflow.

Watch this step

Open the doc

The doc

#What you see
1The file name from File Name.
2The notes the Agent wrote, as an editable Google Doc.

The real notes BeeGentic saved:

Kickoff call with Acme

Summary
- Agreed on a two-week pilot with 5 users.
- Sam will send the contract by Friday.
- Follow-up meeting set for October 13 to review results.

Decisions
- Proceed with a two-week pilot involving 5 users.
- Sam to deliver the contract by Friday.

Next steps
- Receive and finalize the contract from Sam.
- Prepare pilot participants and start the pilot.
- Meet on October 13 to review pilot results.

We deleted this test doc afterwards with Delete Permanently (below) and kept the empty folder.

Watch this step

โšก Make it automatic

You wantDo this
Email the notes to the teamAdd a Gmail Send Email after Google Drive and put the doc's webViewLink from the Google Drive output in the body. Or attach a file with Gmail's Attachments.
Keep a list of every docAdd a Google Sheets Append Data with the file name and link.
Save every form answer as a docGoogle Forms โ†’ Agent โ†’ Google Drive.
A weekly report fileSchedule trigger โ†’ Agent โ†’ Google Drive Create File.
Let someone else open itAdd a second Google Drive block with Share File (below), using the file id from the first one.
React to new files in a folderUse the Google Drive File Trigger (below).

Google Drive File Trigger

Starts the workflow when a file is created, changed or deleted. In the Toolbar it's Google Drive under Triggers.

Google Drive File Trigger

#FieldWhat it does
1CredentialsYour Google Drive connection
2FolderOnly files in this folder. Leave it empty to watch your whole Drive.
3File Type FilterAll Files, or only Google Docs, Google Sheets, Google Slides, PDFs, Images or Folders
4Event TypeAll Changes, or only File Created, File Modified, File Deleted or Created or Modified
5Include Shared DrivesAlso watch shared drives you belong to

BeeGentic checks Drive on a timer (it polls Google Drive), so a run can start a few minutes after the change. The trigger output has a file object with id, name, mimeType, modifiedTime, createdTime, size, webViewLink, parents, lastModifyingUser, shared and starred, plus eventType (created, modified or deleted) and timestamp. Deploy the workflow to turn it on.

๐Ÿงฐ Other operations

OperationWhat it does
Upload FileUploads a real file: one you upload in the block, or (under advanced fields) a file from an earlier block
Create FolderMakes a folder, optionally inside another folder
List Files / Search FilesLists the files in a folder, or finds files with a Drive search query, e.g. name contains 'invoice'
Get File Info / Get File ContentA file's details, or its text (Google Docs and Sheets are exported, e.g. as plain text or CSV)
Download File / Export FileGets the file itself, or converts a Google Doc, Sheet or Slides file to PDF, Word, Excel, PowerPoint, CSV and more
Copy File / Move FileCopies a file (with a new name or folder) or moves it to another folder
Update FileRenames a file, changes its description, stars it, or adds and removes folders
Share FileShares a file with a person, a group, a domain or anyone with the link, as viewer, commenter or editor
Remove Sharing / List PermissionsRemoves or lists who has access
Move to Trash / Restore from Trash / Delete PermanentlyBins, restores, or deletes a file for good
List Revisions / Get RevisionA file's version history
List Comments / Create Comment / Delete CommentComments on a file
Get Drive InfoYour account and storage quota

๐Ÿ› ๏ธ Troubleshooting

ProblemFix
Failed to upload file to Google DriveDrive refused the file. Reconnect Google Drive in Integrations and approve every permission, and check you can add files to the folder you picked.
Failed to share Google Drive fileCheck the email or domain. Google Workspace admins can block sharing outside your company or with "anyone with the link".
The doc shows stars, hashes or one long lineThe Agent used Markdown. Ask for plain text with - bullets, as in our message.
The file isn't in the folderSelect Parent Folder was empty, so the file went to the top of My Drive. Pick the folder, or type its ID.
The folder isn't in the listType part of its name to search, or switch to Parent Folder ID (โ‡† icon) and paste the ID.
Two files with the same nameDrive allows duplicates, so every run creates a new file. Put something unique in File Name, e.g. a reference to the meeting.
"Google hasn't verified this app"Click Advanced โ†’ Go to beegentic.com (unsafe) (see Part 1).
The trigger doesn't startDeploy the workflow, check Folder, File Type Filter and Event Type, and wait a few minutes.

On this page