Transform Reddit discussions into LinkedIn post ideas with GPT-4o and Google Sheets
Needs changesWhat this workflow does
This AI workflow has 17 nodes and runs when someone submits an n8n form (“Post ideas generation”). Along the way it connects OpenAI Chat Model, Google Sheets, Reddit and OpenAI.
How it runs
Trigger: When someone submits an n8n form (“Post ideas generation”).
- Create spreadsheet (Google Sheets): work with spreadsheet
- Get Posts (Reddit): search
- Filter: keeps only the items that match a condition
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Get many comments in a post (Reddit): get many (post comment)
- Aggregate: combines items into one
- Construct post with comment object (Edit Fields (Set)): sets 3 fields: commentText, postId, postContent
- Generate insights (AI Agent): runs an AI agent, with model: OpenAI Chat Model
- Merge: merges the data from its input branches
- Suggest post topics (OpenAI): uses OpenAI
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in Generate insights (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Generate insights (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (11)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Reddit
n8n-nodes-base.reddit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Filter
n8n-nodes-base.filter - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - n8n Form Trigger
n8n-nodes-base.formTrigger
From the author
Who’s it for This workflow is for marketers, founders, and content strategists who want to identify business opportunities by analyzing Reddit discussions. It’s ideal for B2B, SaaS, and tech professionals looking for fresh LinkedIn post ideas or trend…