Free template: n8n, HubSpot and Zapier

Offline conversion sync template

Teach your ad platforms to bid on pipeline and revenue instead of form fills. Import the n8n workflow to send paid signups to Meta, use the setup sheet to capture click IDs and consent, and follow the guide for Google Ads and LinkedIn.

Download the offline conversion sync template

n8n workflow (JSON)11 KBSetup sheet (CSV)6 KBSetup guide (Markdown)12 KB

Free, with no email needed.

How does the offline conversion sync template work?

The fix is a loop. You capture the click ID or a hashed email when the lead arrives, keep it on the record as it moves through the pipeline, and send each stage that matters (qualified, opportunity, closed-won or paid) back to Google Ads, Meta and LinkedIn with a value. Then the bidding learns from pipeline and revenue, and you check match rates every week so the loop stays honest.

  1. Step 1: Capture click IDs and consent

    Fire Google's Conversion Linker on every page and fill hidden fields for gclid, gbraid, wbraid, fbc and li_fat_id from first-party cookies. Add an ad data consent checkbox and store all of it on the record.

    • HHubSpot
    • SSalesforce
    • PPipedrive
    • SStripe
  2. Step 2: Keep the IDs through the pipeline

    Map the click ID fields from lead to opportunity or deal, and stamp the time each stage changes. Write down what each stage means and lock who can change it.

    • HHubSpot
    • SSalesforce
    • PPipedrive
    • SStripe
  3. Step 3: Send the stages that matter

    Pick qualified, opportunity and closed-won or paid, and send each with a value, a currency and a stable event or transaction ID. Delay uploads a few hours so Google has processed the click.

    • HHightouch
    • Zapier
    • n8n
  4. Step 4: Hash and filter before upload

    Trim and lowercase emails, then hash them with SHA-256, but send click IDs exactly as stored. Drop anyone who didn't consent and add ad_user_data and ad_personalization for EEA users.

    • HHightouch
    • Zapier
    • n8n
  5. Step 5: Create one conversion action per stage

    In Google Ads, turn on enhanced conversions for leads and add an import action for each stage. Keep the form fill primary until the qualified action has run the longer of 3 conversion cycles or 4 weeks.

    • GAGoogle Ads
  6. Step 6: Set up Meta and LinkedIn to receive events

    Generate a Conversions API token in Meta Events Manager and test with a test event code first. In LinkedIn, turn on enhanced conversion tracking and add a conversion rule per stage.

    • MAMeta Ads
    • LALinkedIn Ads
  7. Step 7: Check match rates every week

    Compare each platform's count with the CRM count for the same stage, and read upload errors and match quality. Resend failed rows inside each window: 7 days for Meta and 90 for LinkedIn.

    • GAGoogle Ads
    • MAMeta Ads
    • LALinkedIn Ads
Deal marked wonStage uploadsAds learnBids on revenue
Deal won, stage uploaded, ads learn, bids follow revenue. A loop of the flow this template builds, drawn in pixels.

Who is the offline conversion sync template for?

  • Series A teams on HubSpot that spend most of their paid budget on Google Search or LinkedIn.
  • Seed founders who run the pipeline in Pipedrive and buy clicks on Google Search, with nobody on RevOps.
  • Product-led SaaS teams running Meta ads to a free trial, with Stripe Billing as the record of who pays.

What should it get you?

  • Every paid lead carries its click ID (gclid, gbraid, wbraid, fbc or li_fat_id) and a consent flag from the first form fill to the closed deal.
  • Qualified, opportunity and closed-won stages land in each ad platform within a day, with a value tied to what that stage is worth.
  • Bidding runs on a primary conversion that is a qualified stage, not a raw form fill, once enough volume has built up.
  • A weekly check shows upload errors, match quality and conversion counts next to CRM counts, so drift gets fixed before it skews bids.
  • Leads who did not consent are never sent, and EEA uploads carry the ad_user_data and ad_personalization signals.

What do you need to run it?

Pick one tool for each job. Any tool listed for a job can fill it; the files name the ones they were written for.

JobPick one
CRM or billing system
Sync layer
Google Ads
Meta Ads
LinkedIn Ads

What is in the offline conversion sync download?

Three files that work together. The setup sheet and the guide fit any of the 10 tools above, and the n8n workflow is a working starting point you finish with your own accounts. They are our own files, not official vendor templates.

n8n workflow (JSON)

The offline conversion sync workflow: 7 nodes and 2 sticky notes that say what to fill in. Import it in n8n with Import from File, then connect your own credentials.

n8n workflow (JSON)11 KB

Setup sheet (CSV)

39 rows of offline conversion sync field mappings, settings, owners and pre-launch checks, with a status column. Opens in Google Sheets or Excel.

Setup sheet (CSV)6 KB

Setup guide (Markdown)

A offline conversion sync guide in 8 sections: the HubSpot route, the Zapier route, how to import the n8n file, what breaks and the vendor docs we used.

Setup guide (Markdown)12 KB

Which stack should you build it on?

Each of these is a full offline conversion sync playbook on one stack, with the build steps, field maps, costs and math. Pick the one closest to the tools you already pay for.

All offline conversion sync playbooks and stacks

Free to copy, and staying free

If this saved your team a build, an optional $5 tip helps cover what it costs to keep these current. Nothing unlocks, and every template and playbook stays free.

Buy us a coffeeTip us for the free templates (optional tip, $5 suggested, opens Stripe in a new tab)

Questions about the offline conversion sync template

Why does the n8n file send to Meta and not Google?

Since June 15, 2026, Google takes offline conversion imports through the Data Manager API and blocks them in the Google Ads API for most developer tokens. HubSpot's ad conversion events, Zapier's Send Offline Conversion action and Hightouch handle that for you, so the guide covers those routes for Google.

Do I hash the click IDs too?

No. Hash emails with SHA-256 after you trim and lowercase them, and send fbc, gclid and li_fat_id exactly as you stored them. The fbc value is case sensitive, so a lowercased or hashed click ID can't match the click.

Which stage should I send first?

Start with the earliest stage that sales agrees predicts revenue and that happens often enough to train on, usually a qualified lead or an opportunity. Send it as a secondary conversion first, then make it primary after the longer of 3 conversion cycles or 4 weeks.

Are these official HubSpot, Zapier or n8n templates?

No. They are New Theory's own files, built from our playbook research and each vendor's public docs. The n8n file imports like any workflow export, and the guide walks through the HubSpot and Zapier screens by name. Menus change, so keep the linked vendor docs open while you build.

Want it built and running?

We build offline conversion sync systems like this one as a one to two week project on your own tools. Book a fit call, or answer six questions for a ballpark.