Block 1 - Run an Actor
- Type / Role
- @apify/n8n-nodes-apify.apify - apify
- Config choices
- Version 1
Reddit Content Saver Pipeline A Telegram triggered n8n workflow that scrapes Reddit posts, analyzes them with AI, and saves structured content ideas to Google Sheets. Overview Send a Reddit po...
@apify/n8n-nodes-apify.apify, n8n-nodes-base.code, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.set, n8n-nodes-base.googlesheets
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Vishnu Prasad.
Original n8n.io source> A Telegram-triggered n8n workflow that scrapes Reddit posts, analyzes them with AI, and saves structured content ideas to Google Sheets.
Send a Reddit post URL to a Telegram bot. The pipeline scrapes the post and comments, runs AI analysis for content insights, deduplicates against previously processed links, and logs everything to Google Sheets — all automatically.
Telegram Trigger
└─► Typing Indicator
└─► Get Sheets Log (dedup source)
└─► Dedup Check
├─► [DUPLICATE] Notify user → stop
└─► [NEW] Apify Reddit Scrape
└─► Extract Content
├─► [NO CONTENT] Notify user → stop
└─► [HAS CONTENT] AI Analysis
└─► Save to Sheets
└─► Success Reply
Listens for incoming messages on the Reddit Bot Telegram account. The message is expected to contain a Reddit post URL.
Immediately sends a typing indicator back to the user so they know the bot received the message.
Fetches all previously processed Reddit URLs from the Google Sheets pipeline log. This is the source of truth for duplicate detection.
Template: https://docs.google.com/spreadsheets/d/1Q0F7Th6cdiqYKJIPwx_G0td59QkRMjNJMxpU3xOVGMU/edit?usp=sharing
Extracts the Reddit URL from the Telegram message using regex, then normalizes both the incoming URL and all stored URLs (strips www., lowercases, removes trailing slashes) before comparing. Sets an is_duplicate flag.
| Condition | Action |
|---|---|
| Duplicate detected | Sends Telegram message with original submission date and summary → stops |
| New link | Continues to Apify scraping |
Runs the trudax/reddit-scraper-lite actor against the Reddit URL. Scrapes the post and up to top 10 comments using a residential proxy.
Retrieves the results from the completed Apify actor run.
Restructures the raw Apify output — extracts post_title, post_body, and comment_summary_text into a flat object for downstream use.
Checks whether the scraped post has at least a title, body, or comment text.
| Condition | Action |
|---|---|
| Has content | Continues to AI analysis |
| No content | Sends "No Content Found" Telegram reply → stops |
Passes the post and comments to an OpenAI GPT model. Analyzes the content for ideas, themes, and insights. A Structured Output Parser enforces a consistent JSON response shape.
Maps the AI output into a clean, flat structure ready for Google Sheets ingestion.
Appends a new row to the pipeline log with post metadata, AI analysis results, and the source URL.
Sends a Telegram message confirming the post has been saved, with a link to the Google Sheet.
| Platform | Role |
|---|---|
| Telegram | User input (send Reddit URL) and all bot replies |
Apify — reddit-scraper-lite |
Scrapes Reddit post content and comments via residential proxy |
| OpenAI GPT (via n8n LangChain) | AI content analysis and structured output generation |
| Google Sheets | Persistent storage for processed posts and duplicate-detection log |
| n8n | Workflow orchestration |
| Scenario | Bot Response |
|---|---|
| URL was previously submitted | "You shared this link previously on [date] — [title/summary] — check GSheets [link]" |
| Scraped post returned no usable content | "No Reddit link found. Send me a Reddit post URL and I will analyze it for content ideas." |
| Credential | Used By |
|---|---|
| Telegram Bot Token | Trigger + all reply nodes |
| Apify API Key | Reddit Scraper actor |
| OpenAI API Key | AI analysis node |
| Google Sheets OAuth | Read (dedup) + Write (save) |
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Turn Reddit posts into content ideas with Telegram, Apify, GPT and Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 24 |
| Categories | Market Research, AI Summarization |
| Author | Vishnu Prasad |
| Published | 29 Mar 2026 |
Use the JSON export at /data/workflows/14430/14430.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Reddit Content Saver Pipeline A Telegram triggered n8n workflow that scrapes Reddit posts, analyzes them with AI, and saves structured content ideas to Google Sheets. Overview Send a Reddit po...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.