Connect Discord and Google Drive automatically
How to connect Discord to Google Drive
Connect Discord's new-message trigger to a Google Drive upload action in a no-code workflow, and the workflow copies every attachment posted in a channel into a Drive folder automatically. Setup takes one sitting and needs no code.
A Discord and Google Drive integration is a rule that watches a Discord channel for messages with files and hands each file to Google Drive for storage.
Throughout, I use an illustrative team: a small design and support group, call it Northgate, that shares mockups, screenshots and signed PDFs in a Discord channel.
Nothing ever moved those files out, and Discord signs its attachment links, so the old ones eventually stop working. Anyone searching Drive for last quarter's approved logo finds nothing.
What people automate between the two apps
Check one run of the most common version against your own channel before building anything: archive every attachment, which is the one Northgate needs. The list below shows what that run moves.

- The Discord message with its attachment, picked up the moment someone posts it
- The Drive folder the file lands in, fixed or chosen by channel
- The filename, kept as posted or prefixed with the date and sender so it stays findable
- The channel link, posted back as a reply so people know the file is safe
Without the reply, nobody learns the file is saved, and they keep re-uploading or pinning things by hand. It matters more than it looks.
Other teams use the same pair to sort files into per-client folders, or to save only messages carrying a specific reaction or keyword.
You need four things, all free to gather in advance:
- A Discord server where you can add a bot, which usually means admin rights or an admin willing to approve it.
- A Google account with edit access to the destination Drive folder.
- A workflow tool with both connectors. I'll use Activepieces here, but any trigger-and-action builder with both apps will do.
- A decision on folder structure, made now, because renaming folders later breaks nothing but confuses everyone.
Next come the limits that catch people out.
This takes minutes, not a project: automate it in Activepieces free.
The day client files vanished
At 17:40 on a Friday, the team couldn't open a client brief, and that's when they learned Discord's a chat tool, not a filing system. The limits that catch people out only matter once you've watched one cost you an evening.
Discord attachment links that stop opening
When a client asked for a revision against the original brief, the only copy was the one a teammate had dropped into a project channel weeks earlier. The link in the old message loaded, but the attachment wouldn't open.

Nobody had saved a copy anywhere else, because posting it in Discord had felt like filing it.
When the attachment failed, the team had no second copy and no way to ask the client to resend without admitting the gap. The channel was the only place the document lived.
Nobody had saved a copy anywhere else, because posting it in Discord had felt like filing it.
Searching Discord channels for lost files
Searching Discord found the message but not the file. So the team scrolled. They checked the project channel, then the general channel, then the direct messages of whoever'd been on the thread. Each person remembered the file arriving in a different place.

Nothing had a consistent name, and whoever re-uploaded the brief had renamed it. An hour of scrolling produced a few half-matches and no confirmed original. The whole evening went, and the client still had no answer.
What the team found in Drive instead
Drive was supposed to hold the archive, and the shared folder held almost none of this. Someone had uploaded a few files by hand during the first week of the project, then the habit stopped once the channel got busy.

Nothing in the setup moved a file from a Discord message into Drive, so every upload depended on someone remembering. Within a busy week, nobody did.
What the team needed was the opposite of memory: something that fires on every new Discord message and acts on it without a person in the loop. According to [20mb], the flow starts exactly that way, with:
- A Discord new-message trigger
- A channel to watch
- A limit of 50 messages per pull
That limit means a busy channel can outrun a single run, which is one of the constraints to plan around.
After that trigger, everything is an action, and the next part walks through them in order.
Cost of manual Discord to Drive file transfers
Without those actions, the hand-off cost the team an evening of re-requesting files, a set of attachments that never reached Drive, and one client deliverable that went out late.
To see those three losses in the units the team felt them, read the table below. These are the illustrative scenario's own figures, not category statistics, and they're described rather than counted.
Read it as a map of who paid for each gap, because the people who lost time weren't the people who skipped the upload.
| Cost | Illustrative team's figure | Unit | Who felt it |
|---|---|---|---|
| Re-requesting files | One evening, spread across several people | Hours | The project lead and the contributors asked to resend |
| Files missing from Drive | Everything shared only in a Discord channel | Files | Whoever opened the Drive folder expecting the final set |
| Client deliverables delayed | The one that depended on those files | Deliverables | The client, then the project lead explaining it |
Prices and plan limits checked against activepieces.com and activepieces.com and docs.claude.com and claude.com and openai.com and gemini.google on December 3, 2026.
The next three parts take each row in turn.
None of the hours were spent on work. They went on scrolling channel history, pinging people to "resend the v3 export," and waiting for answers.
That means the cost landed on contributors who'd already done their part, and it grew with every file that had to be found twice.
Nothing in Discord copies attachments to Drive on its own; it keeps them in the channel. A file counts as missing from Drive the moment someone posts it in chat and no one saves it.
The folder looked complete to anyone who hadn't been in the channel, so the gap stayed invisible until someone needed a file that wasn't there.
Outside the team, the client saw the late deliverable. The team could absorb lost hours internally, but the delay forced an explanation to someone outside the team.
That's why the fix has to run without anyone remembering to do it: a reminder only helps the people who still remember it at the end of a long day.
Discord uploads and Drive sync gaps
The two apps don't sync, which is why Discord uploads never reached Google Drive. Discord keeps each attachment on its own servers, and nothing tells Drive the file exists unless something is built to carry it across.
Attachment size and link limits
On Free the per-file upload ceiling is 20 MB, rising to 50 MB on Nitro Basic and 1 GB on Nitro, so any file over 20 MB cannot be uploaded from Free tier.
A screen recording or design export can be refused at upload on a free server before Drive is ever involved.
Nothing Discord accepts will be too big for Drive, whose per-file limit is 5 TB, so the size problem is entirely Discord's. Files that were never uploaded because of the ceiling stay lost, and no workflow can recover them.
Because Discord attachment links also carry expiry parameters, and the documentation gives no lifetime I can quote here, copy the file into Drive promptly rather than saving the link and fetching later.
Fixing Discord and Google Drive permission errors
When you see "permission denied," it usually comes from one of two places. On Discord, the bot or integration needs View Channel and Read Message History on the channel, or it never sees the attachment, and no error tells you so.
If the account the automation connects as lacks edit access to the destination folder, Google's side fails too.
A folder shared with you as view-only, or owned by someone who later left the team, produces a 403 or "file not found" at the moment of upload. Test with the exact connected account, not your own.
Google Drive storage quotas and rate limits
Once a channel collects video, it can fill the 15 GB of storage shared across Gmail, Drive, and Photos that a free Google Account includes, and every later upload fails with a storage-full error.
Check the storage used across all three services, not just Drive, before blaming the workflow.
Both Discord and the Drive API enforce request rate limits. The documentation I relied on gives no figure I can state with confidence, so I won't quote one.
In practice, a burst of files posted at once is where you'd see throttling. Add a short delay between runs and turn on automatic retry, so a throttled upload is attempted again instead of dropped.
You can follow the rest of this with the builder open. Start free, no card.
Build five Discord Drive workflows
Five flows cover the gap: one saves files, one reports changes, one logs links, one sorts by channel, and one handles steps no ready-made action covers.
The table shows each flow's trigger, action and app, and whether it needs an HTTP request or webhook. Only the last row does, so the first four can be built from the standard steps alone.
| Trigger | Action | App | What it does for the work | HTTP request or webhook |
|---|---|---|---|---|
| Discord "New Message" | Google Drive "Upload File" | Discord, Google Drive | Copies shared attachments into a Drive folder | None |
| Google Drive "New or Updated File" | Discord "Send Message with Bot" | Google Drive, Discord | Tells the channel a file changed | None |
| Discord "New Message" | Google Drive "Create File from Text" | Discord, Google Drive | Writes shared links into a Drive document | None |
| Discord "New Message" | Google Drive "Upload File" after a branch | Discord, Google Drive | Sends files to a folder chosen by channel | None |
| Google Drive "New Folder" | Discord "Send Message via Webhook" | Google Drive, Discord | Announces new folders; an HTTP request covers any step the piece lacks | Yes |
Each flow uses steps from the published integration listings for Discord and Google Drive. Their names appear here exactly as listed, so you can search for them in the builder.
To save Discord attachments into a Drive folder, start with "New Message", filter out messages with no attachment, then run "Upload File". Without the filter, every chat line triggers an empty upload and fills your run history with failures.

When a Drive file changes and you want a Discord message, remember that "New or Updated File" fires on edits as well as new files, and "Send Message with Bot" reports both. Your team learns a file changed without opening Drive to check.
To log shared links to a Drive document, filter "New Message" for text containing a link, then use "Create File from Text". Links scroll out of a busy channel, and a document keeps them findable.
If you route files by channel, branch on the channel the message came from, with one "Upload File" per branch pointing at that team's folder. Add a default branch, or files from a channel you forgot will vanish quietly.
Using HTTP requests or webhooks for Discord
If the integration has no action for what you need, add an HTTP request step against the Drive or Discord API. The row above also shows "Send Message via Webhook" for channels where you'd rather not run a bot.
Treat the HTTP step as a stated exception, and check its response so a failed call stops the run instead of passing silently.
Build the Discord to Drive workflow in Activepieces step by step
Connect both accounts, trigger on a new Discord message, fetch the attachment with an HTTP call, upload it to a mapped Drive folder, test, publish: those are the flow's six steps, meaning skipping or misconfiguring any step breaks the workflow.

The HTTP call is the one step that needs a response check.
Add Discord and Google Drive as connections first, so every step can pick them from a dropdown. Discord needs a bot that's been invited to your server and can read the channel you're watching.
If it can't see the channel, the trigger never fires, and nothing in the flow looks broken.
Add Discord trigger and Drive upload steps
Other tools connect these apps too. Zapier checks Discord every 15 minutes on Free, so a file posted at 9:01 may not be saved until 9:16.
Professional checks every 2 minutes, and Team and Enterprise every minute, so a Professional account could run with an issue for up to 2 minutes before detection.
Activepieces takes its 751 integrations from a count of the community directory in its MIT-licensed open source monorepo on GitHub, so the figure is the directory's own rather than a marketing number.
About 60% of those integrations are community-contributed, and the Discord and Google Drive integrations used here are source files in that directory you can read, which means you can audit these integrations directly.
An action the listing lacks can be generated with AI and added as a private integration on your own instance.
Build the flow in this order:
- Set the trigger to Discord's New Message, and pick the server and channel.
- Add a Custom API Call (an HTTP request step) and map the attachment URL from the trigger's output into its URL field, with method GET.
- Add Google Drive's Upload File. Map the file field to the body of step 2, and the file name to the attachment's filename from the trigger.
- Choose the destination folder in the same step, so files land in one place instead of Drive's root.
- Add a check after step 2 that stops the run unless the response status is a success.
Messages with no attachment will reach step 2 empty, so add a condition that skips them.
Test the workflow and read the run
Post a real file in the channel, then run the test. Open the run and read each step's output. Confirm the URL arrived in step 2, the status was a success, and the Drive file opens with the right name.

A file that uploads but won't open means the HTTP body wasn't mapped. Publish only after one clean run, then post a second file to confirm the published version fires on its own.
Monday morning, create the Discord bot and the two connections, then build the trigger and the HTTP step. Run one file through before anyone else posts, and publish once it lands in the right folder.
Frequently asked questions
Setup and scope
These answers come from Discord's developer documentation and Google Drive's help pages, checked 3 Dec 2026, and cover what the walkthrough above left open.
Can Discord and Google Drive be connected without code? Yes. A no-code workflow tool pairs a "new message with attachment" trigger in a Discord channel with an "upload file" action in Drive.
You fill in fields in a form, so nothing needs writing or hosting. The one prerequisite is a Discord bot that can read the channel and its message content.
Does it copy files posted before I set it up? No. The trigger fires on new messages only, so anything posted earlier stays where it is.
Discord attachment links are signed and expire, which means old links in your history may not download even if you collect them. Re-post anything important after the workflow is live, or save it by hand once.
Shared drives
Can I send files to a Google Drive shared drive? Yes, if the Google account you connected is a member of that shared drive with permission to add files.
Choose the shared drive in the folder picker rather than typing a path. If it doesn't appear, check the connection's account first, because the tool is usually looking at the wrong Google identity.
Troubleshooting
Why did my flow run but no file appear in Drive? The run succeeded without uploading because a step was skipped or failed quietly. Open the run history and find the first step with an empty or errored result. The usual causes are:
- The message held a pasted link or an embed rather than an attachment, so there was nothing to upload.
- The attachment link expired because the download step ran too late. Put the download directly after the trigger.
- The connected Google account can view the destination folder but not add to it.
- The account hit Drive's daily upload quota, so later files fail until it resets.
Self-hosting
Can I self-host the workflow instead of using a cloud service? Yes. Several open-source automation tools run on your own server and offer Discord and Drive connections.
In exchange you take on updates, backups, and storing the Google credentials yourself. Discord's event delivery also needs a reachable address, so confirm your server can receive it before you commit.
Related reading
References
Build it
Set this up in minutes.
No code required. Connect your accounts, and Activepieces runs it from there.
Start free Talk to sales


