Category: Automations › Job Search & Auto-Apply · Best for: Developers hunting remote jobs · Platform: n8n · Steps: 15
What it does
It collects new job posts from Hacker News 'Who is hiring' every month.
- filter by "Ask HN: Who is hiring?" (important with quotes for full match)
Works with: OpenAI, Output Parser Structured, Chain Llm, Airtable
What you get
- The n8n workflow file (
workflow.json), ready to import - This setup guide
- The list of fields to change for your own accounts (see Install below)
- Email support if you get stuck
Before you start
-
An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker:
docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678. -
Accounts and API keys for these services:
- OpenAI API key: how to connect (used by OpenAI Chat Model)
- API key sent as an HTTP header (see the node for which service): how to connect (used by Search for Who is hiring posts)
- Airtable personal access token: how to connect (used by Write results to airtable)
Install
- In n8n, click Create workflow (top right).
- Click the ⋯ menu → Import from file and choose
workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V. - Open each node with a red warning triangle and pick or create the matching credential from the list above.
- Point these fields at your own sheets, chats and accounts:
- Write results to airtable →
base: choose your own - Write results to airtable →
table: choose your own
- Write results to airtable →
- Click Save.
Test it
- Click Test workflow (or Execute workflow). When clicking ‘Test workflow’ starts it. Trigger it once with real sample data.
- Click each node to check its output. A green tick means the step worked.
- Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.
Go live
Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.
How it works, step by step
- When clicking ‘Test workflow’ starts the workflow (Manual).
- OpenAI Chat Model uses AI (OpenAI).
- Structured Output Parser uses AI (Output Parser Structured).
- Search for Who is hiring posts calls an external API (https://uj5wyc0l7x-dsn.algolia.net/1/indexes/Item_dev_sort_d).
- Trun into structured data uses AI (Chain Llm).
- Split Out uses Split Out.
- Write results to airtable uses Airtable to create.
- Get relevant data reshapes the data for the next step.
- Get latest post checks a condition and routes items accordingly.
- HN API: Get Main Post calls an external API (=https://hacker-news.firebaseio.com/v0/item/{{ $json.storyId).
- Split out children (jobs) uses Split Out.
- HI API: Get the individual job post calls an external API (=https://hacker-news.firebaseio.com/v0/item/{{ $json.kids }}).
- Extract text reshapes the data for the next step.
- Clean text reshapes the data for the next step.
- Limit for testing (optional) uses Limit.
India & US notes
India: add Naukri, Instahyre or LinkedIn job alert emails/RSS feeds. US: add Indeed, LinkedIn and Wellfound alert feeds.
Extra setup notes
These notes are also on the canvas as yellow sticky notes:
Go to https://hn.algolia.com
- 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
Go to HN API
We'll need following endpoints:
- For example, a story: https://hacker-news.firebaseio.com/v0/item/8863.json?print=pretty
- comment: https://hacker-news.firebaseio.com/v0/item/2921983.json?print=pretty
Data Structure
We use Openai GPT-4o-mini to transform the raw data in a unified data structure. Feel free to change this.
{
"company": "Name of the hiring company",
"title": "Job title/role being advertised",
"location": "Work location including remote/hybrid status",
"type": "Employment type (Full-time, Contract, etc)",
"salary": "Compensation details if provided",
"description": "Main job description text including requirements and team info",
"apply_url": "Direct application/job posting URL",
"company_url": "Company website or careers page"
}
Clean the result
{
"title": "Ask HN: Who is hiring? (February 2025)",
"createdAt": "2025-02-03T16:00:43Z",
"updatedAt": "2025-02-17T08:35:44Z",
"storyId": "42919502"
},
{
"title": "Ask HN: Who is hiring? (January 2025)",
"createdAt": "2025-01-02T16:00:09Z",
"updatedAt": "2025-02-13T00:03:24Z",
"storyId": "42575537"
},
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 https://airtable.com/appM2JWvA5AstsGdn/shrAuo78cJt5C2laR
Troubleshooting
- "Credentials not found": open the node and select your credential again.
- Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
- Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
- AI node errors: check your API key has billing enabled and the model name exists on your plan.
- Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.
Need help?
Reply to your Morning Method order email and we'll help you get it running.
© Morning Method