Looking to send personalized coupon codes to your customers through Klaviyo? You can easily export customer-specific codes from CommentSold and upload them into Klaviyo to use in targeted email or SMS campaigns.

Uploading coupon codes to Klaviyo


 

  1. Download the coupon code CSV from the Coupons tab in CommentSold.
  2. Log into Klaviyo and navigate to Lists & Segments > Select Create List.
  3. Name your list based on the base coupon and select Create List.
  4. Within the new list, go to Settings > Consent > set opt-in process to Single opt-in, then click Save.
  5. In the same list, go to Imports > select Import Contacts.
  6. Upload the CSV file you downloaded from CommentSold.
  7. For your first import:
    • Check the boxes for email, code, and expiresAt.
    • Optionally check customer ID.
  8. Use the drop-downs to Select or Create New Field for each column.
  9. In the pop-up, name each profile property (or use the default), then select Create.
  10. Once all fields are mapped, select Next.
  11. On the next screen, select No to avoid subscribing users to marketing.
  12. Click Import.
    • Note: Duplicate profiles will be skipped. Only the first code listed for each email will be imported.

Using your newly uploaded coupon codes within email/SMS campaigns


 

  1. Go to Templates in Klaviyo.
  2. Choose a template or select Create to start from scratch.
  3. Drag and drop a Text Box into your email design.
  4. In the text box, add your intro text—e.g., “Use code:”
  5. With the text box still selected, click Personalization in the top right.
  6. Search for the profile property you used for the coupon code (e.g., "code").
  7. Under Custom, select the code property.
  8. In the next screen, leave the default text blank (we recommend not sending to users without a code).Select Insert.
  9. To preview the code:
    • Exit the text box.
    • Click Preview & Test in the top right.
    • Under Preview data source, search a profile with a known coupon code.
  10. To add the coupon’s expiration date:
    • Repeat the same steps but use the "expiresAt" property.
    • Or insert this directly: {{ person|lookup:"expiresAt"|default:'' }}
Was this article helpful?
0 out of 0 found this helpful

We're here to help

Reach out to our support team, connect with our community, or ask an expert.