Skip to main content
Solved

Is there a dedicated "affiliate program" sign up form template and/or process existing on KLAVIYO ?


Forum|alt.badge.img+1

Hi guys, 

I would like to create form enabling a “affiliate” program :

1/ new visitors on the website are inviting to subscribe and will receive a 10% discount code by email once they subscribe. 

2/ in this email, newly subscribed users will a/ be able to visualize their 10% discount code and b/ are offered the possibility to unlock an immediat second discount code of 15% IF they enter three emails to reach out for us, via a embeded sign up form on our website. 

So far, I have succeeded in creating a sign up form on KLAVIYO, and added 3 “text input fields” linked to 3 distinctive “custom properties” for each subscriber. 

My issue : I cant find a way for KLAVIYO to extract this 3 new custom properties (being EMAIL RECO 1, EMAIL RECO 2, EMAIL RECO 3) automatically to fill out a dedicated list of emails to reach out with an automatic flow.

In the desired automatic flow, the suggested emails would be reached out with 1/ the info that someone recommended them as our future new subscriber, 2/ the info that we propose them to also benefit a 10% discount code if they subscribe + then a 15% discount if they also recommend 3 emails to reach out. 

My question : is there a dedicated sign up form template and/or process existing on KLAVIYO to solve my issue ? 

If so, how to do ? 

 

Thank you 

Best answer by Christiannoerbjerg

Hi ​@allisonANJA 

Thank you for posting in the Community!

When you’re saving the 3 e-mails as a text based property - You could create a flow, which is triggered via. a webhook and utilizes this API: https://developers.klaviyo.com/en/reference/create_or_update_profile

This API endpoint can be used for creating new profiles inside of klaviyo. You can take the e-mail from the 1, 2 or 3 property and create that as a new profile, as long, as the e-mails is written correctly. 

I think the webhook script will be like the following: 

Authorization: Klaviyo-API-Key your-private-api-key
accept: application/vnd.api+json
content-type: application/vnd.api+json
revision: 2025-01-15

{
  "data": {
    "type": "profile",
    "attributes": {
      "email": "Property1"
    }

}

Hope that helps or else let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Christiannoerbjerg
Expert Problem Solver II
Forum|alt.badge.img+12

Hi ​@allisonANJA 

Thank you for posting in the Community!

When you’re saving the 3 e-mails as a text based property - You could create a flow, which is triggered via. a webhook and utilizes this API: https://developers.klaviyo.com/en/reference/create_or_update_profile

This API endpoint can be used for creating new profiles inside of klaviyo. You can take the e-mail from the 1, 2 or 3 property and create that as a new profile, as long, as the e-mails is written correctly. 

I think the webhook script will be like the following: 

Authorization: Klaviyo-API-Key your-private-api-key
accept: application/vnd.api+json
content-type: application/vnd.api+json
revision: 2025-01-15

{
  "data": {
    "type": "profile",
    "attributes": {
      "email": "Property1"
    }

}

Hope that helps or else let me know! :-) 

Christian Nørbjerg Enger
Partner & CPO
Web: Segmento.dk
LinkedIn: @christianfromsegmento
Voldbjergvej 22b, 8240 Risskov


Amos Peace
Problem Solver III
Forum|alt.badge.img+5
  • Problem Solver III
  • 47 replies
  • January 18, 2025

Hello ​@allisonANJA,

Klaviyo does not natively provide a dedicated sign-up form template to handle the kind of multi-step affiliate program you’re describing. However, you can achieve this workflow with some customization and creative use of Klaviyo’s features.

You can set it up like this:

  1. Create Forms:

    • Sign-Up Form: Collects the visitor's email and sends a welcome email with a 10% discount code.
    • Referral Form: Collects 3 referral emails using custom properties (e.g., Email Reco 1, Email Reco 2, Email Reco 3).
  2. Send Referral Offer:

    • In the welcome email, include a link to the referral form with the offer to unlock a 15% discount by referring 3 friends.
  3. Handle Referral Emails:

    • Use the Klaviyo API or Zapier to extract the 3 referral email custom properties and add them to your list.
    • Set up a flow for the referred emails to send them:
      • A message saying they were referred.
      • A 10% discount code and a referral offer for their friends.
  4. Reward the Referrer:

    • Create a segment to identify subscribers whose referrals joined.
    • Trigger a flow to send the original referrer their 15% discount.

Alternatively, consider a referral tool like ReferralCandy to simplify this process.

 

Let me know if you need help with any step.

 

 

Best Regards,

Peace.

+2349023453575


MANSIR2094
Problem Solver IV
Forum|alt.badge.img+13
  • Problem Solver IV
  • 172 replies
  • January 18, 2025

Hello ​@allisonANJA ,

Klaviyo doesn’t have a built-in template for this type of affiliate program, but you can set it up with a few custom steps:

  1. Form Setup: Keep using your current sign-up form with fields for three referral emails (EMAIL RECO 1, EMAIL RECO 2, EMAIL RECO 3). Make sure these emails are saved correctly under each subscriber’s profile.

  2. Referral Emails: To send emails to the referrals automatically, you’ll need to use Klaviyo’s API or a tool like Zapier. This will take the three referral emails from the subscriber’s profile and add them to a specific email list.

  3. Referral Email Flow: Set up an automated flow that sends an email to these referrals. The email should:

    • Mention who referred them.
    • Offer a 10% discount for signing up.
    • Explain they can earn a 15% discount by referring three others.
  4. 15% Discount Code: After a referral signs up and submits three more emails, you can set up another flow to send them the 15% discount code.

If setting this up feels complicated, I recommend reaching out for support to help with the API or integrations.