This workflow corresponds to n8n.io template #3430 — we link there as the canonical source.
This workflow follows the Agent → OpenAI Chat 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": "FtnVTVBkFjSPqxYA",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Generate Multiple T-shirt Design Prompts From Images With GPT-4o",
"tags": [],
"nodes": [
{
"id": "54a0d7cf-91a9-4530-ad0e-de7ff7e6c5e6",
"name": "Local File Trigger",
"type": "n8n-nodes-base.localFileTrigger",
"position": [
-80,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5233e827-824e-4753-91bd-2e7c8eb99871",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
620,
140
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "095cb29a-edf6-4151-9df3-180d242fee1d",
"name": "Converter",
"type": "n8n-nodes-base.code",
"position": [
80,
0
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f3b6b4b7-46f2-464a-b93b-fbe0156ab483",
"name": "Get Image From File",
"type": "n8n-nodes-base.readWriteFile",
"position": [
280,
0
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "b148cc23-7872-498f-96d0-40693e839073",
"name": "Analyze Image",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
460,
0
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "0c16ca29-37ba-4b33-abe0-3fe6a7872029",
"name": "Prompt/Text Generator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
640,
0
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "659286b5-66f4-4be6-8162-b4152b89e296",
"name": "Convert To Text",
"type": "n8n-nodes-base.convertToFile",
"position": [
1000,
0
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "f72e667e-64ba-491d-bf78-fb86ef76af85",
"name": "Save To File",
"type": "n8n-nodes-base.readWriteFile",
"position": [
1220,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "34c512ad-4a59-4707-9cda-21083f8b508e",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
-720
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "b6dc98e7-25aa-4610-be01-56539e728c7c",
"connections": {
"Converter": {
"main": [
[
{
"node": "Get Image From File",
"type": "main",
"index": 0
}
]
]
},
"Analyze Image": {
"main": [
[
{
"node": "Prompt/Text Generator",
"type": "main",
"index": 0
}
]
]
},
"Convert To Text": {
"main": [
[
{
"node": "Save To File",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Prompt/Text Generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Local File Trigger": {
"main": [
[
{
"node": "Converter",
"type": "main",
"index": 0
}
]
]
},
"Get Image From File": {
"main": [
[
{
"node": "Analyze Image",
"type": "main",
"index": 0
}
]
]
},
"Prompt/Text Generator": {
"main": [
[
{
"node": "Convert To Text",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This Workflow uses a community node.
Source: https://n8n.io/workflows/3430/ — 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.
Reconcile Rent Payments With Local Excel Spreadsheet And Openai. Uses localFileTrigger, toolCode, outputParserStructured, readWriteFile. Event-driven trigger; 17 nodes.
Localfile Splitout. Uses localFileTrigger, toolCode, outputParserStructured, readWriteFile. Event-driven trigger; 17 nodes.
This n8n workflow is designed to work on the local network and assists with reconciling downloaded bank statements with internal tenant records to quickly highlight any issues with payments such as mi
TEST_Child. Uses executeWorkflowTrigger, openAi, readWriteFile, agent. Event-driven trigger; 11 nodes.
This workflow contains a community node.