n8n Integration
Automate your enrichment pipelines using the HTTP Request node in n8n.n8n is the ideal orchestrator for complex BlitzAPI workflows. Its node-based architecture allows you to chain our Waterfall Search, Enrichment, and CRM Sync steps into a single autonomous agent.
Standard Configuration
You will interact with BlitzAPI using the native HTTP Request node.1. Create Credentials
To avoid copy-pasting your key in every node, create a reusable credential.
- Go to Credentials > New > Search for “Header Auth”.
- Name:
x-api-key - Value:
YOUR_BLITZ_API_KEY - Save as “BlitzAPI Production”.
2. Configure the Node
Drag an HTTP Request node to your canvas.
- Method:
POST - URL:
https://api.blitz-api.ai/v2/search/waterfall-icp-keyword - Authentication: Select
Generic Credential Type->Header Auth. - Credential: Select the “BlitzAPI Production” credential you just created.
⚡ Handling Rate Limits (Crucial)
n8n executes workflows extremely fast. If you process 1,000 items without precautions, you will hit BlitzAPI’s limit of 5 requests per second immediately, causing429 errors.
To scale safely, you must implement a Throttling Pattern.
The “Split In Batches” Pattern
Do not connect the trigger directly to the HTTP Request. Use this structure:- Split In Batches Node:
- Set Batch Size to
1(or5maximum).
- HTTP Request (BlitzAPI):
- Connect it after the split.
- Wait Node:
- Connect it after the HTTP Request.
- Set Amount to
200milliseconds.
- Loop Back:
- Connect the Wait node back to the input of the “Split In Batches” node.
Why? This forces n8n to process items sequentially (or in small groups) with a tiny pause, ensuring you never exceed the API throughput capacity.
Waterfall Recipes (Copy-Paste)
Here are optimized JSON payloads for common targeting scenarios.Scenario A: The Sales Leader
Logic: Find the CRO or VP Sales. If not available, fallback to a Director level.Scenario B: The Marketing Decision Maker
Logic: Prioritize the CMO globally. Fallback to VP or Head of Marketing.Scenario C: The Founder (SMB Targeting)
Logic: Find the Owner or CEO, specifically in France or Germany.Find People in n8n (Cursor Pagination Pattern)
Find People (POST /v2/search/people) lets you source decision-makers across many companies in one call. It uses cursor-based pagination, which differs from the page-based pattern of Employee Finder — here is the canonical n8n loop.
Workflow shape
- Set node → initialize
cursor = null. - HTTP Request node → call
/v2/search/peoplewith the body below. - Item Lists (Split Out Items) → fan out
results[]for downstream enrichment. - IF node → check
{{$json.cursor}} !== null. - Set node → update
cursor = {{$json.cursor}}and loop back to step 2.
Request body
Cursor vs. page: do not try to compute pages from
total_results / max_results. The cursor returned by the API is the only safe way to paginate — it’s stable even if new profiles are added between calls. Stop the loop when the response field cursor equals null.Troubleshooting
Error: 'Data is not a valid JSON'
Error: 'Data is not a valid JSON'
Check Expression Mode. In the Body parameter, ensure you are in JSON mode (not Form-Urlencoded). If using expressions like
{{ $json.id }}, make sure they resolve to valid strings, not objects.I see '[Array]' instead of data
I see '[Array]' instead of data
Check n8n Data Structure. BlitzAPI returns a
results array for searches. You might need to add an “Item Lists” node (operation: Split Out Items) after the HTTP Request to flatten the results array into separate n8n items.Error 401 Unauthorized
Error 401 Unauthorized

