Articles on: Klaviyo Integration

How to Integrate GoodAPI with Klaviyo

Overview

This guide walks you through connecting your GoodAPI account to Klaviyo so you can display your brand’s environmental impact, such as trees planted or plastic removed, directly inside your Klaviyo email campaigns.


Watch the video below or follow the step by step instructions to start automatically sharing your impact with your customers.




Step 1: Access the Klaviyo Setup in GoodAPI

  1. Log in to your GoodAPI dashboard.
  2. Navigate to the Advanced section.
  3. Locate the Klaviyo subsection.
  4. Click Setup Instructions to open the integration guide.

You’ll see a feed URL provided by GoodAPI — this is what Klaviyo will use to pull your environmental impact data.


Step 2: Create a Web Feed in Klaviyo

  1. Log in to your Klaviyo account.
  2. Go to Profile → Settings → Other → Web Feeds.
  3. Click Add Web Feed.

Then fill in the following details:

Field

Value

Feed Name

GoodAPI

Feed URL

Copy from your GoodAPI setup screen

Request Type

GET

Feed Format

JSON

  1. Click Add Web Feed to save.


Step 3: Add GoodAPI Data to Your Email Templates

Now that your feed is set up, you can access the data in any Klaviyo campaign or template.

  1. Open your desired email campaign or template.
  2. Insert the variable where you want your impact data to appear.

For example:

We've planted ({{feeds.goodapi.total_trees_planted_merchant}}) trees 🌳

  1. You can confirm that your variable works by going back to your GoodAPI app and checking the Feed URL. Make sure the feed you copied matches the one listed there.
  2. If you are doing plastic bottles, you can use the following variable (`{{feeds.goodapi.total_bottles_registered_merchant}} `)


Step 4: Preview and Test Your Email

  1. Click Preview & Test in Klaviyo.
  2. When the email renders, your variable ({{ feeds.goodapi.total_trees_planted }}) will automatically be replaced with the live total from GoodAPI.

Example preview:

We’ve planted 12,345 trees 🌳 with GoodAPI.


Step 5: Share Your Impact

That’s it! Your Klaviyo emails now include real-time sustainability data from GoodAPI, helping you showcase your positive impact directly to your customers.

```

Updated on: 04/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!