Workflow: write code for n8n workflow for Notion Googledrive Create Triggered
Integrations: googleDriveTrigger, notion

{"meta": {"instanceId": "237600ca44303ce91fa31ee72babcdc8493f55ee2c0e8aa2b78b3b4ce6f70bd9"}, "nodes": [{"id": "fa143713-0a54-465b-bfeb-cfb180871ab4", "name": "On file upload", "type": "n8n-nodes-base.googleDriveTrigger", "position": [240, 480], "parameters": {"event": "fileCreated", "options": {}, "pollTimes": {"item": [{"mode": "everyMinute"}]}, "triggerOn": "specificFolder", "folderToWatch": "1_vYi00lSdzU2p6wGrnW_IqsOblOL-3zG"}, "credentials": {"googleDriveOAuth2Api": {"id": "16", "name": "[UPDATE ME]"}}, "typeVersion": 1}, {"id": "78fe0319-e8bf-4c37-8d49-2cd1d6d084e6", "name": "Create database page", "type": "n8n-nodes-base.notion", "position": [440, 480], "parameters": {"title": "={{$node[\"On file upload\"].json[\"name\"]}}", "resource": "databasePage", "databaseId": "d637c796-d33b-4768-b955-55c66a0966b7", "propertiesUi": {"propertyValues": [{"key": "File|files", "fileUrls": {"fileUrl": [{"url": "={{ $json[\"webViewLink\"] }}", "name": "={{ $node[\"On file upload\"].json[\"name\"] }}"}]}}]}}, "credentials": {"notionApi": {"id": "9", "name": "[UPDATE ME]"}}, "typeVersion": 2}], "connections": {"On file upload": {"main": [[{"node": "Create database page", "type": "main", "index": 0}]]}}}