Workflow: Gmail GoogleDrive

Workflow Details

Download Workflow
{
    "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": "Gmail"
            },
            "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": "Google Drive OAuth2 API"
            },
            "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
                    }
                ]
            ]
        }
    }
}
Back to Workflows

Related Workflows

AI Agent - Cv Resume - Automated Screening , Sorting , Rating and Tracker System
View
Workflow Results to Markdown Notes in Your Obsidian Vault, via Google Drive
View
Code Typeform Create Triggered
View
Get analytics of a website and store it Airtable
View
Linear Project Status and End Date to Productboard feature Sync
View
n8n Subworkflow Dependency Graph & Auto-Tagging
View
Splitout Code Create Webhook
View
Create a new list, add a new contact to the list, update the contact, and get all contacts in the list
View
Code Webhook Create Webhook
View
SIGNL4 Alert
View