This workflow corresponds to n8n.io template #6592 — we link there as the canonical source.
This workflow follows the Chainllm → Emailsend 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": "2cb7b4bd-a165-456b-89dc-0f8c96e2f197",
"name": "When clicking \u2018Test workflow\u2019",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-528,
-720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6f1b09fd-f77a-48ad-94b3-27715a6ab86c",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1552,
-352
],
"parameters": {
"jsonSchemaExample": "{\n\t\"userProblem\": \"The users painpoint / problem quickly summarized\"\n}"
},
"typeVersion": 1.2
},
{
"id": "2b6cd5ca-a448-47e8-8292-b11e271de887",
"name": "Get Posts sorted by replies",
"type": "n8n-nodes-base.httpRequest",
"position": [
-304,
-448
],
"parameters": {
"url": "https://community.n8n.io/c/questions/12?max_posts=1",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "c7a1aa24-0d7d-470f-8447-2a8478e795ef",
"name": "Extract links",
"type": "n8n-nodes-base.html",
"position": [
-80,
-448
],
"parameters": {
"options": {},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "link",
"attribute": "href",
"cssSelector": ".raw-topic-link",
"returnArray": true,
"returnValue": "attribute"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "17a6a92f-27e5-4cba-ad53-f142948b8022",
"name": "Extract Post details",
"type": "n8n-nodes-base.html",
"position": [
864,
-448
],
"parameters": {
"options": {
"cleanUpText": true
},
"operation": "extractHtmlContent",
"extractionValues": {
"values": [
{
"key": "title",
"cssSelector": "#topic-title a"
},
{
"key": "category",
"cssSelector": ".topic-category .category-name"
},
{
"key": "body",
"cssSelector": ".topic-body .post"
},
{
"key": "posted",
"attribute": "content",
"cssSelector": "meta[itemprop=\"datePublished\"]",
"returnValue": "attribute"
},
{
"key": "link",
"attribute": "href",
"cssSelector": "link[itemprop=\"url\"]",
"returnValue": "attribute"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "f812da1f-15ad-4e23-86bc-a901889a1114",
"name": "Send every morning at 9am",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-528,
-304
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 0 9 * * *"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "301577ca-6195-4d4d-8560-e76b935512dd",
"name": "Text Classifier",
"type": "@n8n/n8n-nodes-langchain.textClassifier",
"position": [
144,
-944
],
"parameters": {
"options": {},
"inputText": "=Title: {{ $json.title }}\nPost: {{ $json.post }}",
"categories": {
"categories": [
{
"category": "QUESTION_HELP",
"description": "The user has a problem that needs solving or asked a question on how to do something"
},
{
"category": "JOB_POST",
"description": "The user is posting a job. Loooking for an expert."
},
{
"category": "SELF_PROMOTION",
"description": "The user is promoting somehting that he/she built"
},
{
"category": "QUESTION_GENERAL",
"description": "The user is looking to initiate a general discussion."
}
]
}
},
"typeVersion": 1
},
{
"id": "10125c7a-95f5-4d72-827e-03cfbc1802ad",
"name": "Get latest 50 reddit posts",
"type": "n8n-nodes-base.reddit",
"position": [
-304,
-912
],
"parameters": {
"limit": 50,
"filters": {
"category": "new"
},
"operation": "getAll",
"subreddit": "n8n"
},
"credentials": {
"redditOAuth2Api": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "2cce0028-84fe-4ca4-96ab-1f14927bcfd0",
"name": "Send every afternoon at 5pm",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-528,
-1056
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "0 0 17 * * *"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "804af4ec-0bf4-4733-9d81-8a6cc93f62cb",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
208,
-688
],
"parameters": {
"options": {}
},
"credentials": {
"openRouterApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "65eed9cb-996d-4c39-8988-b2e7a2967288",
"name": "OpenRouter Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
912,
-864
],
"parameters": {
"options": {}
},
"credentials": {
"openRouterApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "046f9f69-68d4-4d7a-b533-88944e545494",
"name": "OpenRouter Chat Model2",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
1376,
-352
],
"parameters": {
"options": {}
},
"credentials": {
"openRouterApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"id": "b3b81418-76b7-450c-a6c6-0806c777bd13",
"name": "Select Post Title & Body",
"type": "n8n-nodes-base.set",
"position": [
-80,
-912
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "32e797a5-75b1-4b03-91e3-b45fb1713bbe",
"name": "subreddit",
"type": "string",
"value": "={{ $json.subreddit }}"
},
{
"id": "5463fed9-29c5-4fea-ba02-898a8334bcb4",
"name": "title",
"type": "string",
"value": "={{ $json.title }}"
},
{
"id": "234c2078-d453-4edb-bb41-c98285b92e32",
"name": "post",
"type": "string",
"value": "={{ $json.selftext }}"
},
{
"id": "2+1234567890d-84b0-84818a3999a0",
"name": "creator",
"type": "string",
"value": "={{ $json.name }}"
},
{
"id": "194c3860-2ec0-4470-b275-4e702d2bb62a",
"name": "createdDate",
"type": "string",
"value": "={{new Date($json.created* 1000)}}"
},
{
"id": "87a02b38-6291-4e94-be29-cb1cc4270f3c",
"name": "ups",
"type": "string",
"value": "={{ $json.ups }}"
},
{
"id": "7f3fd9fe-e42f-409d-b89c-83770e08682c",
"name": "comments",
"type": "string",
"value": "={{ $json.num_comments }}"
},
{
"id": "dadcec52-2ce8-4e3d-a7c7-a0ab5fb54f74",
"name": "link",
"type": "string",
"value": "={{ $json.url }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "cf3eb7eb-d631-4793-8bbe-e9745eb5a810",
"name": "Filter for Questions",
"type": "n8n-nodes-base.filter",
"position": [
656,
-960
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "be412321-5456-4b6c-9944-9701750e2acd",
"operator": {
"type": "number",
"operation": "equals"
},
"leftValue": "={{ Number($json.comments) }}",
"rightValue": 0
}
]
}
},
"typeVersion": 2.2
},
{
"id": "446bc6f9-96e7-4f6a-823f-28faf1a5e143",
"name": "Summarize Reddit Questions",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
880,
-1088
],
"parameters": {
"text": "=<content> \nTitle: {{ $json.title }}\nPost:{{ $json.post }} \n</content>\n",
"messages": {
"messageValues": [
{
"message": "=\n<purpose>\n You are an expert in analysing n8n user problems. You receive comments of users that are looking for help and provide a quick summary on what the user is struggeling with.\n</purpose>\n\n<instructions>\n <instruction>Output in json format</instruction>\n <instruction>Please keep it short and concise. One sentence max.</instruction>\n <instruction>Try to really highlight the users problem / pain point</instruction>\n</instructions>\n\n"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.5
},
{
"id": "43041806-7e61-4ee2-ab30-eb379338e144",
"name": "Format Reddit Summary",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1040,
-864
],
"parameters": {
"jsonSchemaExample": "{\n\t\"userProblem\": \"The users painpoint / problem quickly summarized\"\n}"
},
"typeVersion": 1.2
},
{
"id": "d5bccf17-fc5a-41ea-af89-e10467850252",
"name": "Combine Reddit Post & Summary",
"type": "n8n-nodes-base.merge",
"position": [
1280,
-960
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3
},
{
"id": "e2c973e9-9e7d-4008-87a0-50efa6d3fb9c",
"name": "Prepare Reddit Email Body",
"type": "n8n-nodes-base.code",
"position": [
1488,
-960
],
"parameters": {
"jsCode": "const items = $input.all().map((item) => {\n const itemJson = item.json;\n return {\n ...itemJson,\n userProblem: itemJson.output.userProblem,\n output: undefined // Remove the original output object\n };\n});\nreturn { data: items };\n"
},
"typeVersion": 2
},
{
"id": "9b1737db-aa73-4637-b53c-5ca52b42ce85",
"name": "Send Reddit Summary Email",
"type": "n8n-nodes-base.emailSend",
"position": [
1680,
-960
],
"parameters": {
"html": "={{$input.first().json.data.sort((a,b) => parseInt(b.ups) - parseInt(a.ups)).reduce((html, issue) => html + '<div class=\"issue\"><div class=\"title\">' + issue.title + '</div><div class=\"problem\"><strong>Problem:</strong> ' + issue.userProblem + '</div><div class=\"meta\">Posted: ' + new Date(issue.createdDate.replace(/\"/g, '')).toLocaleString() + ' | Upvotes: ' + issue.ups + ' | <a href=\"' + issue.link + '\" class=\"link\">View on Reddit</a></div></div>', '<!DOCTYPE html><html><head><style>body{font-family:Arial,sans-serif;line-height:1.6;color:#333}.container{max-width:800px;margin:0 auto;padding:20px}.issue{border:1px solid #ddd;margin-bottom:20px;padding:15px;border-radius:5px}.title{color:#2c5282;font-weight:bold;font-size:18px;margin-bottom:10px}.problem{background:#f8f9fa;padding:10px;border-left:4px solid #4299e1;margin:10px 0}.meta{color:#666;font-size:14px;margin-top:10px}.link{color:#4299e1;text-decoration:none}.link:hover{text-decoration:underline}</style></head><body><div class=\"container\"><h1>n8n Subreddit Issues Summary</h1><p>Generated on: ' + new Date().toLocaleString() + '</p>') + '</div></body></html>'}}\n",
"options": {},
"subject": "Latest n8n User Problems ",
"toEmail": "user@example.com",
"fromEmail": "user@example.com"
},
"credentials": {
"smtp": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "0d2454c1-2087-4e8c-a9da-930328540af7",
"name": "Process Each Forum Link",
"type": "n8n-nodes-base.splitOut",
"position": [
240,
-448
],
"parameters": {
"options": {},
"fieldToSplitOut": "link"
},
"typeVersion": 1
},
{
"id": "77b25df7-78a2-4eb3-857c-96782ca87ed5",
"name": "Fetch Individual Forum Posts",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"maxTries": 2,
"position": [
544,
-448
],
"parameters": {
"url": "={{ $json.link }}",
"options": {
"batching": {
"batch": {
"batchSize": 5,
"batchInterval": 10000
}
}
}
},
"retryOnFail": false,
"typeVersion": 4.2,
"waitBetweenTries": 5000
},
{
"id": "6560f53e-4194-4b06-ab59-07833ada7374",
"name": "Summarize n8n Forum Posts",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1392,
-576
],
"parameters": {
"text": "=<content> \nTitle: {{ $json.title }}\nPost:{{ $json.body }} \n</content>\n",
"messages": {
"messageValues": [
{
"message": "=\n<purpose>\n You are an expert in analysing n8n user problems. You receive comments of users that are looking for help and provide a quick summary on what the user is struggeling with.\n</purpose>\n\n<instructions>\n <instruction>Output in json format</instruction>\n <instruction>Please keep it short and concise. One sentence max.</instruction>\n <instruction>Try to really highlight the users problem / pain point</instruction>\n</instructions>\n\n"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.5
},
{
"id": "8ee8dd78-0d52-4c74-bac7-2c53ee777d71",
"name": "Combine Forum Post & Summary",
"type": "n8n-nodes-base.merge",
"position": [
1792,
-448
],
"parameters": {
"mode": "combine",
"options": {},
"combineBy": "combineByPosition"
},
"typeVersion": 3
},
{
"id": "e6dc4745-a9ae-41d8-9f9c-79dc82ee48a1",
"name": "Prepare Forum Email Body",
"type": "n8n-nodes-base.code",
"position": [
2016,
-448
],
"parameters": {
"jsCode": "const items = $input.all().map((item) => {\n const itemJson = item.json;\n return {\n ...itemJson,\n userProblem: itemJson.output.userProblem,\n output: undefined // Remove the original output object\n };\n});\nreturn { data: items };\n"
},
"typeVersion": 2
},
{
"id": "94d3367e-f937-441a-b895-4037c4a089ad",
"name": "Send Forum Summary Email",
"type": "n8n-nodes-base.emailSend",
"position": [
2240,
-448
],
"parameters": {
"html": "={{ $input.first().json.data.sort((a,b) => new Date(b.posted) - new Date(a.posted)).reduce((html, issue) => html + '<div class=\"issue\"><div class=\"title\">' + issue.title + '</div><div class=\"problem\"><strong>Problem:</strong> ' + issue.userProblem + '</div><div class=\"meta\">Posted: ' + new Date(issue.posted).toLocaleString() + ' | <a href=\"' + issue.link + '\" class=\"link\">View on Forum</a></div></div>', '<!DOCTYPE html><html><head><style>body{font-family:Arial,sans-serif;line-height:1.6;color:#333}.container{max-width:800px;margin:0 auto;padding:20px}.issue{border:1px solid #ddd;margin-bottom:20px;padding:15px;border-radius:5px}.title{color:#2c5282;font-weight:bold;font-size:18px;margin-bottom:10px}.problem{background:#f8f9fa;padding:10px;border-left:4px solid #4299e1;margin:10px 0}.meta{color:#666;font-size:14px;margin-top:10px}.link{color:#4299e1;text-decoration:none}.link:hover{text-decoration:underline}</style></head><body><div class=\"container\"><h1>n8n Community Forum Issues Summary</h1><p>Generated on: ' + new Date().toLocaleString() + '</p>') + '</div></body></html>'\n",
"options": {},
"subject": "Latest n8n User Problems (Forum)",
"toEmail": "user@example.com",
"fromEmail": "user@example.com"
},
"credentials": {
"smtp": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
},
{
"id": "984f74cb-26cf-4ce5-b0d0-1d926e255df6",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-960,
-1088
],
"parameters": {
"color": 7,
"width": 320,
"height": 352,
"content": "## This workflow runs two separate automations:\n\n**Reddit Digest**: Fetches, classifies, and summarizes new Reddit posts daily.\n\n**n8n Forum Digest**: Scrapes, filters, and summarizes new n8n forum posts daily.\nBoth automations send their findings in separate email reports."
},
"typeVersion": 1
},
{
"id": "63b841a1-adf0-479e-a1e0-780621cd5aa6",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-304,
-1136
],
"parameters": {
"width": 256,
"height": 176,
"content": "## Reddit Digest\nSet the Subreddit name in the \"Get Latest Reddit Posts\" node. You'll also need to configure / adjust the AI prompt in the \"Summarize Reddit Questions\" node."
},
"typeVersion": 1
},
{
"id": "043da666-4a49-482c-92c9-be199e1f77ab",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-304,
-672
],
"parameters": {
"width": 288,
"height": 208,
"content": "## n8n Forum Digest\nThis flow scrapes the n8n community forum. It filters posts based on a keyword in the \"Filter for recent Posts\" node and summarizes them using AI. Remember to configure / adjust the prompt in the \"Summarize n8n Forum Posts\" node."
},
"typeVersion": 1
},
{
"id": "5082ac55-925d-43eb-a4e7-a9c114f289dd",
"name": "Filter recent posts",
"type": "n8n-nodes-base.filter",
"position": [
1120,
-448
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "ddc96e73-7fed-496e-89e0-03a5c073b057",
"operator": {
"type": "dateTime",
"operation": "after"
},
"leftValue": "={{ $json.posted }}",
"rightValue": "={{ $now.minus(14, 'days') }}"
}
]
}
},
"typeVersion": 2.2
}
],
"connections": {
"Extract links": {
"main": [
[
{
"node": "Process Each Forum Link",
"type": "main",
"index": 0
}
]
]
},
"Text Classifier": {
"main": [
[
{
"node": "Filter for Questions",
"type": "main",
"index": 0
}
]
]
},
"Filter recent posts": {
"main": [
[
{
"node": "Summarize n8n Forum Posts",
"type": "main",
"index": 0
},
{
"node": "Combine Forum Post & Summary",
"type": "main",
"index": 1
}
]
]
},
"Extract Post details": {
"main": [
[
{
"node": "Filter recent posts",
"type": "main",
"index": 0
}
]
]
},
"Filter for Questions": {
"main": [
[
{
"node": "Summarize Reddit Questions",
"type": "main",
"index": 0
},
{
"node": "Combine Reddit Post & Summary",
"type": "main",
"index": 1
}
]
]
},
"Format Reddit Summary": {
"ai_outputParser": [
[
{
"node": "Summarize Reddit Questions",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"OpenRouter Chat Model": {
"ai_languageModel": [
[
{
"node": "Text Classifier",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenRouter Chat Model1": {
"ai_languageModel": [
[
{
"node": "Summarize Reddit Questions",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenRouter Chat Model2": {
"ai_languageModel": [
[
{
"node": "Summarize n8n Forum Posts",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Process Each Forum Link": {
"main": [
[
{
"node": "Fetch Individual Forum Posts",
"type": "main",
"index": 0
}
]
]
},
"Prepare Forum Email Body": {
"main": [
[
{
"node": "Send Forum Summary Email",
"type": "main",
"index": 0
}
]
]
},
"Select Post Title & Body": {
"main": [
[
{
"node": "Text Classifier",
"type": "main",
"index": 0
}
]
]
},
"Send Forum Summary Email": {
"main": [
[]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Summarize n8n Forum Posts",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Prepare Reddit Email Body": {
"main": [
[
{
"node": "Send Reddit Summary Email",
"type": "main",
"index": 0
}
]
]
},
"Send Reddit Summary Email": {
"main": [
[]
]
},
"Send every morning at 9am": {
"main": [
[
{
"node": "Get Posts sorted by replies",
"type": "main",
"index": 0
},
{
"node": "Get latest 50 reddit posts",
"type": "main",
"index": 0
}
]
]
},
"Summarize n8n Forum Posts": {
"main": [
[
{
"node": "Combine Forum Post & Summary",
"type": "main",
"index": 0
}
]
]
},
"Get latest 50 reddit posts": {
"main": [
[
{
"node": "Select Post Title & Body",
"type": "main",
"index": 0
}
]
]
},
"Summarize Reddit Questions": {
"main": [
[
{
"node": "Combine Reddit Post & Summary",
"type": "main",
"index": 0
}
]
]
},
"Get Posts sorted by replies": {
"main": [
[
{
"node": "Extract links",
"type": "main",
"index": 0
}
]
]
},
"Send every afternoon at 5pm": {
"main": [
[
{
"node": "Get latest 50 reddit posts",
"type": "main",
"index": 0
},
{
"node": "Get Posts sorted by replies",
"type": "main",
"index": 0
}
]
]
},
"Combine Forum Post & Summary": {
"main": [
[
{
"node": "Prepare Forum Email Body",
"type": "main",
"index": 0
}
]
]
},
"Fetch Individual Forum Posts": {
"main": [
[
{
"node": "Extract Post details",
"type": "main",
"index": 0
}
],
[]
]
},
"Combine Reddit Post & Summary": {
"main": [
[
{
"node": "Prepare Reddit Email Body",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u2018Test workflow\u2019": {
"main": [
[
{
"node": "Get Posts sorted by replies",
"type": "main",
"index": 0
},
{
"node": "Get latest 50 reddit posts",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
openRouterApiredditOAuth2Apismtp
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Earlier this year, as I got more involved with n8n, I committed to helping users on our community forums and the n8n subreddit. The volume of questions was growing, and I found it was a real challenge to keep up and make sure no one was left without an answer. I needed a way to…
Source: https://n8n.io/workflows/6592/ — 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.
What It Does
This workflow is for content creators, marketers, agencies, coaches, and businesses who want to maximize their YouTube content ROI by automatically generating multiple content assets from single video
🧠 Reddit MVP Generator – Auto-Generate Startup Ideas from Real User Pain Points The Reddit MVP Generator is a fully automated business idea mining system built in n8n. It scans trending posts and user
video to shorts Automation. Uses httpRequest, formTrigger, lmChatGoogleGemini, outputParserAutofixing. Event-driven trigger; 34 nodes.
For content creators, marketers, and video strategists who want to transform YouTube competitors' video transcripts into production-ready content assets using AI-powered automation.