feat: add folder support for workflows (fixes #70)

This commit is contained in:
Praveen Mudalgeri
2025-08-05 09:40:47 +05:30
parent 307d530f9b
commit c4885eee92
2057 changed files with 985290 additions and 974268 deletions

View File

@@ -0,0 +1,448 @@
{
"meta": {
"instanceId": "160aba527cc3058f06f5c3afbfdaa77f24ad6a273269f4a7e247245d0eb0c124",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "0c46db99-4216-4132-a705-62560e8ebff0",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
200,
-100
],
"parameters": {
"color": 4,
"width": 275,
"height": 239,
"content": "👈\nSet up Google Drive credentials.\n\nWhen a new photo/video or carousel is uploaded to the selected folder in Google Drive for posting on Instagram, this trigger will be activated.\n\nFollow the steps (YouTube video):\nhttps://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n"
},
"typeVersion": 1
},
{
"id": "bea7e9cb-c125-4469-a902-71f949d82858",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-480
],
"parameters": {
"color": 4,
"width": 492,
"height": 100,
"content": "### Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)\n(Easy to set-up)"
},
"typeVersion": 1
},
{
"id": "b56d4729-cc93-41d9-be09-27547d0d8204",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
480,
-100
],
"parameters": {
"color": 3,
"width": 275,
"height": 239,
"content": "👈\nSet up Google Drive credentials.\n\nThis node will download the posting file in the n8n workflow.\n\nFollow the steps (YouTube video):\nhttps://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n"
},
"typeVersion": 1
},
{
"id": "f70fd011-9eab-46b4-a861-148ddd90bca1",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
-100
],
"parameters": {
"color": 5,
"width": 275,
"height": 239,
"content": "👈\nSet up OpenAI Message Model.\n\nSet up credentials.\n\nThis node will create captions for the post.\n\nFollow the steps (YouTube video):\nhttps://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n"
},
"typeVersion": 1
},
{
"id": "4a85fd3c-66a8-40cf-be58-030568b953cf",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1040,
-100
],
"parameters": {
"width": 275,
"height": 399,
"content": "👈\nSet up Google Sheets Node.\n\nSet up credentials.\n\nCreate a new sheet in Google Sheets (e.g., Instagram posts).\n\nCreate 3 columns: Name, Caption, and Image/Reel Link. Connect the Google sheet with this node. & connect the columns with the Google Drive Node (Name Column & Url Column with 2 parameters of Google Drive Node) and captions column with one OpenAI parameter.\n\nFollow the steps (YouTube video):\nhttps://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n"
},
"typeVersion": 1
},
{
"id": "5e855a8f-3a45-43bc-a8e6-9c590fb77c3d",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1320,
-100
],
"parameters": {
"color": 3,
"width": 275,
"height": 379,
"content": "👈 Hardest Step (Facebook Graph API):\n\nSet up Facebook Graph API Node.\n\nSet up credentials.\n\nConnect query parameters with Google Sheets parameters.\n\nThis node will access your post file from Google Sheets with captions.\n\nFollow the steps (YouTube video):\nhttps://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n"
},
"typeVersion": 1
},
{
"id": "515cef5a-52fd-49af-831c-50957e58564a",
"name": "Finally Post to Instagram",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
1560,
-280
],
"parameters": {
"edge": "media_publish",
"node": "17841465053058137",
"hostUrl": "graph-video.facebook.com",
"options": {
"queryParameters": {
"parameter": [
{
"name": "creation_id",
"value": "={{ $json.id }}"
}
]
}
},
"graphApiVersion": "v22.0",
"httpRequestMethod": "POST"
},
"credentials": {
"facebookGraphApi": {
"id": "vDjaXB1lRcGeYQV3",
"name": "Facebook Graph account"
}
},
"typeVersion": 1
},
{
"id": "b3114251-0799-44a2-a838-0231103d8f87",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1600,
-100
],
"parameters": {
"color": 4,
"width": 275,
"height": 299,
"content": "👈 \n1. Set-up Facebook Graph API) Node\n2. Set-Up Credentials\n\n3.This Node will Directly post on your instagram.\n\n\nFollow the Steps (Youtube Video)\nhttps://youtu.be/L3NUp2XP_h0?si=KAtjHYE2-qedlM-n"
},
"typeVersion": 1
},
{
"id": "6c3f1ec2-8765-4445-b93b-253e43c102d2",
"name": "Post File Upload in Google Drive Folder Trigger",
"type": "n8n-nodes-base.googleDriveTrigger",
"position": [
300,
-280
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1VfkhYImlmEXw70IrJvvZKO6mM164zMD6",
"cachedResultUrl": "https://drive.google.com/drive/folders/1VfkhYImlmEXw70IrJvvZKO6mM164zMD6",
"cachedResultName": "n8n reels automation on instagram"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "bugAjkJYMXx2rSaD",
"name": "Google Drive account"
}
},
"typeVersion": 1
},
{
"id": "1c5d5251-f55e-4f1a-b0c3-103e34ac2128",
"name": "Post File Download in N8N (Google Drive Node)",
"type": "n8n-nodes-base.googleDrive",
"position": [
520,
-280
],
"parameters": {
"fileId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"options": {},
"operation": "download"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "bugAjkJYMXx2rSaD",
"name": "Google Drive account"
}
},
"typeVersion": 3
},
{
"id": "e5e336e2-2a07-4611-9700-8c973aefd0f8",
"name": "AI Caption generated by OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
740,
-280
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=Generate an engaging Instagram caption for a {{ $('Post File Upload in Google Drive Folder Trigger').item.json.name }} about [Description]. Include:\t\n2-3 sentences with emojis\n\n3-5 relevant hashtags\n\nA call-to-action\n\nKeep it under 150 characters as you are skilled at writing detailed captions based on a file name. write a clear, engaging caption that helps viewers understand and appreciate the post withoutj using too many whimsical words or using too many adjectives. make it relatable and suitable for an instagram audience, encouraging people to connect with the post and respond in the comments. "
},
{}
]
},
"simplify": false
},
"credentials": {
"openAiApi": {
"id": "BiRkxZ4Wi3R6gMpn",
"name": "OpenAi account 2"
}
},
"typeVersion": 1.8
},
{
"id": "19054395-234d-4fae-a0e9-2976df11919d",
"name": "Post File Save in Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1120,
-280
],
"parameters": {
"columns": {
"value": {
"Name": "={{ $('Post File Download in N8N (Google Drive Node)').item.json.name }}",
"Captions": "={{ $json.choices[0].message.content }}",
"Reel Urls ": "={{ $('Post File Download in N8N (Google Drive Node)').item.json.webViewLink }}",
"Reel Thumbnail": "={{ $('Post File Download in N8N (Google Drive Node)').item.json.thumbnailLink }}"
},
"schema": [
{
"id": "Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Captions",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Captions",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Reel Urls ",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Reel Urls ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Reel Thumbnail",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Reel Thumbnail",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "fb token for api",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "fb token for api",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"Name"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1S-7cZM6W4EpbNH-DRAt1L3zXUt9JTmQEs8EZ_Csq_Fg/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1S-7cZM6W4EpbNH-DRAt1L3zXUt9JTmQEs8EZ_Csq_Fg",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1S-7cZM6W4EpbNH-DRAt1L3zXUt9JTmQEs8EZ_Csq_Fg/edit?usp=drivesdk",
"cachedResultName": "IG Reel Pass to Meta API "
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "aQLnLORao3LXvlT1",
"name": "Google Sheets account 2"
}
},
"typeVersion": 4.5
},
{
"id": "d331ddfb-9131-4776-a610-feb830b736b6",
"name": "Connect Facebook API for Publishing Instagram Post using N8N",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
1340,
-280
],
"parameters": {
"edge": "media",
"node": "17841465053058137",
"options": {
"queryParameters": {
"parameter": [
{
"name": "video_url",
"value": "={{ $json['Reel Urls '] }}"
},
{
"name": "media-type",
"value": "REELS"
},
{
"name": "caption",
"value": "={{ $json.Captions }}"
},
{
"name": "image_url",
"value": "={{ $json['Reel Thumbnail'] }}"
}
]
}
},
"graphApiVersion": "v22.0",
"httpRequestMethod": "POST"
},
"credentials": {
"facebookGraphApi": {
"id": "vDjaXB1lRcGeYQV3",
"name": "Facebook Graph account"
}
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"AI Caption generated by OpenAI": {
"main": [
[
{
"node": "Post File Save in Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Post File Save in Google Sheets": {
"main": [
[
{
"node": "Connect Facebook API for Publishing Instagram Post using N8N",
"type": "main",
"index": 0
}
]
]
},
"Post File Download in N8N (Google Drive Node)": {
"main": [
[
{
"node": "AI Caption generated by OpenAI",
"type": "main",
"index": 0
}
]
]
},
"Post File Upload in Google Drive Folder Trigger": {
"main": [
[
{
"node": "Post File Download in N8N (Google Drive Node)",
"type": "main",
"index": 0
}
]
]
},
"Connect Facebook API for Publishing Instagram Post using N8N": {
"main": [
[
{
"node": "Finally Post to Instagram",
"type": "main",
"index": 0
}
]
]
}
}
}

View File

@@ -0,0 +1,354 @@
{
"id": "s8YgrWCxnGJxbctt",
"meta": {
"instanceId": "2b1c62c6d8c9216d51c1f40c64044e24b558ea8311c19d032d1278472159cfec",
"templateId": "1750"
},
"name": "Google Doc Summarizer to Google Sheets",
"tags": [],
"nodes": [
{
"id": "9098b59a-68b1-48bd-9b52-41a971e689b3",
"name": "Google Docs",
"type": "n8n-nodes-base.googleDocs",
"position": [
340,
240
],
"parameters": {
"operation": "get",
"documentURL": "={{ $json.id }}",
"authentication": "serviceAccount"
},
"credentials": {
"googleApi": {
"id": "Xx4ObVZ3yYoA5XCx",
"name": "Google Drive account"
}
},
"typeVersion": 2
},
{
"id": "a7f224d4-232b-4201-82a0-d762830b546a",
"name": "Wikipedia",
"type": "@n8n/n8n-nodes-langchain.toolWikipedia",
"position": [
680,
180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "12bb798e-fe7e-4340-846b-5caeb824959b",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
940,
180
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7d479725-f973-45c5-a798-d1868aefdd82",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1280,
280
],
"parameters": {
"columns": {
"value": {
"Name": "={{ $('Google Drive ').item.json.lastModifyingUser.displayName }}",
"Email ": "={{ $('Google Drive ').item.json.lastModifyingUser.emailAddress }}",
"Summarise Conetent data ": "={{ $json.message.content }}"
},
"schema": [
{
"id": "Email ",
"type": "string",
"display": true,
"required": false,
"displayName": "Email ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Summarise Conetent data ",
"type": "string",
"display": true,
"required": false,
"displayName": "Summarise Conetent data ",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": []
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1s1v58pqGaVha9g_evNX4UEMchzteO7CyLNp87tcKJ1Q/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1s1v58pqGaVha9g_evNX4UEMchzteO7CyLNp87tcKJ1Q",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1s1v58pqGaVha9g_evNX4UEMchzteO7CyLNp87tcKJ1Q/edit?usp=drivesdk",
"cachedResultName": "Docs Summarise Data"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "A2b2I9leWjfYSzSW",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "35716e44-14e7-4cc3-a273-2ba2e749892f",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
-80
],
"parameters": {
"color": 5,
"height": 260,
"content": "## Get Latest File\n"
},
"typeVersion": 1
},
{
"id": "fc3ac84f-887f-4908-a870-e6c3d46f4576",
"name": "Google Drive ",
"type": "n8n-nodes-base.googleDriveTrigger",
"notes": "Received the doc",
"position": [
0,
0
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "list",
"value": "1H8Xe2uIO0sI-QdxFsDH0Yg_w9RaPOoD_",
"cachedResultUrl": "https://drive.google.com/drive/folders/1H8Xe2uIO0sI-QdxFsDH0Yg_w9RaPOoD_",
"cachedResultName": "yashdata"
},
"authentication": "serviceAccount"
},
"credentials": {
"googleApi": {
"id": "Xx4ObVZ3yYoA5XCx",
"name": "Google Drive account"
}
},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "14f0c78f-73c7-42c4-8916-284a876659cb",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
140
],
"parameters": {
"color": 5,
"width": 260,
"height": 260,
"content": "## Get Document Content\n"
},
"typeVersion": 1
},
{
"id": "6c87fc48-6b22-46fb-a509-d2037dc302bc",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
620,
-60
],
"parameters": {
"color": 5,
"width": 440,
"height": 380,
"content": "## AI Summarization\n"
},
"typeVersion": 1
},
{
"id": "bcf259bd-df2a-4a16-a679-3a5d3ee68122",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1160,
160
],
"parameters": {
"color": 5,
"width": 300,
"height": 280,
"content": "## Store Summary in Sheet\n"
},
"typeVersion": 1
},
{
"id": "81f80bd2-aa10-49a8-ae63-3a3322bcac80",
"name": "Generate Summary AI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
700,
20
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=Summarise the below content\n {{ $json.content }}"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "aMNetdb7Sh3K62cJ",
"name": "OpenAi account"
}
},
"typeVersion": 1.7
},
{
"id": "f7379ef9-9940-4aec-9717-b7df688fd2df",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-260
],
"parameters": {
"color": 5,
"width": 800,
"height": 80,
"content": "# Google Doc Summarizer to Google Sheets\n"
},
"typeVersion": 1
},
{
"id": "0bf7d344-64ad-4074-8e7c-20055a3bf082",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-20,
500
],
"parameters": {
"color": 5,
"width": 1280,
"content": "## Description\nThis workflow is created by WeblineIndia, it streamlines and automates the end-to-end process of managing recently added document files in Google Drive. It begins by identifying the most recently uploaded .doc file in a designated folder within Google Drive. The document's content is then directly retrieved and passed through an AI-powered summarization model that condenses the content into a concise and meaningful summary. Finally, the summarized content, along with relevant metadata such as the document's name, upload date, and other details, is systematically stored in a Google Sheet. This ensures easy reference, enhanced organization, and quick access to key information, making it an ideal solution for managing and summarizing large volumes of document data efficiently."
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "e3318ab1-ef09-4207-9419-411208c35aab",
"connections": {
"Wikipedia": {
"ai_tool": [
[
{
"node": "Generate Summary AI",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "Generate Summary AI",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Docs": {
"main": [
[
{
"node": "Generate Summary AI",
"type": "main",
"index": 0
}
]
]
},
"Google Drive ": {
"main": [
[
{
"node": "Google Docs",
"type": "main",
"index": 0
}
]
]
},
"Generate Summary AI": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}

View File

@@ -0,0 +1,349 @@
{
"id": "aswQJmksAOmHmn8c",
"meta": {
"instanceId": "14e4c77104722ab186539dfea5182e419aecc83d85963fe13f6de862c875ebfa"
},
"name": "Fetch the Most Recent Document from Google Drive",
"tags": [
{
"id": "uScnF9NzR3PLIyvU",
"name": "Published",
"createdAt": "2025-03-21T07:22:28.491Z",
"updatedAt": "2025-03-21T07:22:28.491Z"
}
],
"nodes": [
{
"id": "d9df98fe-bf03-45bd-9cb9-ed32371b7970",
"name": "Google Docs",
"type": "n8n-nodes-base.googleDocs",
"position": [
100,
500
],
"parameters": {
"operation": "get",
"documentURL": "={{ $json.id }}"
},
"credentials": {
"googleDocsOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 2
},
{
"id": "46daf9a2-0d13-49c3-8272-e366888e1960",
"name": "Wikipedia",
"type": "@n8n/n8n-nodes-langchain.toolWikipedia",
"position": [
440,
440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9dafd444-257c-4f44-9550-1dbd19dc44d4",
"name": "Calculator",
"type": "@n8n/n8n-nodes-langchain.toolCalculator",
"position": [
700,
440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "259a7fa0-4b37-453e-a730-fb2fc7bc3eb0",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1040,
540
],
"parameters": {
"columns": {
"value": {
"Name": "={{ $('Google Drive ').item.json.lastModifyingUser.displayName }}",
"Email ": "={{ $('Google Drive ').item.json.lastModifyingUser.emailAddress }}",
"Summarise Conetent data ": "={{ $json.message.content }}"
},
"schema": [
{
"id": "Email ",
"type": "string",
"display": true,
"required": false,
"displayName": "Email ",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Summarise Conetent data ",
"type": "string",
"display": true,
"required": false,
"displayName": "Summarise Conetent data ",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": []
},
"options": {},
"operation": "append",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "url",
"value": "",
"__regex": "https:\\/\\/(?:drive|docs)\\.google\\.com(?:\\/.*|)\\/d\\/([0-9a-zA-Z\\-_]+)(?:\\/.*|)"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "",
"name": ""
}
},
"typeVersion": 4.5
},
{
"id": "d5b63de6-bc9a-4e44-a9a2-85026a16aec7",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
180
],
"parameters": {
"color": 5,
"height": 260,
"content": "## Get Latest File\n"
},
"typeVersion": 1
},
{
"id": "d00720d9-a344-48c9-9c31-7c4391ecda70",
"name": "Google Drive ",
"type": "n8n-nodes-base.googleDriveTrigger",
"notes": "Received the doc",
"position": [
-240,
260
],
"parameters": {
"event": "fileCreated",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"triggerOn": "specificFolder",
"folderToWatch": {
"__rl": true,
"mode": "url",
"value": ""
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "",
"name": ""
}
},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "4e326b5d-f116-4de7-bf4b-bac11772e54d",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
20,
400
],
"parameters": {
"color": 5,
"width": 260,
"height": 260,
"content": "## Get Document Content\n"
},
"typeVersion": 1
},
{
"id": "b2f25e20-0c61-4af4-b2b5-dbeb20720c3b",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
380,
200
],
"parameters": {
"color": 5,
"width": 440,
"height": 380,
"content": "## AI Summarization\n"
},
"typeVersion": 1
},
{
"id": "af9b81f3-b65d-4957-8471-978dc90970f2",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
920,
420
],
"parameters": {
"color": 5,
"width": 300,
"height": 280,
"content": "## Store Summary in Sheet\n"
},
"typeVersion": 1
},
{
"id": "4cd99298-968b-4a47-bcf9-b4e006d8dab0",
"name": "Generate Summary AI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
460,
280
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"messages": {
"values": [
{
"content": "=Summarise the below content\n {{ $json.content }}"
}
]
}
},
"typeVersion": 1.7
},
{
"id": "af7afd98-8707-4db6-acb0-796427f6e304",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"color": 5,
"width": 800,
"height": 80,
"content": "# Google Doc Summarizer to Google Sheets\n"
},
"typeVersion": 1
},
{
"id": "d0c4ae80-d120-457a-975d-7cfcb963b922",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
760
],
"parameters": {
"color": 5,
"width": 1280,
"content": "## Description\nThis workflow streamlines and automates the end-to-end process of managing recently added document files in Google Drive. It begins by identifying the most recently uploaded .doc file in a designated folder within Google Drive. The document's content is then directly retrieved and passed through an AI-powered summarization model that condenses the content into a concise and meaningful summary. Finally, the summarized content, along with relevant metadata such as the document's name, upload date, and other details, is systematically stored in a Google Sheet. This ensures easy reference, enhanced organization, and quick access to key information, making it an ideal solution for managing and summarizing large volumes of document data efficiently."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b3ee0a62-7c2f-4dc4-9e2c-f16211e02008",
"connections": {
"Wikipedia": {
"ai_tool": [
[
{
"node": "Generate Summary AI",
"type": "ai_tool",
"index": 0
}
]
]
},
"Calculator": {
"ai_tool": [
[
{
"node": "Generate Summary AI",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Docs": {
"main": [
[
{
"node": "Generate Summary AI",
"type": "main",
"index": 0
}
]
]
},
"Google Drive ": {
"main": [
[
{
"node": "Google Docs",
"type": "main",
"index": 0
}
]
]
},
"Generate Summary AI": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
}
}
}