Hacker News to Video Template n8n Workflow Template

n8n workflow template · 39 nodes · Hacker News

Hacker News to Video Template is a free n8n workflow template that starts when you run it manually in the n8n editor and works with Hacker News, OpenAI, S3, Dropbox, Google Drive and Microsoft OneDrive and more. It has 39 nodes, 6 of them AI nodes (OpenAI Chat Model, HTTP Request Tool, Structured Output Parser and OpenAI). To run it, you add your own credentials for Google Drive OAuth2, HTTP Custom Auth and OpenAI API.

At a glance

Trigger
Manual Trigger (When clicking ‘Test workflow’)
Nodes
39
Apps
Hacker News, OpenAI, S3, Dropbox, Google Drive, Microsoft OneDrive, YouTube, X (Twitter) and LinkedIn
AI nodes
6
Credentials
3 types
Category
Content, SEO and social media

Apps and integrations

  • Hacker News
  • OpenAI
  • S3
  • Dropbox
  • Google Drive
  • Microsoft OneDrive
  • YouTube
  • X (Twitter)
  • LinkedIn

Node types used

  • Manual Trigger
  • Hacker News
  • Loop Over Items
  • OpenAI Chat Model
  • HTTP Request Tool
  • Structured Output Parser
  • S3
  • Edit Fields (Set)
  • HTTP Request
  • Wait
  • If
  • Limit
  • OpenAI
  • AI Agent
  • Dropbox
  • Google Drive
  • Microsoft OneDrive
  • YouTube
  • X (Twitter)
  • LinkedIn

How it works

The text below comes from the sticky notes inside the workflow. We removed links, code samples and anything that looks like a key or token.

AlexK1919

I’m Alex Kim, an AI-Native Workflow Automation Architect Building Solutions to Optimize your Personal and Professional Life.

Workflow Overview Video

About Me

Product Used

Leonardo.ai RunwayML Creatomate

Choose your data source

This can be swapped for any other data source of your choosing.

Article Analysis - Is it the right topic?

Prepare the article for content generation

Generate Images and Videos

Stitch it all together

Don't forget to connect this last node to the loop to process additional items

Upload Assets

You can extend this workflow further by uploading the generated assets to your storage option of choice.

Post to Social Media

You can extend this workflow further by posting the generated assets to social media.

Nodes in this workflow

The 39 nodes in file order (sticky notes excluded). Branches and connections determine execution order in n8n:

  1. When clicking ‘Test workflow’ (Manual Trigger)
  2. Hacker News (Hacker News)
  3. Loop Over Items (Loop Over Items)
  4. OpenAI Chat Model3 (OpenAI Chat Model)
  5. HTTP Request1 (HTTP Request Tool)
  6. Structured Output Parser (Structured Output Parser)
  7. Upload to Minio (S3)
  8. News1 (Edit Fields (Set))
  9. Leo - Improve Prompt (HTTP Request)
  10. Leo - Get imageId (HTTP Request)
  11. Runway - Create Video (HTTP Request)
  12. Runway - Get Video (HTTP Request)
  13. Wait2 (Wait)
  14. If Topic (If)
  15. Get Image (HTTP Request)
  16. Prompt Settings1 (Edit Fields (Set))
  17. Leo - Generate Image (HTTP Request)
  18. Wait1 (Wait)
  19. Limit (Limit)
  20. Image Analysis (OpenAI)
  21. Wait3 (Wait)
  22. Article Analysis (AI Agent)
  23. Dropbox (Dropbox)
  24. Google Drive (Google Drive)
  25. Microsoft OneDrive (Microsoft OneDrive)
  26. YouTube (YouTube)
  27. X (X (Twitter))
  28. Instagram (HTTP Request)
  29. LinkedIn (LinkedIn)
  30. Leo - Improve Prompt2 (HTTP Request)
  31. Wait4 (Wait)
  32. Wait6 (Wait)
  33. Leo - Generate Image2 (HTTP Request)
  34. Leo - Get imageId2 (HTTP Request)
  35. Runway - Create Video2 (HTTP Request)
  36. Runway - Get Video2 (HTTP Request)
  37. Cre - Generate Video1 (HTTP Request)
  38. Cre - Get Video (HTTP Request)
  39. Article Prep (OpenAI)

Credentials you need

  • Google Drive OAuth2 – used by Google Drive
  • HTTP Custom Auth – used by Cre - Generate Video1, Cre - Get Video, Leo - Improve Prompt2 and Runway - Create Video2
  • OpenAI API – used by Article Prep and Image Analysis

Configure your own credentials after importing. Create each credential in n8n, then select it in the node.

How to import into n8n

  1. Download the JSON file with the button above.
  2. In n8n, open a new workflow, select the ... menu and choose Import from File. You can also paste the JSON straight into the editor canvas.
  3. Open each node that shows a warning and select or create its credential.
  4. Read the notes on the canvas, test the workflow with sample data, then activate it.

Do you need somewhere to run it? Read our guide to self-hosted n8n.

Need this customised?

We can adapt this workflow to your apps, data and process, then deploy and support it.

Contact Us