This workflow corresponds to n8n.io template #8926 — we link there as the canonical source.
This workflow follows the Agent → Chainllm 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 →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "06f1fdec-054d-4689-801f-82ff328efa35",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
-352,
-576
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3df64dea-8400-4e81-8169-73e9c962e06d",
"name": "Crear Imagen",
"type": "n8n-nodes-base.httpRequest",
"position": [
-1232,
-192
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "bfdd10e0-18e9-4f39-8872-495d99f6eb8f",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
-1040,
-192
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "e4b6c3d7-8d0e-413d-b7d0-2400e9b23b55",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
-576,
-576
],
"parameters": {},
"typeVersion": 1
},
{
"id": "764e8c8b-12ba-4253-ab30-d1688c8fcc62",
"name": "SerpAPI",
"type": "@n8n/n8n-nodes-langchain.toolSerpApi",
"position": [
-144,
-240
],
"parameters": {},
"typeVersion": 1
},
{
"id": "861a42b9-07b8-4b89-bb90-7302e0055ac2",
"name": "Extraer_pain_points",
"type": "n8n-nodes-base.googleSheets",
"position": [
-816,
-576
],
"parameters": {},
"typeVersion": 4.7
},
{
"id": "decc12a7-3030-4915-9bd3-eb8a994142b7",
"name": "Get_freepik",
"type": "n8n-nodes-base.httpRequest",
"position": [
-848,
-192
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "a82d26ff-6acc-4c89-874d-9ce75f03b6fc",
"name": "agente_post",
"type": "@n8n/n8n-nodes-langchain.agent",
"notes": "AVERIS TECH",
"position": [
-144,
-576
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 2.2
},
{
"id": "5cf14a90-fe0c-4683-940f-f496d3fde335",
"name": "Schedule Trigger1",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-1712,
-576
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "821949c1-6c87-4e8a-b77a-f7eda706ea01",
"name": "nicho_aleatorio",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"notes": "AVERIS TECH",
"position": [
-1424,
-576
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 1.7
},
{
"id": "4b97ba54-5949-4d26-adf3-cbf2bf8ff5ff",
"name": "Code1",
"type": "n8n-nodes-base.code",
"position": [
-1056,
-576
],
"parameters": {},
"typeVersion": 2
},
{
"id": "c70a75e5-5ff0-48fc-9786-23c626ac9839",
"name": "Create a post1",
"type": "n8n-nodes-base.linkedIn",
"position": [
-464,
-192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0dc5a303-4a62-415f-a54e-e325764da9d0",
"name": "Descargar_imagen1",
"type": "n8n-nodes-base.httpRequest",
"position": [
-656,
-192
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "81834057-4ca7-4428-be12-5d4caf3d04e7",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2384,
-816
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2512704d-b6cf-495d-8192-3e7e58ae8dbc",
"name": "Code",
"type": "n8n-nodes-base.code",
"position": [
-1776,
-192
],
"parameters": {},
"typeVersion": 2
},
{
"id": "f2399d87-2118-4a63-97d6-5b9806d92781",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-4544,
-1328
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "49d8636a-2b29-439d-bb70-64659b016206",
"name": "Merger",
"type": "n8n-nodes-base.merge",
"position": [
-2704,
-1408
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "afe54fb2-1364-4848-887a-d247335917cd",
"name": "+5 UPS",
"type": "n8n-nodes-base.filter",
"position": [
-2352,
-1280
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "9815a877-d1ae-4f90-bed5-c50186af8c5a",
"name": "Get many posts Dentist",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-2192
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a17ed7c0-8089-48cd-a057-cde4ec876107",
"name": "Get many posts Accounting",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-1840
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e7686f1b-1f2d-4da3-a00b-ade60db90dea",
"name": "Get many posts Beauty ",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-2016
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c825bda0-54ca-4f28-ab1a-499ac110aa53",
"name": "Get many posts Real Estate",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-1632
],
"parameters": {},
"typeVersion": 1
},
{
"id": "42fac99f-1dff-4d3e-b535-26593b4d3481",
"name": "Get many posts Ecommerce",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-1248
],
"parameters": {},
"typeVersion": 1
},
{
"id": "07421cd7-d3e9-44fe-8448-28ce0d21e8f5",
"name": "Get many posts Online Coach",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9e8d74de-0ff9-4cd5-868b-8085ce6ebaa4",
"name": "Get many posts Online_Education",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-848
],
"parameters": {},
"typeVersion": 1
},
{
"id": "218fd5cf-df51-4fd7-aa4d-76e8d9c6bcc4",
"name": "Get many posts interior_design",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "2d3e43c4-22a3-4188-a6bb-3de5eab62946",
"name": "Get many posts lawyer",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-1440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d80dc0f3-753e-4f4e-b389-7b4c50f3b7a3",
"name": "Get many posts HR",
"type": "n8n-nodes-base.reddit",
"position": [
-3600,
-1040
],
"parameters": {},
"typeVersion": 1
},
{
"id": "22b471b2-4b43-4fe8-a571-8da06e1187ec",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-2096,
-1280
],
"parameters": {},
"typeVersion": 3
},
{
"id": "226725c7-f266-4e04-b50f-cdd029814f90",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
-1216,
-1264
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "4e1d51bf-0f50-4ddf-bb6e-ed0b4a1fd68d",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
-1648,
-1456
],
"parameters": {},
"typeVersion": 1
},
{
"id": "567de777-aa42-4cb5-9e68-cff800f9a422",
"name": "Append row in sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
-240,
-1248
],
"parameters": {},
"typeVersion": 4.7
},
{
"id": "7596fc82-baec-4204-bbda-15dc183066f8",
"name": "Code2",
"type": "n8n-nodes-base.code",
"position": [
-1440,
-1264
],
"parameters": {},
"typeVersion": 2
},
{
"id": "ef86485b-6ca0-4b05-8a6d-96fb64bdc11e",
"name": "Edit Fields1",
"type": "n8n-nodes-base.set",
"position": [
-960,
-1248
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "76ad5c8c-690b-4613-94e6-805c420448c3",
"name": "Code3",
"type": "n8n-nodes-base.code",
"position": [
-448,
-1248
],
"parameters": {},
"typeVersion": 2
},
{
"id": "16d8b5c1-cce0-41e6-8fbb-d47167f43114",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-4720,
-2288
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dbbbbe6d-07f9-4f33-98a2-ba2497a4f673",
"name": "agente_pain_points",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-1856,
-1264
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "a1aec5fb-5068-4091-a875-cd3ef39e730a",
"name": "agente_soluciones",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
-752,
-1248
],
"parameters": {},
"typeVersion": 1.7
},
{
"id": "ab09bd35-74c7-4046-8136-3ca63cd442dd",
"name": "prompt_imagen",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"notes": "AVERIS TECH",
"position": [
-1568,
-192
],
"parameters": {},
"notesInFlow": false,
"typeVersion": 1.7
},
{
"id": "586e3981-f415-4f91-a77e-bbcbc7caf73b",
"name": "Gemini 2.5 Pro",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-352,
80
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0dc66489-6297-4f30-947e-95798f2fd270",
"name": "OpenAI 4.1 Mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-688,
-992
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3eec15ba-6363-41b7-bdb0-f3165370f558",
"name": "OpenAi 4.1 Mini",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
-1312,
-384
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f2879c4c-a06e-4b4e-a608-6d4d246941d2",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-976,
-1968
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b3555d2b-cb88-4d51-a2ab-effd2c6cc3a9",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-1696
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fce0363b-3cb6-444a-b86c-8a6c844c4c0e",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-2400,
-1840
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e63ea8d3-50d4-45c5-bbe6-37314c4b12e4",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
-816
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "1b3b761f-05ed-435b-b2f7-4195703efce7",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-976,
-1568
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "41f219b1-d7d2-4f58-889b-7019305962b6",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
80,
-2048
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"If": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
],
[
{
"node": "Edit Fields1",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "prompt_imagen",
"type": "main",
"index": 0
}
]
]
},
"Wait": {
"main": [
[
{
"node": "Get_freepik",
"type": "main",
"index": 0
}
]
]
},
"Code1": {
"main": [
[
{
"node": "Extraer_pain_points",
"type": "main",
"index": 0
}
]
]
},
"Code2": {
"main": [
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Code3": {
"main": [
[
{
"node": "Append row in sheet",
"type": "main",
"index": 0
}
]
]
},
"+5 UPS": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Merger": {
"main": [
[
{
"node": "+5 UPS",
"type": "main",
"index": 0
}
]
]
},
"SerpAPI": {
"ai_tool": [
[
{
"node": "agente_post",
"type": "ai_tool",
"index": 0
}
]
]
},
"Aggregate": {
"main": [
[
{
"node": "Edit Fields",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields": {
"main": [
[
{
"node": "agente_post",
"type": "main",
"index": 0
}
]
]
},
"Get_freepik": {
"main": [
[
{
"node": "Descargar_imagen1",
"type": "main",
"index": 0
}
]
]
},
"agente_post": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Crear Imagen": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Edit Fields1": {
"main": [
[
{
"node": "agente_soluciones",
"type": "main",
"index": 0
}
]
]
},
"prompt_imagen": {
"main": [
[
{
"node": "Crear Imagen",
"type": "main",
"index": 0
}
]
]
},
"Gemini 2.5 Pro": {
"ai_languageModel": [
[
{
"node": "agente_post",
"type": "ai_languageModel",
"index": 0
},
{
"node": "prompt_imagen",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "No Operation, do nothing",
"type": "main",
"index": 0
}
],
[
{
"node": "agente_pain_points",
"type": "main",
"index": 0
}
]
]
},
"OpenAI 4.1 Mini": {
"ai_languageModel": [
[
{
"node": "agente_pain_points",
"type": "ai_languageModel",
"index": 0
},
{
"node": "agente_soluciones",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAi 4.1 Mini": {
"ai_languageModel": [
[
{
"node": "nicho_aleatorio",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"nicho_aleatorio": {
"main": [
[
{
"node": "Code1",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get many posts Dentist",
"type": "main",
"index": 0
},
{
"node": "Get many posts Beauty ",
"type": "main",
"index": 0
},
{
"node": "Get many posts Accounting",
"type": "main",
"index": 0
},
{
"node": "Get many posts Real Estate",
"type": "main",
"index": 0
},
{
"node": "Get many posts lawyer",
"type": "main",
"index": 0
},
{
"node": "Get many posts Ecommerce",
"type": "main",
"index": 0
},
{
"node": "Get many posts HR",
"type": "main",
"index": 0
},
{
"node": "Get many posts Online_Education",
"type": "main",
"index": 0
},
{
"node": "Get many posts Online Coach",
"type": "main",
"index": 0
},
{
"node": "Get many posts interior_design",
"type": "main",
"index": 0
}
]
]
},
"Descargar_imagen1": {
"main": [
[
{
"node": "Create a post1",
"type": "main",
"index": 0
}
]
]
},
"Get many posts HR": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 6
}
]
]
},
"Schedule Trigger1": {
"main": [
[
{
"node": "nicho_aleatorio",
"type": "main",
"index": 0
}
]
]
},
"agente_soluciones": {
"main": [
[
{
"node": "Code3",
"type": "main",
"index": 0
}
]
]
},
"agente_pain_points": {
"main": [
[
{
"node": "Code2",
"type": "main",
"index": 0
}
]
]
},
"Append row in sheet": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Extraer_pain_points": {
"main": [
[
{
"node": "Aggregate",
"type": "main",
"index": 0
}
]
]
},
"Get many posts lawyer": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 4
}
]
]
},
"Get many posts Beauty ": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 1
}
]
]
},
"Get many posts Dentist": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 0
}
]
]
},
"Get many posts Ecommerce": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 5
}
]
]
},
"Get many posts Accounting": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 2
}
]
]
},
"Get many posts Real Estate": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 3
}
]
]
},
"Get many posts Online Coach": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 8
}
]
]
},
"Get many posts interior_design": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 9
}
]
]
},
"Get many posts Online_Education": {
"main": [
[
{
"node": "Merger",
"type": "main",
"index": 7
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow transforms scattered Reddit discussions into a systematic lead generation machine by discovering actual marketing problems businesses face and automatically converting them into authoritative LinkedIn content that attracts qualified prospects.
Source: https://n8n.io/workflows/8926/ — 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.
How it works Automates daily LinkedIn post creation from trending AI tweets. Fetches latest tweets, processes content, checks for duplicates, converts to LinkedIn-ready format, schedules, and posts au
Instead of manually writing, designing, and posting content, this workflow turns a single Google Sheet row into multi-platform posts plus a custom AI image that matches your message.
This workflow is built for creators, solopreneurs, SaaS founders, and agencies looking to automate their social media content process from idea to publication. It combines the power of OpenAI, Google
This workflow automates trend extraction and social media content creation for businesses and marketers. It eliminates manual trend research and content generation by fetching trends, scoring them wit
Credentials-Setup. Uses twitter, reddit, googleDocs, googleDrive. Event-driven trigger; 43 nodes.