Turn Reddit threads into a customer research brief with Apify, OpenAI and Google Docs
UnknownWhat this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form (“Reddit research brief”). Along the way it connects OpenAI Chat Model and Apify (community). It also calls googleapis.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Reddit research brief”).
- Keep valid thread links (Code): runs custom JavaScript code
- Download threads as Markdown (Apify): run actor and get dataset (actors)
- Merge thread parts (Code): runs custom JavaScript code
- Read each thread (Basic LLM Chain): sends a prompt to an LLM, with model: Model for findings; output parser: Findings format
- Check quotes and combine (Code): runs custom JavaScript code
- Write the research brief (Basic LLM Chain): sends a prompt to an LLM, with model: Model for the brief
- Markdown: converts between Markdown and HTML
- Package as a Google Doc (Code): runs custom JavaScript code
- Create the Google Doc (HTTP Request): calls googleapis.com (POST)
- Open the brief (n8n Form): shows the next form page
Services it uses
Other Apify + OpenAI templates (230)
HTTP calls to: googleapis.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Download threads as Markdown).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Apify
@apify/n8n-nodes-apify.apify - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Markdown
n8n-nodes-base.markdown - HTTP Request
n8n-nodes-base.httpRequest - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow collects up to 10 Reddit thread URLs via an n8n form, scrapes each thread’s top comments with Apify, uses OpenAI to extract customer insights and write a Markdown research brief, and converts it into a formatted Google Doc in…