This workflow corresponds to n8n.io template #4445 β we link there as the canonical source.
This workflow follows the Chainllm β Google Drive recipe pattern β see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide β
{
"id": "DzlbbUj5ydTqDTF5",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Adobe stock workflow",
"tags": [],
"nodes": [
{
"id": "4d9f8f48-d29e-43a5-8c30-41d2008c779b",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-3480,
60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7e301ffa-d82a-4f13-8527-edf5a2a609a2",
"name": "Set Date Info",
"type": "n8n-nodes-base.code",
"position": [
-3280,
60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "874d35db-a40a-4ee4-a789-c260a193eda1",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2880,
60
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "6565f357-d72e-457e-b99d-70299701a742",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1040,
-100
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "57941742-8e71-49d2-b660-994cca5c7d2a",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
-980,
-20
],
"parameters": {},
"executeOnce": true,
"typeVersion": 3.4
},
{
"id": "ae6fb81d-c153-4e06-9f56-5fb99b50633a",
"name": "Generate Image",
"type": "n8n-nodes-base.httpRequest",
"position": [
-780,
-20
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "2572c69f-d725-4896-bff6-2083b1103e52",
"name": "Create Folder for images",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1800,
240
],
"parameters": {},
"typeVersion": 3
},
{
"id": "3a334d41-383d-42e4-8f4c-de54cd6928ee",
"name": "Create New Sheet",
"type": "n8n-nodes-base.googleDrive",
"position": [
-1800,
-40
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e873a5c2-5153-4c8b-94e5-abd098daa753",
"name": "Set Folder ID sheet",
"type": "n8n-nodes-base.code",
"position": [
-1440,
-120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "06862a51-483c-4e72-aa7c-a6ed5cac55b7",
"name": "Set Folder ID drive folder",
"type": "n8n-nodes-base.code",
"position": [
-1440,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "04462471-bea3-459a-bc87-d54dee283db5",
"name": "Sheet Exists?",
"type": "n8n-nodes-base.if",
"position": [
-2100,
-100
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "cdd50ad4-ab4a-416d-8ef6-646bf80232ce",
"name": "Folder Exists?",
"type": "n8n-nodes-base.if",
"position": [
-2100,
160
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": false
},
{
"id": "e886b68f-7c34-4e3f-beb1-bef34216f4a0",
"name": "Check the folder",
"type": "n8n-nodes-base.googleDrive",
"onError": "continueRegularOutput",
"position": [
-2320,
160
],
"parameters": {},
"executeOnce": false,
"typeVersion": 3,
"alwaysOutputData": true
},
{
"id": "b85d86bd-89af-4142-b758-6af070c6405d",
"name": "Check sheet",
"type": "n8n-nodes-base.googleDrive",
"onError": "continueRegularOutput",
"position": [
-2320,
-100
],
"parameters": {},
"executeOnce": false,
"typeVersion": 3,
"alwaysOutputData": true
},
{
"id": "813df498-2871-4a16-80c8-cc18fdc39000",
"name": "Comp Images",
"type": "n8n-nodes-base.editImage",
"position": [
500,
-200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "84845fe5-d4ba-4de2-84ea-26c5015cd841",
"name": "Analyze images",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
740,
-200
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "f3c23249-97a2-49cb-973a-4894a10768a5",
"name": "Split Out data",
"type": "n8n-nodes-base.splitOut",
"position": [
920,
-200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0259d882-1839-4488-96da-9abdac653d59",
"name": "Resize Image X2",
"type": "n8n-nodes-base.editImage",
"position": [
500,
160
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d6201a89-3eaf-4b65-acb2-31ccfea4a46e",
"name": "Numbering",
"type": "n8n-nodes-base.code",
"position": [
500,
20
],
"parameters": {},
"typeVersion": 2
},
{
"id": "fa55c7c6-5db2-4ce4-b56c-b247f76673bf",
"name": "Parse OpenAI Response",
"type": "n8n-nodes-base.code",
"position": [
1160,
-200
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8f2d45ef-a4ad-4a6f-801f-b4f3e3460a81",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"position": [
1580,
120
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "2014cbcd-9e1d-4a92-9724-c4074ab8a177",
"name": "Google Sheets3",
"type": "n8n-nodes-base.googleSheets",
"position": [
1380,
-200
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "a5107e43-bba9-44bb-abbc-02a2659c35ef",
"name": "Code4",
"type": "n8n-nodes-base.code",
"position": [
920,
120
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f4738f03-3664-41a5-83c9-c15b4e92ffee",
"name": "Google Sheets4",
"type": "n8n-nodes-base.googleSheets",
"position": [
1340,
120
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "fe5af04c-fff5-4523-81ef-54dbea772424",
"name": "Merge2",
"type": "n8n-nodes-base.merge",
"position": [
-1180,
-20
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "091a500b-5543-46ba-9932-3dc97c12d561",
"name": "filter data date",
"type": "n8n-nodes-base.code",
"position": [
-3080,
60
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b7005e48-80e5-422c-a3af-0d131cd10fee",
"name": "Select Prompt",
"type": "n8n-nodes-base.code",
"position": [
-2680,
60
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ce370335-33c6-4277-9e61-daf63656cef3",
"name": "Get Images",
"type": "n8n-nodes-base.httpRequest",
"position": [
-400,
-20
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "2e15bce7-a769-4d77-8d50-8d48a638b436",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
-200,
240
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "f05054f4-7d0b-4075-8552-5572c49d8bfd",
"name": "Check if it has data?",
"type": "n8n-nodes-base.if",
"position": [
-200,
-20
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d9d7dcb6-6984-4538-8d5b-4a6d5286cbd2",
"name": "Split Out",
"type": "n8n-nodes-base.splitOut",
"position": [
20,
-40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8d222088-a32e-4e32-b8d9-2957e9636d1e",
"name": "Download Images",
"type": "n8n-nodes-base.httpRequest",
"position": [
200,
-40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "c12a0839-cf14-47f1-9e23-ed4602c52607",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"position": [
740,
120
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "ac791c27-3821-446f-8af3-db5e8afc82b5",
"name": "Upload Images",
"type": "n8n-nodes-base.googleDrive",
"position": [
1160,
120
],
"parameters": {},
"typeVersion": 3
},
{
"id": "1e80f5a3-c0e7-499c-a0d5-4537d7d9b767",
"name": "20 seconds",
"type": "n8n-nodes-base.wait",
"position": [
-600,
-20
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "92143600-5a94-4420-aa12-84128cb93790",
"name": "Log Error",
"type": "n8n-nodes-base.googleSheets",
"position": [
1060,
660
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "d6413bd4-9e9f-46f4-bc86-41dda9fcfbe6",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
600,
600
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a0f833dd-235d-408a-b0b3-c86a46dfb310",
"name": "Split Prompts",
"type": "n8n-nodes-base.function",
"position": [
-2600,
-420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5244690e-e0a1-49bd-8271-5438e7a2b243",
"name": "Create Loop Indexes",
"type": "n8n-nodes-base.function",
"position": [
-3260,
-420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "aeb0f7fd-66df-458e-851e-06cc42724ff9",
"name": "Merge Batches",
"type": "n8n-nodes-base.merge",
"position": [
-2420,
-400
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4d7f4b84-e1d8-429f-908b-9462722abf16",
"name": "Set Topic",
"type": "n8n-nodes-base.set",
"position": [
-3100,
-420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "236f37c2-915d-4bf2-8e10-f3b2f644d23d",
"name": "Google Sheets1",
"type": "n8n-nodes-base.googleSheets",
"position": [
-3440,
-420
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "d9f4ac0b-c728-48ec-908a-505223fd1f30",
"name": "Google Sheets2",
"type": "n8n-nodes-base.googleSheets",
"position": [
-2200,
-400
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "d83eccf2-c38c-4e56-8c58-0b2ccc3c5a55",
"name": "Prompt Generator",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-2940,
-420
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "f02ef852-39a5-4b9e-a576-728edff2989a",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-2920,
-240
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "bab3950b-1e5d-46f2-a61f-485d55504850",
"name": "Schedule Trigger1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-3620,
-420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "5c4dcabe-ee98-4bf9-9a93-5f818721cc5c",
"name": "Telegram1",
"type": "n8n-nodes-base.telegram",
"position": [
1060,
880
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "cc949ce8-1ad0-4a48-a603-a0c833b9a4cb",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
720,
800
],
"parameters": {},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "52fd0309-a2be-45d2-9cba-a7be864dbd82",
"connections": {
"Wait": {
"main": [
[
{
"node": "Get Images",
"type": "main",
"index": 0
}
]
]
},
"Code4": {
"main": [
[
{
"node": "Upload Images",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Code4",
"type": "main",
"index": 0
}
]
]
},
"Merge2": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"ai_languageModel": [
[
{
"node": "Prompt Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Numbering": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Set Topic": {
"main": [
[
{
"node": "Prompt Generator",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Download Images",
"type": "main",
"index": 0
}
]
]
},
"20 seconds": {
"main": [
[
{
"node": "Get Images",
"type": "main",
"index": 0
}
]
]
},
"Get Images": {
"main": [
[
{
"node": "Check if it has data?",
"type": "main",
"index": 0
}
]
]
},
"Split Out1": {
"main": [
[
{
"node": "Switch",
"type": "main",
"index": 0
}
]
]
},
"Check sheet": {
"main": [
[
{
"node": "Sheet Exists?",
"type": "main",
"index": 0
}
]
]
},
"Comp Images": {
"main": [
[
{
"node": "Analyze images",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "Generate Image",
"type": "main",
"index": 0
}
]
]
},
"Error Trigger": {
"main": [
[
{
"node": "Log Error",
"type": "main",
"index": 0
},
{
"node": "Telegram1",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets": {
"main": [
[
{
"node": "Select Prompt",
"type": "main",
"index": 0
}
]
]
},
"Merge Batches": {
"main": [
[
{
"node": "Google Sheets2",
"type": "main",
"index": 0
}
]
]
},
"Select Prompt": {
"main": [
[
{
"node": "Check the folder",
"type": "main",
"index": 0
},
{
"node": "Check sheet",
"type": "main",
"index": 0
}
]
]
},
"Set Date Info": {
"main": [
[
{
"node": "filter data date",
"type": "main",
"index": 0
}
]
]
},
"Sheet Exists?": {
"main": [
[
{
"node": "Set Folder ID sheet",
"type": "main",
"index": 0
}
],
[
{
"node": "Create New Sheet",
"type": "main",
"index": 0
}
]
]
},
"Split Prompts": {
"main": [
[
{
"node": "Merge Batches",
"type": "main",
"index": 0
}
]
]
},
"Upload Images": {
"main": [
[
{
"node": "Google Sheets4",
"type": "main",
"index": 0
}
]
]
},
"Analyze images": {
"main": [
[
{
"node": "Split Out data",
"type": "main",
"index": 0
}
]
]
},
"Folder Exists?": {
"main": [
[
{
"node": "Set Folder ID drive folder",
"type": "main",
"index": 0
}
],
[
{
"node": "Create Folder for images",
"type": "main",
"index": 0
}
]
]
},
"Generate Image": {
"main": [
[
{
"node": "20 seconds",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets1": {
"main": [
[
{
"node": "Create Loop Indexes",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets4": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"Split Out data": {
"main": [
[
{
"node": "Parse OpenAI Response",
"type": "main",
"index": 0
}
]
]
},
"Download Images": {
"main": [
[
{
"node": "Comp Images",
"type": "main",
"index": 0
},
{
"node": "Resize Image X2",
"type": "main",
"index": 0
}
]
]
},
"Resize Image X2": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Check the folder": {
"main": [
[
{
"node": "Folder Exists?",
"type": "main",
"index": 0
}
]
]
},
"Create New Sheet": {
"main": [
[
{
"node": "Set Folder ID sheet",
"type": "main",
"index": 0
}
]
]
},
"Prompt Generator": {
"main": [
[
{
"node": "Split Prompts",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Set Date Info",
"type": "main",
"index": 0
}
]
]
},
"filter data date": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "Google Sheets1",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger2": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
},
{
"node": "Google Drive9",
"type": "main",
"index": 0
}
]
]
},
"Execute Workflow18": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Create Loop Indexes": {
"main": [
[
{
"node": "Set Topic",
"type": "main",
"index": 0
}
]
]
},
"Set Folder ID sheet": {
"main": [
[
{
"node": "Merge2",
"type": "main",
"index": 0
}
]
]
},
"Check if it has data?": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
],
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Parse OpenAI Response": {
"main": [
[
{
"node": "Numbering",
"type": "main",
"index": 0
},
{
"node": "Google Sheets3",
"type": "main",
"index": 0
}
]
]
},
"Create Folder for images": {
"main": [
[
{
"node": "Set Folder ID drive folder",
"type": "main",
"index": 0
}
]
]
},
"Set Folder ID drive folder": {
"main": [
[
{
"node": "Merge2",
"type": "main",
"index": 1
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
YOUTUBE GUIDE π£ This template generates up to 2,000 AI-based stock images per day for under $4. It includes prompt generation, image creation, metadata enrichment, upload to Google Drive, and error logging β fully automated with minimal setup.
Source: https://n8n.io/workflows/4445/ β original creator credit. Request a take-down β
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow is designed for: Content creators and marketers E-commerce and product-based businesses Agencies producing social media visuals and videos Automation builders looking for AI-powered crea
This workflow automates the creation, rendering, approval, and posting of TikTok-style POV (Point of View) videos to Instagram, with cross-posting to Facebook and YouTube. It eliminates manual video p
Create viral POV-style faceless videos automatically β from topic β visuals β sounds β rendered video β upload. This workflow is built for creators, YouTubers, automation agencies, and content studios
Job seekers who want to automate their entire job search pipeline β from discovering new listings to generating tailored resumes and cover letters β without manually browsing LinkedIn every day.
This n8n workflow is designed for content creators, digital marketers, and social media managers who want to automate their entire content creation and publishing process across multiple platforms. It