Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash
VerifiedScrapes HackerNews posts, summarizes them with Gemini, and saves to Google Docs.
What this workflow does
This n8n automation pulls HackerNews data, applies Gemini 2.0 Flash via an LLM chain to generate human-readable insights, and writes the results into Google Docs.
It is intended for tech newsletter writers and content creators who need automated collection and formatting of trending discussions.
Who is this for?
Tech newsletter writers and content creators who need to regularly pull trending HackerNews discussions. Also useful for research teams or bloggers curating tech insights.
What problem it solves
Manually scraping HackerNews threads, summarizing them into readable form, and formatting the output for distribution is repetitive and time-consuming.
What it automates
Weekly newsletter curation
Pull top HN stories each Monday, generate concise summaries with Gemini, and drop them straight into a shared Google Doc for the editorial team.
Trend monitoring for product teams
Track discussions around specific keywords or technologies and maintain an evolving Google Doc archive of community sentiment.
Content repurposing
Convert raw HN threads into polished, human-readable briefs that can be reused for blog posts, internal reports, or social media threads.
How the workflow works
The 5 nodes in this automation, in order.
- 1HTTP RequesthttpRequest
- 2Hacker NewshackerNews
- 3Google DocsgoogleDocs
- 4Basic LLM Chain@n8n/n8n-nodes-langchain.chainLlm
- 5Google Gemini Chat Model@n8n/n8n-nodes-langchain.lmChatGoogleGemini
Apps & integrations used
How to set up Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash
- 1Add a Hacker News node to fetch latest stories or a specific feed.
- 2Connect an HTTP Request node if additional thread details are needed.
- 3Insert a Basic LLM Chain node with the Google Gemini Chat Model to transform raw data into readable summaries.
- 4Map the Gemini output to a Google Docs node to create or append a new document.
- 5Set credentials for Google Docs and Gemini in n8n and test the chain end-to-end.
- 6Activate the workflow on a schedule or manual trigger.
How to customize this workflow
- →Swap Gemini 2.0 Flash for another supported model in the LLM Chain node.
- →Change the trigger from manual to a Schedule node for daily or weekly runs.
- →Add a filter node after Hacker News to process only stories above a vote threshold.
- →Extend the workflow by appending an email node to notify recipients when the Doc is updated.
Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash: pros & cons
Pros
- +Combines data extraction and AI rewriting in one flow
- +Outputs directly to Google Docs for easy sharing
- +Uses fast Gemini 2.0 Flash for quick summarization
- +Intermediate complexity but clear node structure
Cons
- –Requires valid Google and Gemini API credentials
- –Hacker News API rate limits can affect high-volume runs
- –Summaries depend on prompt quality in the LLM Chain
Frequently asked questions
It fetches HackerNews posts, uses Gemini to turn them into readable summaries, and saves the results to a Google Doc.
User reviews
Verified reviews from the community shape this listing's rating.
Loading reviews…