Skip to main content

Hacker News to video content

Workflow preview

Workflow preview
100%
Hacker News to video content preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Hacker News to Video Content Overview This workflow converts trending articles from Hacker News into engaging video content. It integrates AI based tools to analyze, summarize, and generate multime...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.hackernews, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.toolhttprequest, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.s3, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alex Kim.

Original n8n.io source

1.1 Workflow description

Title
Hacker News to video content
Workflow name
Hacker News to video content

Hacker News to Video Content

Overview

This workflow converts trending articles from Hacker News into engaging video content. It integrates AI-based tools to analyze, summarize, and generate multimedia content, making it ideal for content creators, educators, and marketers.


Features

  1. Article Retrieval:

    • Pulls trending articles from Hacker News.
    • Limits the number of articles to process (configurable).
  2. Content Analysis:

    • Uses OpenAI's GPT model to:
      • Summarize articles.
      • Assess their relevance to specific topics like automation or AI.
      • Extract key image URLs.
  3. Image and Video Generation:

    • Leonardo.ai: Creates stunning AI-generated images based on extracted prompts.
    • RunwayML: Converts images into high-quality videos.
  4. Structured Content Creation:

    • Parses content into structured formats for easy reuse.
    • Generates newsletter-friendly blurbs and social media-ready captions.
  5. Cloud Integration:

    • Uploads generated assets to:
      • Dropbox
      • Google Drive
      • Microsoft OneDrive
      • MinIO
  6. Social Media Posting (Optional):

    • Supports posting to YouTube, X (Twitter), LinkedIn, and Instagram.

Workflow Steps

1. Trigger

  • Initiated manually via the "Test Workflow" button.

2. Fetch Articles

  • Retrieves articles from Hacker News.
  • Limits the results to avoid processing overload.

3. Content Filtering

  • Evaluates if articles are related to AI/Automation using OpenAI's language model.

4. Image and Video Generation

  • Generates:
    • AI-driven image prompts via Leonardo.ai.
    • Videos using RunwayML.

5. Asset Management

  • Saves the output to cloud storage services or uploads directly to social media platforms.

Prerequisites

  • API Keys:

    • Hacker News
    • OpenAI
    • Leonardo.ai
    • RunwayML
    • Creatomate
  • n8n Installation: Ensure n8n is installed and configured locally or on a server.

  • Credentials: Set up credentials in n8n for all external services used in the workflow.


Customization

  • Replace Hacker News with any other data source node if needed.
  • Configure the "Article Analysis" node for different topics.
  • Adjust the cloud storage services or add custom storage options.

Usage

  1. Import this workflow into your n8n instance.
  2. Configure your API credentials.
  3. Trigger the workflow manually or schedule it as needed.
  4. Check the outputs in your preferred cloud storage or social media platform.

Notes

  • Extend this workflow further by automating social media posting or newsletter integration.
  • For any questions, refer to the official documentation or reach out to the creator.

About the Creator

This workflow was built by AlexK1919, an AI-native workflow automation architect. Check out the overview video for a quick demo.


Tools Used

  • Leonardo.ai
  • RunwayML
  • Creatomate
  • Hacker News API
  • OpenAI GPT

Feel free to adapt and extend this workflow to meet your specific needs! 🎉

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Hacker News

Type / Role
n8n-nodes-base.hackerNews - hackerNews
Config choices
Version 1

Block 3 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 4 - OpenAI Chat Model3

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 5 - HTTP Request1

Type / Role
@n8n/n8n-nodes-langchain.toolHttpRequest - toolHttpRequest
Config choices
Version 1.1

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 7 - Upload to Minio

Type / Role
n8n-nodes-base.s3 - s3
Config choices
Version 1

Block 8 - News1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Leo - Improve Prompt

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Leo - Get imageId

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Runway - Create Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Runway - Get Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Wait2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - If Topic

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 16 - Get Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Prompt Settings1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Leo - Generate Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Wait1

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Limit

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 21 - Image Analysis

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 22 - Wait3

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 23 - Article Analysis

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 24 - Dropbox

Type / Role
n8n-nodes-base.dropbox - dropbox
Config choices
Version 1

Showing the first 24 of 48 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Hacker News to video content
Complexity advanced
Nodes 48
Categories Content Creation, Multimodal AI
Author Alex Kim
Published 19 Nov 2024

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/2557/2557.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Hacker News to video content do?

Hacker News to Video Content Overview This workflow converts trending articles from Hacker News into engaging video content. It integrates AI based tools to analyze, summarize, and generate multime...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Content Creation, Multimodal AI use case.