- Create or update user profiles
- Retrieve individual or bulk user profile data
- Subscribe users to SMS/email marketing
Setup
You will need:
1
Install the integration in Botpress
First, install the integration to your bot:
- In Botpress Studio, select Explore Hub in the upper-right corner.
- Search for the Klaviyo integration, then select Install Integration.
2
Create a Klaviyo private API key
Next, create a private Klaviyo API key:
- Log in to your Klaviyo account.
- Select your organization’s name in the bottom-left corner.
- Select Settings. Then, navigate to API keys.
- Under Private API Keys, select Create Private API Key.
- Enter a name for the API key.
- Check Full Access for the following API scopes:
- Profiles
- Subscriptions
- Select Create in the upper-right corner.
- Copy the API key—it should start with
pk
.
3
Configure the integration in Botpress
Now, you can finish setting up the integration in Botpress:
- In the integration’s API Key field, paste your Klaviyo API key.
- Select Save Configuration.
Your Klaviyo integration is ready. You can use the integration’s Cards to interact with your Klaviyo account.
Cards
If you use any of the following Cards in an Autonomous Node, keep in mind that your bot will fill in the Card’s fields based on the user’s responses. This can lead to unexpected behaviour for fields that have strict conventions.For example, the Update Profile Card lets you update custom properties associated with a profile. If the user isn’t specific about that property’s exact name, the bot may accidentally create a new property instead of updating an existing one.