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": "VYfNOz0agvhX4kcA",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "Generate & Post LinkedIn Content Automatically with GPT-4 & GPT Image 1",
"tags": [],
"nodes": [
{
"id": "7b2d1731-957b-47af-9abb-a16be9a579cc",
"name": "On form submission",
"type": "n8n-nodes-base.formTrigger",
"position": [
-1216,
-96
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "ac13ee60-e8b3-497a-b7c9-2edcbea48619",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-800,
128
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a5baff02-88a1-420a-9968-320a89be3c0e",
"name": "AI Agent Content Generator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-992,
-96
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "aa54c9c9-265b-48d2-a21f-c17ba6e3b350",
"name": "Ai Agent Prompt Image generator",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-640,
-96
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "2ce60a25-f692-49f5-bb42-c5a7927bd151",
"name": "Send a message",
"type": "n8n-nodes-base.gmail",
"position": [
160,
-96
],
"parameters": {},
"typeVersion": 2.1
},
{
"id": "b3307f18-13bd-47b1-b481-892569f411f3",
"name": "Upload file",
"type": "n8n-nodes-base.googleDrive",
"position": [
-64,
-96
],
"parameters": {},
"typeVersion": 3
},
{
"id": "ee365c7e-0de2-4584-a992-a1fd1b0f20ed",
"name": "Create a post",
"type": "n8n-nodes-base.linkedIn",
"position": [
608,
-96
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8a489482-c2f0-490d-a2ed-1e868cabe2c7",
"name": "Download file",
"type": "n8n-nodes-base.googleDrive",
"position": [
384,
-96
],
"parameters": {},
"typeVersion": 3
},
{
"id": "e0743a3a-75a2-41c6-820a-c603c16e815b",
"name": "Image-1",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
-288,
-96
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "177d7dff-d694-4607-beb2-eae682d26d2b",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1280,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "9ea0d4fc-350f-4774-9746-ac3b00a22f5a",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-352,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cb53ab59-f032-4f21-8a20-2b4d6381fc09",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-112,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fda3adbd-6423-4c5b-a2e6-77daa16b6cc7",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
336,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "79012684-ac59-4e84-8c04-62fe8ad1d137",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2096,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "11a24363-3ee0-4324-870e-4af39eb4fa2f",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1296,
352
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3e70332c-1f40-4db8-b5d2-ab74210fbc28",
"name": "Research Sources",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
-624,
128
],
"parameters": {},
"typeVersion": 1.1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "48c8adf3-e710-44ff-a4aa-9e3f84c8fdb6",
"connections": {
"Image-1": {
"main": [
[
{
"node": "Upload file",
"type": "main",
"index": 0
}
]
]
},
"Upload file": {
"main": [
[
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
},
"Download file": {
"main": [
[
{
"node": "Create a post",
"type": "main",
"index": 0
}
]
]
},
"Send a message": {
"main": [
[
{
"node": "Download file",
"type": "main",
"index": 0
}
]
]
},
"Research Sources": {
"ai_tool": [
[
{
"node": "AI Agent Content Generator",
"type": "ai_tool",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent Content Generator",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Ai Agent Prompt Image generator",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"On form submission": {
"main": [
[
{
"node": "AI Agent Content Generator",
"type": "main",
"index": 0
}
]
]
},
"AI Agent Content Generator": {
"main": [
[
{
"node": "Ai Agent Prompt Image generator",
"type": "main",
"index": 0
}
]
]
},
"Ai Agent Prompt Image generator": {
"main": [
[
{
"node": "Image-1",
"type": "main",
"index": 0
}
]
]
}
}
}
About this workflow
Generate & Post LinkedIn Content Automatically with GPT-4 & GPT Image 1. Uses formTrigger, lmChatOpenAi, agent, gmail. Event-driven trigger; 16 nodes.
Source: https://github.com/ScraperNode/awesome-n8n-templates/blob/main/templates/ai-and-llm/7801-generate-post-linkedin-content-automatically-with-gpt-4-gpt-image-1/workflow.json — original creator credit. Request a take-down →