Skip to main content

Klaviyo Integration

This article covers integrating Klaviyo and Hatz. It includes the steps to integrate and available tools once it is connected.

Introduction

The Klaviyo integration with Hatz brings the power of your email and SMS marketing platform directly into your AI workflows. By connecting Klaviyo to Hatz, you can use natural language to query campaign performance, manage customer profiles, explore audience segments, review flows, and much more β€” all without leaving your Hatz workspace.

Whether you're a marketer looking to pull quick performance reports, a sales rep checking on a customer's subscription status, or a team lead building automated workflows, this integration puts your Klaviyo data at your fingertips through simple conversational prompts.

Example prompts you can use after connecting:

  • "Show me the performance of my email campaigns from the last 30 days."

  • "Which flows are generating the most conversions this quarter?"

  • "Create a new email campaign for our upcoming sale."

  • "Look up the profile for [email protected] and show me their subscription status."

How the Integration Works

Hatz connects to Klaviyo using Klaviyo's official Model Context Protocol (MCP) server, hosted at https://mcp.klaviyo.com/mcp. This is a secure, remote-hosted server maintained directly by Klaviyo.

Once connected, Hatz's AI engine can access your Klaviyo account data through a set of defined tools β€” such as fetching campaign reports, listing audience segments, or creating profiles β€” and surface that information in response to your natural language requests.

Authentication is handled via OAuth, meaning Hatz will securely redirect you to Klaviyo to authorize access. No passwords are shared with Hatz directly.

This is a per-user integration. Each user in Hatz who wants access to Klaviyo data must set up their own connection. One user's connection does not grant access to other users on the same tenant.

Prerequisites

Before setting up the integration, make sure you have the following:

  • An active Klaviyo account

  • A Klaviyo user role of Owner, Admin, or Manager (required to authorize the MCP connection)

  • Access to your Hatz tenant with permissions to manage Connections

Steps to Integrate

Follow the steps below to connect your Klaviyo account to Hatz:

  • Login to Hatz, select Workshop at the top and then select Connections on the left menu

  • Find Klaviyo in the list of available integrations and click Add

  • You will be redirected to Klaviyo to log in and authorize the connection

  • Review the requested permissions and click Allow

  • Once authorized, you will be returned to Hatz and the connection will be marked as active

Note: You must be logged into the Klaviyo account you wish to connect before completing the authorization step. If you manage multiple Klaviyo accounts, make sure you are signed into the correct one.

Features Available After Integration

Once the Klaviyo integration is active, the following tools become available to you through Hatz's AI assistant:

Tool

Description

Get Campaigns

List all of your Klaviyo campaigns

Get Campaign

Retrieve full details of a specific campaign

Create Campaign

Create a new email campaign

Assign Template to Campaign Message

Assign an email template to a campaign message

Get Campaign Report

Pull a performance report for a campaign (opens, clicks, revenue, etc.)

Get Flows

List all of your automation flows

Get Flow

Get details of a specific flow

Get Flow Report

Pull a performance report for a flow

Get Profiles

List customer profiles in your Klaviyo account

Get Profile

Retrieve details for a specific profile

Create Profile

Create a new customer profile

Update Profile

Update an existing profile's information

Subscribe Profile to Marketing

Subscribe a profile to a list/channel

Unsubscribe Profile from Marketing

Unsubscribe a profile from a list/channel

Get Lists

List all of your Klaviyo lists

Get List

Get details of a specific list

Get Segments

List all of your audience segments

Get Segment

Get details of a specific segment

Get Events

List events tracked in your account

Get Metrics

List all event metrics

Get Metric

Get details of a specific metric

Query Metric Aggregates

Aggregate and analyze event data for a metric

Get Email Template

Retrieve the details of an email template

Create Email Template

Create a new HTML email template

Get Catalog Items

List items from your product catalog

Upload Image from URL

Upload an image to Klaviyo from a URL

Get Account Details

View details about your connected Klaviyo account

Klaviyo Reference Guide

Below is Klaviyo's documentation on their hosted MCP server.

Did this answer your question?