Klaviyo
App · Email Marketing · 5 actions
Connect your Klaviyo account to manage profiles, list subscriptions, and track marketing events.
Actions
| Action | What it does |
|---|---|
| Create profile | Create a new Klaviyo profile, or return the existing profile's ID if the email is already in use. |
| Get profile | Look up a Klaviyo profile by email address. |
| List lists | List the lists in your Klaviyo account. |
| Subscribe profile to list | Add a profile (creating it if needed) to a Klaviyo list. |
| Track event | Log a custom event (e.g. 'Placed Order') for a profile, for use in Klaviyo flows and segments. |
Create profile
Create a new Klaviyo profile, or return the existing profile's ID if the email is already in use.
Inputs
- Email
emailtextRequired - Email address for the profile.
- First name
first_nametext - First name of the profile.
- Last name
last_nametext - Last name of the profile.
- Phone number
phone_numbertext - Phone number in E.164 format, e.g. +15555550100.
Outputs
idtext- ID of the profile (new or already existing).
Example output
{
"id": "01HABCDEF1234567890ABCDEF"
}Get profile
Look up a Klaviyo profile by email address.
Inputs
- Email
emailtextRequired - Email address of the profile to look up.
Outputs
profileobject- The matching profile, or null if no profile has that email
Example output
{
"profile": {
"email": "jane@example.com",
"first_name": "Jane",
"id": "01HABCDEF1234567890ABCDEF",
"last_name": "Doe",
"phone_number": "+15555550100"
}
}List lists
List the lists in your Klaviyo account.
Inputs
None.
Outputs
listslist- List of lists in the account
Example output
{
"lists": [
{
"id": "Y6nRLr",
"name": "Newsletter"
}
]
}Subscribe profile to list
Add a profile (creating it if needed) to a Klaviyo list.
Inputs
- Email
emailtextRequired - Email address of the profile to subscribe.
- List ID
list_idtextRequired - ID of the list to add the profile to.
Outputs
list_idtext- ID of the list the profile was added to
profile_idtext- ID of the subscribed profile
Example output
{
"list_id": "Y6nRLr",
"profile_id": "01HABCDEF1234567890ABCDEF"
}Track event
Log a custom event (e.g. 'Placed Order') for a profile, for use in Klaviyo flows and segments.
Inputs
- Email
emailtextRequired - Email address of the profile the event belongs to.
- Metric name
metric_nametextRequired - Name of the event/metric, for example 'Placed Order'.
- Properties
propertiesobject - Custom properties to attach to the event.
- Value
valuenumber - Optional numeric value for the event, for example an order total.
Outputs
None.
Example output
{}