Example Middleware to Send Custom Emails using Klaviyo

The subscribepro/klaviyo-serverless-example repository contains an example JavaScript function that can act as a middleware between Subscribe Pro's webhooks and Klaviyo. The example provided in this repository is quick, easy, and shows how Subscribe Pro's webhook data can be used in custom Klaviyo emails and Flows.

In the example provided, the serverless function can easily be deployed to Netlify and the code can be modified to suit any and all webhook events that are fired by Subscribe Pro (see Webhook Message Schema).

Instructions and additional details can be found in the repository.

Subscribe Pro's Klaviyo Serverless Example Github Repo