Skip to main content

Connect Klaviyo and Send Welcome Emails with CWILL Popup Discounts

Connect CWILL Popup Email to Klaviyo, test subscriber syncing, and create a welcome flow using your popup discount code.

Connect CWILL Popup Email to Klaviyo to sync popup subscription events and send welcome emails. If your popup offers a discount, you can include the subscriber’s discount code and discount link in your Klaviyo email.

1. Connect your Klaviyo account

  1. In CWILL Popup Email, go to Settings → Integrations.

  2. Find Klaviyo and click Connect.

  3. Sign in to the Klaviyo account you want to use.

  4. If an App has not been reviewed notice appears, check that the app is CWILL Popup Email before clicking Continue.

  5. Review the permissions and click Allow.

  6. Return to Settings → Integrations. Confirm that the status is Connected and the correct account is connected.

Complete authorization in your own Klaviyo account. You do not need to share your password or API keys with support.

2. Test subscriber syncing

  1. Open your storefront and subscribe through your CWILL popup using a new test email address.

  2. If double opt-in is enabled, open the confirmation email and confirm the subscription.

  3. In Klaviyo, go to Profiles and search for the test email address.

  4. Open the profile and look for CWILL Email - Popup New Subscribed in its activity.

  5. If your popup includes a discount, expand the event details and check the discount information.

Complete this test before building your flow so that you have a sample event to select and preview.

3. Create a welcome email flow

Connecting Klaviyo does not automatically create or activate a welcome email flow. You’ll need to set up and activate the flow in Klaviyo.

  1. Go to Flows → Create flow → Build your own.

  2. Enter a name and create your flow.

  3. Under Select a trigger → Your metrics, find the CWILL integration and choose CWILL Email - Popup New Subscribed.

  4. Click Save → Confirm and save.

  5. Click the plus icon below the trigger and add an Email action.

  6. Set the subject and sender details, choose a template, and edit the email.

  7. Click Preview and select your test subscription event. Check the content and links.

  8. When everything is ready, set the email action to Live and confirm that the flow is enabled.

4. Include your popup discount in the email

  1. Open your flow email in the Klaviyo editor and click Preview.

  2. Select a CWILL subscription event that includes a discount.

  3. Expand All properties to see the event properties.

  4. Use the relevant variable in your email text or button URL.

Display the discount code:

{{ event.discountCode }}

Display the discount value:

{{ event.discountValue }}

Link a “Use My Discount” or “Shop Now” button:

{{ event.discountUrl }}

Use the discount URL as the button’s destination URL. Preview with an event that contains discount information; an event without a discount may show empty fields. Check the discount type before adding a percentage sign or currency symbol.

Reconnect or disconnect Klaviyo

  • Needs reconnect: Click Reconnect, sign in, and complete authorization again.

  • Connection cancelled or failed: Return to Settings → Integrations and try Connect again.

  • Stop syncing: Click Disconnect and confirm. You can reconnect later.

Troubleshooting

I can’t find the CWILL subscription event.

Confirm that the correct Klaviyo account is connected. Submit a new test email address through the popup and complete double opt-in confirmation if enabled. Then check the test profile’s activity for CWILL Email - Popup New Subscribed.

The discount code is blank in the preview.

Select a test event from a popup that offers a discount. Expand All properties and check that discountCode and discountUrl have values, then check the variables used in your email.

The profile is synced, but no welcome email is sent.

Check that your flow uses CWILL Email - Popup New Subscribed as its trigger and that the flow and email action are live. Review any flow filters that could exclude your test profile.

Still need help? Contact us through the in-app chat with your store URL and screenshots of the connection status and the issue you’re seeing.

Did this answer your question?