Skip to main content

Klaviyo Connector

Klaviyo Klaviyo is a cloud based email marketing solution that enables e-commerce businesses to create, send, and analyze email and SMS campaigns.

Connections

API Key

Connection to Klaviyo using an API Key.

InputCommentsDefault
API KeyYour API Key for Klaviyo

OAuth 2.0

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesSpace separated list of scopes if needed
Client ID
Client secret

Actions

Bulk Create Events

Create a batch of events for one or more profiles.

InputCommentsDefault
Connection
Events ArrayAn array of events to create.
Debug RequestEnabling this flag will log out the current request.false

Create Campaign

Creates a campaign given a set of parameters, then returns it.

InputCommentsDefault
Connection
Campaign NameThe name of the campaign.
Campaign MessagesThe message(s) to send in the campaign.
Included AudiencesA list of included audiences.
Excluded AudiencesA list of excluded audiences.
Tracking OptionsThe tracking options for the campaign.
Send OptionsThe send options for the campaign.
Send StrategyThe send strategy for the campaign.
Debug RequestEnabling this flag will log out the current request.false

Create Event

Create a new event to track a profiles activity.

InputCommentsDefault
Connection
Event NameName of the event.
Event ProfileThe profile associated with this event.
Event PropertiesThe properties of the event.
Event TimeWhen this event occurred. By default, the time the request was received will be used.
Event ValueA numeric, monetary value to associate with this event.
Event Value CurrencyThe ISO 4217 currency code of the value associated with the event.
Event Unique IDA unique identifier for this event.
Debug RequestEnabling this flag will log out the current request.false

Create List

Create a new list.

InputCommentsDefault
Connection
List NameA helpful name to label the list.Newsletter
Debug RequestEnabling this flag will log out the current request.false

Create Profile

Create a new profile.

InputCommentsDefault
Connection
EmailIndividual's email address
Phone NumberIndividual's phone number in E.164 format
External IDA unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.
First NameIndividual's first name
Last NameIndividual's last name
OrganizationName of the company or organization within the company for whom the individual works
TitleIndividual's job title
ImageURL pointing to the location of a profile image
LocationLocation information for the profile.
PropertiesAn object containing key/value pairs for any custom properties assigned to this profile.
Debug RequestEnabling this flag will log out the current request.false

Create Segment

Create a segment.

InputCommentsDefault
Connection
Segment NameThe name of the segment.
Segment Condition GroupsThe condition groups that define the segment.
Is Starred SegmentWhether the segment is starred.false
Debug RequestEnabling this flag will log out the current request.false

Create Template

Create a new custom HTML template.

InputCommentsDefault
Connection
Template NameThe name of the template.
Editor TypeRestricted to CODE.
Template HTMLThe HTML content of the template.
Template TextThe text content of the template.
Debug RequestEnabling this flag will log out the current request.false

Delete Campaign

Delete a campaign with the given campaign ID.

InputCommentsDefault
Connection
Campaign IDThe ID of the campaign.
Debug RequestEnabling this flag will log out the current request.false

Delete List

Delete a list with the given list ID.

InputCommentsDefault
Connection
List IDThe unique identifier of the list.
Debug RequestEnabling this flag will log out the current request.false

Delete Segment

Delete a segment with the given segment ID.

InputCommentsDefault
Connection
Segment IDThe ID of the segment.
Debug RequestEnabling this flag will log out the current request.false

Delete Template

Delete a template with the given template ID.

InputCommentsDefault
Connection
Template IDThe ID of the template.
Debug RequestEnabling this flag will log out the current request.false

Get Account

Retrieve a single account object by its account ID.

InputCommentsDefault
Connection
Account IDThe ID of the account to retrieve.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Campaign

Returns a specific campaign based on a required id.

InputCommentsDefault
Connection
Campaign IDThe ID of the campaign.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Event

Get an event with the given event ID.

InputCommentsDefault
Connection
Event IDThe ID of the event.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Image

Get the image with the given image ID.

InputCommentsDefault
Connection
Image IDThe ID of the image.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get List

Get a list with the given list ID.

InputCommentsDefault
Connection
List IDThe unique identifier of the list.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Profile

Get the profile with the given profile ID.

InputCommentsDefault
Connection
Profile IDUnique identifier for the profile.
FieldsThe fields to include in the response.
Additional Profile FieldsRequest additional fields not included by default in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Segment

Get a segment with the given segment ID.

InputCommentsDefault
Connection
Segment IDThe ID of the segment.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Get Template

Get a template with the given template ID.

InputCommentsDefault
Connection
Template IDThe ID of the template.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Accounts

Retrieve the account(s) associated with a given private API key.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Campaigns

Returns some or all campaigns based on filters.

InputCommentsDefault
Connection
Filter CampaignsA filter to apply to the campaigns.equals(messages.channel,'sms')
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Events

Get all events in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Images

Get all images in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List List Profiles

Get all profiles within a list with the given list ID.

InputCommentsDefault
Connection
List IDThe unique identifier of the list.
Additional Profile FieldsRequest additional fields not included by default in the response.
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Lists

Get all lists in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Profile

Get all profiles in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Additional Profile FieldsRequest additional fields not included by default in the response.
Debug RequestEnabling this flag will log out the current request.false

List Segments

Get all segments in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

List Templates

Get all templates in an account.

InputCommentsDefault
Connection
FieldsThe fields to include in the response.
Debug RequestEnabling this flag will log out the current request.false

Raw Request

Send raw HTTP request to Klaviyo.

InputCommentsDefault
Connection
Exclude AuthorizationExclude the Authorization header from the request. Turn this on and include the company_id query param when calling public endpoints (/client).false
URLInput the path only (/api/accounts), The base URL is already included (https://a.klaviyo.com). For example, to connect to https://a.klaviyo.com/api/accounts, only /api/accounts is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Subscribe Profiles

Subscribe one or more profiles to email marketing, SMS marketing, or both.

InputCommentsDefault
Connection
ProfilesArray of profiles to subscribe.
Debug RequestEnabling this flag will log out the current request.false

Unsubscribe Profiles

Unsubscribe one or more profiles to email marketing, SMS marketing, or both.

InputCommentsDefault
Connection
ProfilesArray of profiles to unsubscribe.
Debug RequestEnabling this flag will log out the current request.false

Update Campaign

Update a campaign with the given campaign ID.

InputCommentsDefault
Connection
Campaign IDThe ID of the campaign.
Campaign NameThe name of the campaign.
Included AudiencesA list of included audiences.
Excluded AudiencesA list of excluded audiences.
Tracking OptionsThe tracking options for the campaign.
Send OptionsThe send options for the campaign.
Send StrategyThe send strategy for the campaign.
Debug RequestEnabling this flag will log out the current request.false

Update Image

Update the image with the given image ID.

InputCommentsDefault
Connection
Image IDThe ID of the image.
Image NameA name for the image. Defaults to the filename if not provided. If the name matches an existing image, a suffix will be added.
Image Hidden
Debug RequestEnabling this flag will log out the current request.false

Update List

Update the name of a list with the given list ID.

InputCommentsDefault
Connection
List IDThe unique identifier of the list.
List NameA helpful name to label the list.Newsletter
Debug RequestEnabling this flag will log out the current request.false

Update Profile

Update the profile with the given profile ID.

InputCommentsDefault
Connection
Profile IDUnique identifier for the profile.
EmailIndividual's email address
Phone NumberIndividual's phone number in E.164 format
External IDA unique identifier used by customers to associate Klaviyo profiles with profiles in an external system, such as a point-of-sale system. Format varies based on the external system.
First NameIndividual's first name
Last NameIndividual's last name
OrganizationName of the company or organization within the company for whom the individual works
TitleIndividual's job title
ImageURL pointing to the location of a profile image
LocationLocation information for the profile.
PropertiesAn object containing key/value pairs for any custom properties assigned to this profile.
Debug RequestEnabling this flag will log out the current request.false

Update Segment

Update a segment with the given segment ID.

InputCommentsDefault
Connection
Segment IDThe ID of the segment.
Segment NameThe name of the segment.
Segment Condition GroupsThe condition groups that define the segment.
Is Starred SegmentWhether the segment is starred.
Debug RequestEnabling this flag will log out the current request.false

Update Template

Update a template with the given template ID.

InputCommentsDefault
Connection
Template IDThe ID of the template.
Template NameThe name of the template.
Template HTMLThe HTML content of the template.
Template TextThe text content of the template.
Debug RequestEnabling this flag will log out the current request.false

Upload Image

Import an image from a url or file.

InputCommentsDefault
Connection
Image URLAn existing image url to import the image from. Alternatively, you may specify a base-64 encoded data-uri (data:image/...). Supported image formats: jpeg,png,gif. Maximum image size: 5MB. Use this field or File Data.
Image NameA name for the image. Defaults to the filename if not provided. If the name matches an existing image, a suffix will be added.
File DataThe contents to write to a file. Binary data generated from a previous step.
Debug RequestEnabling this flag will log out the current request.false