N8N
Learn how to connect TheirStack with N8N — pull job postings and company data via HTTP Request nodes, or automate real-time notifications through webhooks.
N8N is an open-source workflow automation platform that you can self-host or use via n8n.cloud. It connects hundreds of services and lets you build powerful automations with a visual editor.
There are two ways to integrate TheirStack with N8N:
- Webhook trigger (recommended) — Receive real-time notifications whenever new jobs or companies match your search criteria. No code, no scheduling, no API calls to manage.
- HTTP Request node — Pull job postings, company data, or technographic information on-demand by calling the TheirStack API directly from an N8N workflow.
Webhooks — the recommended approach
Webhooks are the easiest and most reliable way to connect TheirStack with N8N. Instead of polling the API on a schedule, TheirStack pushes new results directly to your workflow the moment they appear — with built-in deduplication, so you never process the same job twice or waste API credits on duplicate retrievals.
Create a new workflow in N8N.
Add a Webhook trigger node and set the HTTP method to POST.
Copy the webhook URL displayed in the node.
Create a webhook in TheirStack using the N8N webhook URL. Configure the search filters directly in TheirStack — no need to replicate them in N8N.
Add downstream nodes to process the data — for example, send a Slack message, update a CRM, or write to a spreadsheet.
Activate the workflow so it listens for incoming webhooks.
For a detailed walkthrough, see How to send jobs to Slack.
Why webhooks over the API?
| Webhooks | HTTP Request (API) | |
|---|---|---|
| Setup complexity | Minimal — paste a URL in TheirStack | Requires configuring auth, headers, body, and pagination |
| Real-time | Yes — triggered instantly on new results | No — runs on a schedule you define |
| API credits | Only charged for genuinely new results | Each record costs 1 credit per fetch — duplicates are charged again |
| Deduplication | Built-in — TheirStack only sends new results | You must implement deduplication yourself (e.g. tracking discovered_at timestamps or excluding already-seen job_ids) |
| Filter management | Managed in TheirStack UI | Duplicated in N8N node configuration |
The API is best suited for user-triggered actions (enrichment, one-off lookups) rather than periodic data syncing. If you're building a scheduled workflow to pull new jobs, webhooks are the right tool for the job.
Alternative: Pull data with the HTTP Request node
Consider using webhooks instead
If you're building a workflow to periodically sync new jobs or companies, webhooks are the better choice. The API approach requires you to handle pagination, deduplication, and scheduling yourself — and every record returned costs 1 API credit, even duplicates. Webhooks deliver only new results, in real-time, with no extra logic needed.
If you need to pull data on-demand — for example, to enrich records from another node or to run a one-off query — you can call the TheirStack API directly using N8N's HTTP Request node.
Quick setup from TheirStack App
The fastest way to get started is to copy a pre-configured HTTP Request node directly from the TheirStack app:
Go to app.theirstack.com, run a job or company search with your desired filters, and click the API button.
Select the N8N tab and click Copy HTTP Request. This copies a fully configured N8N HTTP Request node to your clipboard — including your API key, headers, and search filters.
Go to your N8N instance, open your workflow, and paste with CTRL+V (Windows) or CMD+V (Mac). The HTTP Request node will appear pre-configured and ready to execute.
Manual setup
If you prefer to configure the HTTP Request node manually:
Create a new workflow in N8N or open an existing one.
Add an HTTP Request node to your workflow.
Configure the node with the following settings:
- Method:
POST - URL:
https://api.theirstack.com/v0/jobs/search(or/v0/companies/searchfor companies) - Authentication: Select Header Auth and set:
- Name:
Authorization - Value:
Bearer YOUR_API_KEY(get your API key)
- Name:
- Send Headers: Enable and add:
Content-Type:application/json
- Send Body: Enable, set Body Content Type to
JSON, and add your search filters:{ "job_title_or": ["software engineer", "developer"], "posted_at_max_age_days": 7, "limit": 25 }
Click Execute Node to test and inspect the output.
See the API Reference for all available endpoints and filter options.
Use cases
- Real-time job alerts (webhook): Get notified the moment a new job is posted matching your criteria — send to Slack, email, or a spreadsheet.
- CRM enrichment (API): Pull technographic data about companies in your CRM and route enriched records back using N8N's CRM nodes (HubSpot, Salesforce, etc.).
- Lead routing (webhook): Automatically route new job postings to the right sales rep based on company size, location, or tech stack.
Frequently asked questions
Can I self-host N8N and use it with TheirStack?
Yes. TheirStack works with any N8N instance — whether self-hosted or running on n8n.cloud. For webhooks, ensure your instance is reachable from the internet (TheirStack needs to send HTTP requests to your webhook URL). For API calls, ensure your instance can make outbound HTTPS requests to api.theirstack.com.
What is the difference between the HTTP Request node and Webhook trigger?
The Webhook trigger is the recommended approach — TheirStack pushes data to N8N in real-time whenever new results match your saved search. No scheduling, no pagination, no wasted API calls. The HTTP Request node is useful when you need to pull data on-demand, such as enriching records from another node or running a one-off query.
How do I handle pagination in N8N?
Pagination only applies when using the HTTP Request node (webhooks handle this automatically). The TheirStack API supports limit and page parameters. To paginate through results in N8N, use a Loop Over Items node or a SplitInBatches node to iterate through pages, incrementing the page parameter on each iteration until no more results are returned.
How is this guide?
Last updated on
Make
Learn how to connect TheirStack with Make.com — pull job postings and company data on-demand via HTTP modules, or automate real-time notifications through webhooks.
Zapier
Learn how to connect TheirStack with Zapier — automate real-time job and company notifications through webhooks, and trigger any of Zapier's 7,000+ app integrations.




