This workflow corresponds to n8n.io template #4068 — we link there as the canonical source.
This workflow follows the Agent → Google Sheets 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": "6e6dbef8-5068-4e08-b5c9-356bfa92bacd",
"name": "When clicking \u00e2\u20ac\u02dcTest workflow\u00e2\u20ac\u2122",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1160,
2750
],
"parameters": {},
"typeVersion": 1
},
{
"id": "7c5387d7-c96f-4d1d-b35f-edb3687a8a69",
"name": "Get Existing Posts1",
"type": "n8n-nodes-base.googleSheets",
"position": [
-720,
2650
],
"parameters": {},
"executeOnce": true,
"typeVersion": 4.5
},
{
"id": "bcfab50a-cb46-4546-8351-9f15f8fddcce",
"name": "Log Irrelevant Post",
"type": "n8n-nodes-base.googleSheets",
"position": [
756,
2500
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "da43e4b5-90cc-4e19-a793-1ff0edd0b379",
"name": "Log Relevant Post",
"type": "n8n-nodes-base.googleSheets",
"position": [
756,
2850
],
"parameters": {},
"typeVersion": 4.5
},
{
"id": "af58b686-b86d-4484-99b8-b575d479fe3e",
"name": "Post Reddit Comment",
"type": "n8n-nodes-base.reddit",
"position": [
976,
2950
],
"parameters": {},
"typeVersion": 1
},
{
"id": "136b95ed-15f1-46dc-8e37-c1864cb4c206",
"name": "Is Post Relevant?",
"type": "n8n-nodes-base.if",
"position": [
536,
2500
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "3015d949-5bea-48df-b3d2-4d39ec8f220c",
"name": "Parse AI Response",
"type": "n8n-nodes-base.code",
"position": [
316,
2500
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5a7e3ca1-6beb-438f-ae7b-c41b0c456758",
"name": "Ollama Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOllama",
"position": [
-40,
2740
],
"parameters": {},
"typeVersion": 1
},
{
"id": "1e9b7447-d5b5-405c-854d-b5e0c3b877dd",
"name": "AI Relevance Analysis",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-60,
2400
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "c35aa9a2-d727-4e4a-a7f6-18129b8c758f",
"name": "Process One Post at a Time",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-280,
2750
],
"parameters": {},
"typeVersion": 3
},
{
"id": "75122d4c-687b-468b-98d6-66cc80dca814",
"name": "Filter New Posts",
"type": "n8n-nodes-base.code",
"position": [
-500,
2750
],
"parameters": {},
"typeVersion": 2
},
{
"id": "a46dd2d7-8843-4999-bf7c-2e8c209fae48",
"name": "Process Post Fields",
"type": "n8n-nodes-base.set",
"position": [
-720,
2850
],
"parameters": {},
"executeOnce": false,
"typeVersion": 3.4
},
{
"id": "6c37690a-b6fd-409c-b94b-cb056197cc08",
"name": "Get Reddit Posts",
"type": "n8n-nodes-base.reddit",
"position": [
-940,
2750
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f7279c5b-f67b-494f-bf7b-720c664993d8",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
1260,
2140
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Filter New Posts": {
"main": [
[
{
"node": "Process One Post at a Time",
"type": "main",
"index": 0
}
]
]
},
"Get Reddit Posts": {
"main": [
[
{
"node": "Process Post Fields",
"type": "main",
"index": 0
},
{
"node": "Get Existing Posts1",
"type": "main",
"index": 0
}
]
]
},
"Is Post Relevant?": {
"main": [
[
{
"node": "Log Relevant Post",
"type": "main",
"index": 0
}
],
[
{
"node": "Log Irrelevant Post",
"type": "main",
"index": 0
}
]
]
},
"Log Relevant Post": {
"main": [
[
{
"node": "Post Reddit Comment",
"type": "main",
"index": 0
}
]
]
},
"Ollama Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Relevance Analysis",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Parse AI Response": {
"main": [
[
{
"node": "Is Post Relevant?",
"type": "main",
"index": 0
}
]
]
},
"Get Existing Posts1": {
"main": [
[
{
"node": "Filter New Posts",
"type": "main",
"index": 0
}
]
]
},
"Log Irrelevant Post": {
"main": [
[
{
"node": "Process One Post at a Time",
"type": "main",
"index": 0
}
]
]
},
"Post Reddit Comment": {
"main": [
[
{
"node": "Process One Post at a Time",
"type": "main",
"index": 0
}
]
]
},
"Process Post Fields": {
"main": [
[
{
"node": "Filter New Posts",
"type": "main",
"index": 0
}
]
]
},
"AI Relevance Analysis": {
"main": [
[
{
"node": "Parse AI Response",
"type": "main",
"index": 0
}
]
]
},
"Process One Post at a Time": {
"main": [
[
{
"node": "Get Reddit Posts",
"type": "main",
"index": 0
}
],
[
{
"node": "AI Relevance Analysis",
"type": "main",
"index": 0
}
]
]
},
"When clicking \u00e2\u20ac\u02dcTest workflow\u00e2\u20ac\u2122": {
"main": [
[
{
"node": "Get Reddit Posts",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Discover hot prospects on Reddit who are actively discussing problems your product can solve - without spending hours manually searching and responding. This intelligent workflow automatically finds relevant conversations, analyzes intent with Llama3 AI, and crafts personalized…
Source: https://n8n.io/workflows/4068/ — 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.
Episode 15: Startup ideas for YC RFS. Uses lmChatOpenAi, googleSheets, agent, informationExtractor. Event-driven trigger; 33 nodes.
This workflow is designed for marketers, content creators, agencies, and solo founders who want to publish long‑form posts with visuals on autopilot using n8n and AI agents.
Description
This workflow takes real user questions from Reddit and transforms them into fully structured blog posts — title, intro, steps, and conclusion — using AI. Manually triggered when you want to run it Sc
This workflow is built for sales teams, agencies, and small businesses that receive inbound leads via WhatsApp and want to automate their first response, lead qualification, and CRM logging — without