This workflow follows the Gmail → Google Drive recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"name": "Gmail1",
"type": "n8n-nodes-base.gmail",
"position": [
-34.5,
449.5
],
"parameters": {
"resource": "message",
"operation": "getAll",
"additionalFields": {
"format": "resolved",
"labelIds": [
"Label_1819449526183990002"
]
}
},
"credentials": {
"gmailOAuth2": "<your credential>"
},
"typeVersion": 1
},
{
"name": "Upload File1",
"type": "n8n-nodes-base.googleDrive",
"position": [
115.5,
449.5
],
"parameters": {
"name": "={{$binary.attachment_0.fileName}}",
"parents": [
"1I-tBNWFhH2FwcyiKeBOcGseWktF-nXBr"
],
"binaryData": true,
"resolveData": true,
"authentication": "oAuth2",
"binaryPropertyName": "attachment_0"
},
"credentials": {
"googleDriveOAuth2Api": "<your credential>"
},
"typeVersion": 1
},
{
"name": "Get attachment Link",
"type": "n8n-nodes-base.set",
"position": [
280,
450
],
"parameters": {
"values": {
"string": [
{
"name": "mp4_attachment",
"value": "={{$json[\"webViewLink\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
}
],
"connections": {
"Gmail1": {
"main": [
[
{
"node": "Upload File1",
"type": "main",
"index": 0
}
]
]
},
"Upload File1": {
"main": [
[
{
"node": "Get attachment Link",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
gmailOAuth2googleDriveOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Gmail Googledrive. Uses gmail, googleDrive. Manual trigger; 3 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This is a high-security enterprise solution for LegalOps and Compliance departments. It automates the high-stakes process of decrypting batches of legacy, password-protected PDF assets to facilitate f
Achieve a high-security, compliant payroll distribution system by using this automation to encrypt sensitive documents and manage delivery failures. This workflow provides an enterprise-grade solution
Send-Draft. Uses gmail, googleDrive, telegram. Webhook trigger; 6 nodes.
YOUR_ID 4. Uses gmail, googleDrive, googleSheets, httpRequest. Scheduled trigger; 53 nodes.