HN Who is Hiring Scrape
Triggered manually or by an app event. Connects Airtable, Code, Filter, HTTP request, Limit, Split Out. Go to {{ $env.WEBHOOKURL }} - 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 t
Front matter
name: HN Who is Hiring Scrape
description: Triggered manually or by an app event. Connects Airtable, Code, Filter, HTTP request, Limit, Split Out. ## Go to {{ $env.WEBHOOK_URL }} - 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 {{ $env.API_BASE_URL }} We'll need following endpoints: - For example, a story: {{ $env.WEBHOOK_URL }} - comment: {{ $env.WEBHOOK_URL }} ## Data Structure
category: Automation
kind: Workflow
software: Airtable|Code|Filter|HTTP request|Limit|Split OutHN Who is Hiring Scrape
Triggered manually or by an app event. Connects Airtable, Code, Filter, HTTP request, Limit, Split Out. ## Go to {{ $env.WEBHOOK_URL }}
- 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
{{ $env.API_BASE_URL }}
We'll need following endpoints:
- For example, a story: {{ $env.WEBHOOK_URL }}
- comment: {{ $env.WEBHOOK_URL }}
## Data Structure
Steps
- When clicking ‘Test workflow’ (manualTrigger)
- Sticky Note (stickyNote)
- Split Out (splitOut)
- Sticky Note1 (stickyNote)
- OpenAI Chat Model (noOp)
- Structured Output Parser (noOp)
- Search for Who is hiring posts (httpRequest)
- Get relevant data (set)
- Get latest post (filter)
- Split out children (jobs) (splitOut)
- Trun into structured data (noOp)
- Sticky Note2 (stickyNote)
- Extract text (set)
- Clean text (code)
- Limit for testing (optional) (limit)
- Sticky Note3 (stickyNote)
- Write results to airtable (airtable)
- Sticky Note4 (stickyNote)
- HI API: Get the individual job post (httpRequest)
- HN API: Get Main Post (httpRequest)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Splitout/1489_Splitout_Code_Automation_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- Manualtrigger Workflow: Code, Filter and HTTP request
- Perform a domain search (single) with Icypeas
- Scheduletrigger Workflow: n8n and HTTP request
- Manualtrigger Workflow: Code, Google Sheets and HTTP request (n8n workflow collection) (447)
- Perform an email search with Icypeas (single)
- Manualtrigger Workflow: Code, Google Sheets and HTTP request (n8n workflow collection) (446)
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.