This article will guide you in setting up two example flows for integrating with Klaviyo. One flow will get profiles from Klaviyo, while the other will show you how to create an event connected to a profile.
Setting up the workflow
- Create a Bosbec Account.
- Log in and go to Workflows and My Channels in the main navigation menu.
- Navigate to Workflows and My Workflows.
- Click the yellow plus sign at the top right.
- Enter a name for your workflow (e.g., Integration – Klaviyo).
- Click SAVE.
- Open the newly created workflow by double-clicking or right-clicking and selecting Edit.
- Select Create new workflow followed by Empty workflow.
- Go to File and select Import workflow from WFB file.
- You’ll find the download button at the top of this page.
Adding Klaviyo credentials
- In the Bosbec admin panel, go to Settings at the top right and select Account Settings.
- At the bottom left, under Account, enter the data in the table below.
- The values on the right are retrieved from Klaviyo
Key | Value |
klaviyo_api_key | Generated in Klaviyo. |
Testing the workflow
- Go back to the workflow builder.
- Ensure the workflow is active by pressing the toggle in the top right.
- When it is yellow, the workflow is active.
- Click “Run” in the top right.
- In the dialog that opens, select the trigger you want to test and click “Run.”
Running the trigger get_profiles will, assuming a valid token has been entered in the account settings, retrieve all profiles from your Klaviyo account and store them in a JSON resource. More on how the Klaviyo request works can be found here.
Running the trigger add_event will add an event to the specified profile. We have prepared a demo request body i job_5, but you can learn more about configuring it here.
These examples are currently entered and run manually but provide a good base for expanding upon the integration yourself!
Contact us if you need more guidance, and we will help you!