How do I send leads from Zapier to Hubhus?

Modified on Fri, 8 May at 1:53 PM

How do I send leads from Zapier to Hubhus?

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.

TL;DR

Zapier action: Webhooks by Zapier → Custom Request. Method: POST. URL: https://api.leadvalidator.dk/leads. Headers: Authorization: Bearer YOUR_API_TOKEN, Content-Type: application/json. Data: JSON body with campaign_id + field_values. Critical: set Data Pass-Through: False and Unflatten: No. Get field slugs from Account → API Documentation.

Get started in 4 steps

1

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.

2

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).

3

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.

4

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.

Common searches

Zapier to Hubhus • send leads Zapier • webhook Hubhus • Zapier integration • API leads • Zapier POST

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article