Workflow: write code for n8n workflow for Awss3 Googledrive Import Triggered
Integrations: awsS3, googleDriveTrigger, merge

{"nodes": [{"name": "Google Drive Trigger", "type": "n8n-nodes-base.googleDriveTrigger", "position": [480, 1480], "parameters": {"event": "fileUpdated", "options": {}, "triggerOn": "specificFolder", "folderToWatch": "https://drive.google.com/drive/folders/[your_id]"}, "credentials": {"googleDriveOAuth2Api": {"id": "12", "name": "Google Drive account"}}, "typeVersion": 1}, {"name": "Merge", "type": "n8n-nodes-base.merge", "position": [680, 1560], "parameters": {"mode": "removeKeyMatches", "propertyName1": "name.value", "propertyName2": "Key.value"}, "typeVersion": 1}, {"name": "AWS S3  - get", "type": "n8n-nodes-base.awsS3", "position": [480, 1660], "parameters": {"options": {}, "operation": "getAll", "bucketName": "mybucket"}, "credentials": {"aws": {"id": "9", "name": "aws"}}, "typeVersion": 1}, {"name": "AWS S3 - upload", "type": "n8n-nodes-base.awsS3", "position": [860, 1560], "parameters": {"tagsUi": {"tagsValues": [{"key": "source", "value": "gdrive"}]}, "fileName": "={{$json[\"name\"]}}", "operation": "upload", "binaryData": false, "bucketName": "mybucket", "additionalFields": {"serverSideEncryption": "AES256"}}, "credentials": {"aws": {"id": "9", "name": "aws"}}, "typeVersion": 1}], "connections": {"Merge": {"main": [[{"node": "AWS S3 - upload", "type": "main", "index": 0}]]}, "AWS S3  - get": {"main": [[{"node": "Merge", "type": "main", "index": 1}]]}, "Google Drive Trigger": {"main": [[{"node": "Merge", "type": "main", "index": 0}]]}}}