Skip to content
Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash logo

Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash

Verified

Scrapes HackerNews posts, summarizes them with Gemini, and saves to Google Docs.

n8nAI & LLMIntermediate👁 3.1K views
Open template
Updated 2026-06-15

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.

  1. 1HTTP RequesthttpRequest
  2. 2Hacker NewshackerNews
  3. 3Google DocsgoogleDocs
  4. 4Basic LLM Chain@n8n/n8n-nodes-langchain.chainLlm
  5. 5Google Gemini Chat Model@n8n/n8n-nodes-langchain.lmChatGoogleGemini

Apps & integrations used

HTTP RequestHacker NewsGoogle DocsBasic LLM ChainGoogle Gemini Chat Model

How to set up Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash

  1. 1Add a Hacker News node to fetch latest stories or a specific feed.
  2. 2Connect an HTTP Request node if additional thread details are needed.
  3. 3Insert a Basic LLM Chain node with the Google Gemini Chat Model to transform raw data into readable summaries.
  4. 4Map the Gemini output to a Google Docs node to create or append a new document.
  5. 5Set credentials for Google Docs and Gemini in n8n and test the chain end-to-end.
  6. 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
Did you find this helpful?

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…

Sign in to review

Promote Extract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash

Add this badge to your website, or share the tool.

DFeatured on DhanasviExtract & Transform HackerNews Data to Google Docs using Gemini 2.0 Flash 0