Integrations / Zapier
Zapier: Sending leads to Hubhus
Published 28. sep. 2026, 16.40
TL;DR
Use Zapier's Webhook (Custom Request) action to POST lead data directly to the Hubhus API - connect any Zapier trigger to create new leads automatically.
Get started in 4 steps
- Add a Webhook action in Zapier. In your Zap, add an action step. Select App: Webhooks by Zapier, Event: Custom Request. Set Method: POST and URL:
https://api.leadvalidator.dk/leads. - Add the required headers. Under Headers add:
Authorization: Bearer YOUR_API_TOKEN,Content-Type: application/json,Accept: application/json. Get your API token from Account → API Documentation (create a token there). - Set the JSON body (Data section). In the Data box, add your JSON payload. Find your exact field slugs and campaign_id in Account → API Documentation → personalized link. Example:
{ "campaign_id": 123, "field_values": { "your_field_slug_name": "value", "your_field_slug_email": "email" } }. Critical settings: set Data Pass-Through: False and Unflatten: No - otherwise Zapier corrupts field names with hyphens. - Handle address format issues. Some sources (e.g. Facebook Lead Ads) send addresses with line breaks (
[:newline:]) - Hubhus cannot parse this format. Add a Transform → Replace step before the webhook: replace[:newline:]with,(a comma). This ensures addresses import cleanly.
Read more
JSON payload example
Paste this structure in Zapier's Data field. Replace campaign_id and the field slugs with your actual values from API Documentation:
{
"campaign_id": YOUR_CAMPAIGN_ID,
"field_values": {
"your_field_slug_name": "value of name",
"your_field_slug_address": "value of address",
"your_field_slug_email": "value of email",
"your_field_slug_phone": "value of phone"
}
}
Find your exact campaign ID and field slugs in Account → API Documentation → personalized link (direct URL format: https://leadvalidator.dk/a/YOUR_BRAND_SLUG/api-documentation).
Required headers
| Key | Value |
|---|---|
| Authorization | Bearer YOUR_API_TOKEN |
| Content-Type | application/json |
| Accept | application/json |
Critical Zapier settings
Data Pass-Through: False - required. If set to True, Zapier sends the raw data string instead of JSON, which Hubhus cannot parse.
Unflatten: No - required. If set to Yes, Zapier splits field names containing hyphens (e.g. field-slug-name) into nested objects, which corrupts the payload. Hubhus field slugs use hyphens, so this must be disabled.