Workflow: write code for n8n workflow for Manual Googledrive Automate Triggered
Integrations: googleDrive, manualTrigger

{"meta": {"instanceId": "408f9fb9940c3cb18ffdef0e0150fe342d6e655c3a9fac21f0f644e8bedabcd9", "templateCredsSetupCompleted": true}, "nodes": [{"id": "96d41f6a-3534-4286-a514-c39fa3100897", "name": "When clicking \"Execute Workflow\"", "type": "n8n-nodes-base.manualTrigger", "position": [-40, 520], "parameters": {}, "typeVersion": 1}, {"id": "8fc1ced3-3007-4a18-9619-b7c72589d784", "name": "OpenAI Chat Model", "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi", "position": [360, 740], "parameters": {"model": {"__rl": true, "mode": "list", "value": "gpt-4o-mini"}, "options": {}}, "credentials": {"openAiApi": {"id": "8gccIjcuf3gvaoEr", "name": "OpenAi account"}}, "typeVersion": 1.2}, {"id": "e12e4360-50e6-421a-ba95-8474fb06448c", "name": "Default Data Loader", "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader", "position": [540, 740], "parameters": {"options": {}, "dataType": "binary"}, "typeVersion": 1}, {"id": "244ed66f-1dde-4a56-90ec-cb31644f3d5a", "name": "Token Splitter1", "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter", "position": [620, 880], "parameters": {"chunkSize": 3000}, "typeVersion": 1}, {"id": "7a2b2f4c-8153-4cac-9bb2-45c46f28f8a5", "name": "Google Drive", "type": "n8n-nodes-base.googleDrive", "position": [180, 520], "parameters": {"fileId": {"__rl": true, "mode": "url", "value": "https://drive.google.com/file/d/11Koq9q53nkk0F5Y8eZgaWJUVR03I4-MM/view"}, "options": {}, "operation": "download"}, "credentials": {"googleDriveOAuth2Api": {"id": "yOwz41gMQclOadgu", "name": "Google Drive account"}}, "typeVersion": 3}, {"id": "e803a016-a9e7-4af2-bca2-05f9243196b2", "name": "Summarization Chain", "type": "@n8n/n8n-nodes-langchain.chainSummarization", "position": [400, 520], "parameters": {"options": {}, "operationMode": "documentLoader"}, "typeVersion": 2}], "pinData": {}, "connections": {"Google Drive": {"main": [[{"node": "Summarization Chain", "type": "main", "index": 0}]]}, "Token Splitter1": {"ai_textSplitter": [[{"node": "Default Data Loader", "type": "ai_textSplitter", "index": 0}]]}, "OpenAI Chat Model": {"ai_languageModel": [[{"node": "Summarization Chain", "type": "ai_languageModel", "index": 0}]]}, "Default Data Loader": {"ai_document": [[{"node": "Summarization Chain", "type": "ai_document", "index": 0}]]}, "When clicking \"Execute Workflow\"": {"main": [[{"node": "Google Drive", "type": "main", "index": 0}]]}}}