How to Connect Klaviyo to Your Giveaway


Klaviyo is an email marketing platform. With SweepWidget’s Klaviyo integration, entrants are added to your Klaviyo list when they complete the Newsletter Subscription entry method.

Table of Contents

  • Overview
  • Requirements
  • Step 1: Get Your Klaviyo Private API Key
  • Step 2: Add the Newsletter Subscription Entry Method
  • Step 3: Connect Klaviyo
  • Step 4: Test Your Integration
  • Troubleshooting Common Issues
  • What Data Gets Sent to Klaviyo
  • Frequently Asked Questions

Overview

When an entrant completes the Newsletter Subscription entry method, SweepWidget creates or updates their Klaviyo profile (email, first name, last name) and subscribes them to your selected list.

Plan Required: Pro plan or higher

Entry Methods Overview

Requirements

  • A Klaviyo account (free or paid)
  • At least one list created in Klaviyo
  • Your Klaviyo private API key (not the public key) with the correct permissions
  • A SweepWidget Pro plan or higher

Important: API Key Permissions Required

The simplest option is a private key with Full Access. If you set scopes one by one, the key needs:

Permission Access Level Why It’s Needed
Lists Full Access (Read/Write) To show your lists in SweepWidget and add entrants to them
Profiles Full Access (Read/Write) To create and update entrant profiles
Subscriptions Full Access (Read/Write) To set marketing consent so entrants show as Subscribed instead of “Never Subscribed”

If Klaviyo rejects the subscribe request (for example the key is missing the Subscriptions scope), SweepWidget still adds the entrant to your list, but without marketing consent, so they show as “Never Subscribed”. The giveaway builder then shows a yellow warning under the API key: Klaviyo rejected the last subscribe request (HTTP …), with what Klaviyo said.

Step 1: Get Your Klaviyo Private API Key

Important: you must use your private API key, not the public key.

  • Log in to your Klaviyo account
  • Click your account name in the lower-left corner
  • Select Settings
  • Click API Keys in the left sidebar
  • Click Create Private API Key
  • Give it a name like “SweepWidget Integration”
  • Choose Full Access, or set Lists, Profiles and Subscriptions to Full Access
  • Click Create
  • Copy the API key immediately (private keys start with “pk_”)

For detailed instructions, see Klaviyo’s guide on managing API keys.

Before You Continue: Create a List in Klaviyo

  • In Klaviyo, go to Audience → Lists & Segments
  • Click Create List / Segment
  • Select List
  • Give your list a name (e.g., “Giveaway Subscribers”)
  • Click Create

Draft lists and suppression lists do not appear when you fetch lists in SweepWidget.

Step 2: Add the Newsletter Subscription Entry Method

  • In your SweepWidget giveaway editor, go to the Entry Methods tab
  • Click Add a Way to Enter
  • Click Newsletter Subscription (envelope icon)
Newsletter Subscription Entry Method
Newsletter Configuration Panel

Configure the basic settings:

  • Entry Label: the text participants see (default: “Subscribe To Newsletter”)
  • Worth # entries: how many entries this action is worth
  • Newsletter Name: a display name for your newsletter (e.g., “My Newsletter”)
  • Mandatory: check this to require participants to subscribe to enter

Step 3: Connect Klaviyo

CRM Integration Selection
Klaviyo API Configuration
  • Tick Integrate Your Email List
  • In the grid of email providers, click Klaviyo (or type it in Search for a CRM…)
  • In the Enter your Klaviyo private API key field, paste your private API key
  • Click Fetch Lists
  • Select the list you want subscribers added to from the Newsletter Lists dropdown
  • Click Save & Publish

If no lists appear: make sure your key has access to Lists and that you have at least one list in Klaviyo (not a draft or suppression list).

Step 4: Test Your Integration

  • Visit your live giveaway URL
  • Enter the giveaway with a test email address
  • Complete the Newsletter Subscription entry method
  • In Klaviyo, check your list and the profile’s email consent
  • Reopen the giveaway in the builder. If a yellow “Klaviyo rejected the last subscribe request” warning appears under the API key, follow its instructions

Tip: use a different email than your Klaviyo account email for testing.

Troubleshooting Common Issues

Lists Not Loading / “No lists found”

  • Wrong API key type: use your private API key (starts with pk_), not the public key
  • Missing API permission: the key needs access to Lists
  • No lists exist: create at least one list in Klaviyo. Draft lists and suppression lists won’t appear
  • API key inactive: check in Klaviyo that the key is active and not revoked
  • Copy/paste error: re-copy the key, with no extra spaces

Subscribers Not Being Added to List

  • Missing API permission: the key needs Profiles and Lists write access. A Full Access key covers this
  • Check the builder warning: open the entry method in the builder and read the yellow Klaviyo warning, if shown
  • Entrants are added only when they complete the Newsletter Subscription entry method. Make it Mandatory if you want every entrant added
  • List changed: if you renamed or deleted the list in Klaviyo, fetch lists again and re-select
  • Check suppressed profiles: in Klaviyo, check if the email is suppressed

Subscribers Show as “Never Subscribed”

  • Missing “Subscriptions” permission: the most common cause. Create a Full Access private key and update it in your giveaway settings. The builder warning shows HTTP 403 in this case
  • Double opt-in on the list: SweepWidget follows your list’s opt-in setting. With double opt-in, Klaviyo sends the entrant a confirmation email and they stay “Never Subscribed” until they click it. To subscribe entrants immediately, open your list in Klaviyo, go to Settings, then Consent, and switch to single opt-in

“Error” When Fetching Lists

  • Invalid API key: the key is incorrect or revoked
  • Network issues: refresh the page and fetch again
  • Klaviyo outage: check Klaviyo’s status page

What Data Gets Sent to Klaviyo

Field Klaviyo Profile Field Notes
Email address email Required – used to identify the profile
First name first_name First word of the entrant’s name
Last name last_name Rest of the entrant’s name

The integration creates a profile if none exists with that email (or updates it), then subscribes it to your selected list.

Frequently Asked Questions

Can I add subscribers to multiple lists?

Each Newsletter Subscription entry method connects to one list. To use several lists, add several Newsletter Subscription entry methods, each connected to a different list.

What happens if someone is already on my list?

The existing profile is updated and kept on the list. No duplicate profiles are created.

Do subscribers receive a double opt-in email?

Only if your Klaviyo list uses double opt-in. SweepWidget follows the list’s setting. Switch the list to single opt-in in Klaviyo if you want entrants subscribed right away.

Can I use segments instead of lists?

No. The integration only works with Klaviyo lists, not segments.

Is the phone number collected?

No. Only email, first name and last name are sent to Klaviyo.

How do I change which list subscribers are added to?

Edit your giveaway, open the Newsletter Subscription entry method, click Fetch Lists, select the new list and save.