Brass gears meshing in a line, one big gear driving smaller and smaller ones, on a coral floor

Integration · CRM

Viral Loops + HubSpot

Sign in with HubSpot and every new participant becomes a contact, with their referral code, link and count as properties. It works both ways: import HubSpot lists, add contacts from a workflow and report conversions back.

Connect HubSpot14-day free trial · No credit card requiredRead the setup guide
What syncs
Contacts and referral properties, both ways
Plan
Growing and up
Setup
Sign in with HubSpot

What syncs between Viral Loops and HubSpot?

Participants sync as contacts, with their referral link and referral count.

Viral Loops to HubSpot

Contact
Every new participant, with email, first and last name, and never a duplicate
referralcode_{campaignId}
Their referral code
sharingurl_{campaignId}
Their personal referral link
referralcount_{campaignId}
How many friends they've referred
rank_{campaignId}
Their place on the leaderboard, in leaderboard campaigns

HubSpot to Viral Loops

List import
Bring a HubSpot list, or all contacts, into the program
Workflow webhook
Contacts a workflow enrols join, each with a referral link
Forms
HubSpot form submissions add referred leads
Conversions
A workflow reports when a referred contact becomes a customer

Only participants who join after you connect are synced. The properties sit in a group named after your campaign, and each name ends with the campaign's ID, so several campaigns can share one HubSpot account. Who referred them isn't synced to HubSpot.

What can you do with HubSpot and Viral Loops?

  1. 1

    Send the referral link from HubSpot

    Put the sharing URL property in a HubSpot email, and each contact gets their own link. If HubSpot sends your emails, turn off the Viral Loops ones.

  2. 2

    Bring your customers in from a list

    Put your existing customers in a static list and import it. Each one gets a referral code, link and count on their contact.

  3. 3

    Count only friends who become customers

    A workflow with a custom code action tells Viral Loops when a referred contact becomes a customer, so only paying friends count as referrals.

How do you connect HubSpot?

Full setup guide
  1. 1

    Open Integrations

    In your campaign, go to the Integrations step, choose HubSpot and click Edit.

  2. 2

    Sign in to HubSpot

    Click Connect, sign in to HubSpot and authorize Viral Loops.

  3. 3

    Save and finish

    When you see Success, click Save, then Next and Finish.

  4. 4

    Check it in HubSpot

    Viral Loops now shows in HubSpot under Settings, Integrations, Apps.

Which templates work best with HubSpot?

All templates

FAQ

HubSpot FAQ

Which properties does Viral Loops add to HubSpot contacts?

The referral code, sharing URL and referral count, plus checkreferrals and xreferrals. Leaderboard campaigns add rank, minref, newRank, jumpPos and daysLeft. Each name ends with your campaign's ID, and in an email the link is contact.sharingurl_{campaignId}.

Does HubSpot get who referred each contact?

No. The referrer's email and name aren't synced to HubSpot. Each contact gets their own referral code, link and count.

Are my existing HubSpot contacts synced?

Only participants who join after you connect are synced. To bring existing contacts in, import a list, or all contacts, from your campaign dashboard. The picker shows up to 50 lists; for others, use a CSV.

Will importing send my welcome email?

It can. Turn off the Welcome email before you import if you don't want that. More than 5,000 contacts take longer to import.

Can HubSpot tell Viral Loops when a friend becomes a customer?

Yes. A workflow with a custom code action calls the Viral Loops conversion API when a referred contact becomes a customer. It works in Milestone and Altruistic campaigns.

Which plan includes HubSpot?

Growing and Power.

More CRM integrations

All integrations

Connect HubSpot to your referral program.

Plans start at $35 a month, billed annually. Try it free for 14 days, or talk to our team.

Connect HubSpot14-day free trial · No credit card requiredBook a demo