Klaviyo

Email Marketing and SMS Marketing Platform

Integrate the Klaviyo API with the Data Stores API

Setup the Klaviyo API trigger to run a workflow which integrates with the Data Stores API. Pipedream's integration platform allows you to integrate Klaviyo and Data Stores remarkably fast. Free for developers.

Add Member To List with the Klaviyo API

Add member to a specific list. See the docs here

 
Try it
Add or update a single record with the Data Stores API

Add or update a single record in your Pipedream Data Store.

 
Try it
Create New List with the Klaviyo API

Creates a new list in an account. See the docs here

 
Try it
Add or update multiple records with the Data Stores API

Add or update multiple records to your Pipedream Data Store.

 
Try it
Get Lists with the Klaviyo API

Get a listing of all of the lists in an account. See the docs here

 
Try it

Overview of Klaviyo

With the Klaviyo API, you can build a variety of things, including:

  • A way to track and analyze your website's traffic
  • A way to segment your website's visitors
  • A way to send targeted emails to your website's visitors
  • A way to A/B test your email campaigns
  • A way to track your email campaign's performance
  • A way to create custom reports about your website's traffic and visitor
    behavior

Connect Klaviyo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    klaviyo: {
      type: "app",
      app: "klaviyo",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: ` https://a.klaviyo.com/api/accounts/`,
      headers: {
        "Authorization": `Klaviyo-API-Key ${this.klaviyo.$auth.api_key}`,
        "revision": `2023-12-15`,
      },
    })
  },
})

Overview of Data Stores

With the Data Stores API, you can build applications that:

  • Store data for later retrieval
  • Retrieve data from a store
  • Update data in a store
  • Delete data from a store

Connect Data Stores

1
2
3
4
5
6
7
8
9
10
11
export default defineComponent({
  props: {
    myDataStore: {
      type: "data_store",
    },
  },
  async run({ steps, $ }) {
    await this.myDataStore.set("key_here","Any serializable JSON as the value")
    return await this.myDataStore.get("key_here")
  },
})