Scrape Hacker News hiring threads with OpenAI GPT-4o-mini and Airtable
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and Airtable. It also calls uj5wyc0l7x-dsn.algolia.net over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Search for Who is hiring posts (HTTP Request): calls uj5wyc0l7x-dsn.algolia.net (POST)
- Split Out: splits a list into separate items
- Get relevant data (Edit Fields (Set)): sets 4 fields: title, createdAt, updatedAt…
- Get latest post (Filter): keeps only the items that match a condition
- HN API: Get Main Post (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- HI API: Get the individual job post (HTTP Request): calls an HTTP API
- Extract text (Edit Fields (Set)): sets 1 field: text
- Clean text (Code): runs custom JavaScript code
- Limit: keeps the first few items
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: uj5wyc0l7x-dsn.algolia.net
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Manual Trigger
n8n-nodes-base.manualTrigger - Split Out
n8n-nodes-base.splitOut - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - Airtable
n8n-nodes-base.airtable
From the author
Quick overview This workflow manually runs a scraper that finds the latest Hacker News “Ask HN: Who is hiring?” thread via the Algolia HN Search API, pulls each job comment from the Hacker News Firebase API, uses OpenAI to structure postings into fields, and…