HN Who is Hiring Scrape n8n Workflow Template

n8n workflow template · 15 nodes · OpenAI

HN Who is Hiring Scrape is a free n8n workflow template that starts when you run it manually in the n8n editor and works with OpenAI and Airtable. It has 15 nodes, 3 of them AI nodes (OpenAI Chat Model, Structured Output Parser and Basic LLM Chain). To run it, you add your own credentials for Airtable API, HTTP Header Auth and OpenAI API.

At a glance

Trigger
Manual Trigger (When clicking ‘Test workflow’)
Nodes
15
Apps
OpenAI and Airtable
AI nodes
3
Credentials
3 types
Category
Spreadsheets, databases and docs

Apps and integrations

  • OpenAI
  • Airtable

Node types used

  • Manual Trigger
  • Split Out
  • OpenAI Chat Model
  • Structured Output Parser
  • HTTP Request
  • Edit Fields (Set)
  • Filter
  • Basic LLM Chain
  • Code
  • Limit
  • Airtable

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.

Go to HN API

We'll need following endpoints

  • For example, a story

Data Structure

We use Openai GPT-4o-mini to transform the raw data in a unified data structure. Feel free to change this.

Setup notes

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.

Hacker News - Who is Hiring Scrape

In this template we setup a scraper for the monthly HN Who is Hiring post. This way we can scrape the data and transform it to a common data strcutre.

First we use the Algolia Search provided by hackernews to drill down the results.

We can use the official Hacker News API to get the post data and also all the replies!

This will obviously work for any kind of post on hacker news! Get creative

All you need is an Openai Account to structure the text data and an Airtable Account (or similar) to write the results to a list.

Copy my base

Go to

  • filter by "Ask HN: Who is hiring?" (important with quotes for full match)
  • sort by date
  • Chrome Network Tab > find API call > click "Copy as cURL"
  • n8n HTTP node -> import cURL and paste
  • I've set the API key as Header Auth so you will have to do the above yourself to make this work

Nodes in this workflow

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

  1. When clicking ‘Test workflow’ (Manual Trigger)
  2. Split Out (Split Out)
  3. OpenAI Chat Model (OpenAI Chat Model)
  4. Structured Output Parser (Structured Output Parser)
  5. Search for Who is hiring posts (HTTP Request)
  6. Get relevant data (Edit Fields (Set))
  7. Get latest post (Filter)
  8. Split out children (jobs) (Split Out)
  9. Trun into structured data (Basic LLM Chain)
  10. Extract text (Edit Fields (Set))
  11. Clean text (Code)
  12. Limit for testing (optional) (Limit)
  13. Write results to airtable (Airtable)
  14. HI API: Get the individual job post (HTTP Request)
  15. HN API: Get Main Post (HTTP Request)

Credentials you need

  • Airtable API – used by Write results to airtable
  • HTTP Header Auth – used by Search for Who is hiring posts
  • OpenAI API – used by OpenAI Chat Model

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