Skip to main content
News

Developer Challenge (CASH PRIZE) | May 2023

  • May 30, 2023
  • 1 reply
  • 360 views
Developer Challenge (CASH PRIZE) | May 2023
Brian Turcotte
Forum|alt.badge.img+37

Hello Developer Group!

Our May 2023 πŸ†Β Developer ChallengeΒ πŸ†Β is here!!!

Β 

Each month, I work with one of our internal Engineers or Solution ArchitectsΒ to generate a challenge that requires contestants to accomplish a technical feat using Klaviyo’s developer tools.

Β 

πŸŽ‰πŸ’°Β New CASH Prize!!!Β πŸ’°πŸŽ‰

Β 

Due to the successΒ of previous challenges, we’ve decided to sweeten the rewards for May!

Β 

Now, the winners and runners-up will receive the following prizes:

  • 1st Place:
    • $500 Cash Prize
    • πŸ“¦πŸ“ˆ Customized Social Media Package for LinkedIn!Β πŸ“ˆπŸ“¦
      Special Winner’s PinΒ in Community!Β πŸ†
      πŸ‘‘ β€œKing-of-the-hill” πŸ‘‘ style article. Winner’s profile will be featuredΒ on the Developer Group landing page until they are unthroned!
      Β 
  • 2nd Place: InsulatedΒ Branded MugΒ β˜•
    Β 
  • 3rd Place: Klaviyo-branded Cap 🀠

    Β 

    2nd (right) and 3rd Place (left) Prizes

    Β 

Β 

ATTENTION

Contest is open to legal residents of the contiguous United States, Canada (with the exception of Quebec), Australia, and the United Kingdom
Β 

See here for full Terms and Conditions

Β 

πŸ”ŠΒ Rules and GuidelinesΒ πŸ”Š

  1. The Challenge will be open until Monday, June 12 at 11:59 pm EST⏳, after which the submission form will be closed.
    Β 
  2. You may use any resourceΒ at your disposal to investigate the challengeΒ -Β including, but not limited to theΒ Developer Portal, existingΒ CommunityΒ posts, andΒ theΒ Klaviyo Help Center.
    • Please noteΒ that there can only beΒ 1 WINNERΒ (theΒ firstΒ to submit a valid solution), so collaborate at your own riskβ€¦πŸ‘€
      Β 
  3. CommentsΒ areΒ enabled forΒ this post (for questions and clarification), but please only use the Google form below to submit answers.
    • If you comment the answer here, it will spoil the fun!Β πŸ˜…

      Β 

May 2023Β Challenge

Β 

This month's challenge will focus on our new Predictive Analytics API, which can be used in association with any operation that retrieves a profile or profiles. Predictive analytics brings you a rich suite of data-science based statistics, including data on Customer Lifetime Value (CLV), churn probability and expected date of next order.

Β 

You are tasked with the following:

  • Given a profile ID, find the predicted CLV of the profile

  • Given a segment ID, find the average predicted CLV of the segment

  • Rank all segments in your account by average predicted CLV

Β 

IMPORTANT: Not all profiles will have CLV metrics based on the data available in your Klaviyo account; for the purposes of this challenge, feel free to mock API responses if your account is not yet able to receive CLV metrics. That said, your solution should still work even if a profile has null values for its predictive_analytics data.

Β 

We are excited to offer you an in-browser development environment through Napkin.io! Klaviyo acquired Napkin in November and we are using it internally for a variety of key functions and hope you will do the same. For this challenge, please submit your answers as a Napkin function by following the steps below:

Β 
  1. Create an account in Napkin - you can sign up via Google, GitHub, or email

  2. Clone one of the following Napkin function:

    1. Python boilerplate

    2. Node boilerplate
      Β 

  3. The cloned function will give you some boilerplate code that allows you to make API calls with our SDKs. Once you have cloned the function, you must get a private API in your Klaviyo account and add it to your Napkin environment

    1. Instructions on getting your private key can be found here

    2. Once you have your private API key, set it as your KLAVIYO_PRIVATE_API_KEY under β€œOther” in your Napkin function like below:

Image 1
  1. Once you have your solution, share your Napkin function. You can get a URL to your public function by clicking Share like in the screenshot below:

Image 2

Β 

  1. Finally, submit the URL with your name and other details using the form below!​​​​​​



Β 

ATTENTION

Contest is open to legal residents of the contiguous United States, Canada (with the exception of Quebec), Australia, and the United Kingdom
Β 

See here for full Terms and Conditions

Β 

SUBMIT YOUR ANSWER HERE:

https://forms.gle/XRB293DDeTimBwP3A

Β 

- Brian

This topic has been closed for replies.

1 reply

Brian Turcotte
Forum|alt.badge.img+37

HiΒ @retention,Β @SeanMcC,Β @Brett_Gatsby,Β @popsmash,Β @matthewstuckings,Β @TRIBE,Β @jimk,Β @brewcrew,Β @ChrisR,Β @imp_dev,Β @Mineral-CR,Β @dartacus, &Β @KeviSunshine!

Just wanted to tag you all in this because I’ve noticed you’veΒ been very active and instrumental in expanding the Developer Group,Β so it would be fantastic to see one of you being rewarded with the grand prize of $500!

Β 

The contest is open until next Tuesday, so feel free to give it a quick shot, even if time-constrained! This fun challenge also helps explore the potential of our APIs. Eagerly awaiting your thoughts, and thanks for being part of our community!

Best,
Brian