Klaviyo Integration
In this article we will show you how to set up the Klaviyo Integration on your Nector dashboard.
Setting up the Integration
Visit the Integrations Page. Click on Email & WhatsApp Marketing in the side-bar. Scroll below to look for Klaviyo in that section.
Click on Configure to open up the Klaviyo integration page.
First to enable the integration, you need to get the public & private API key from your Klaviyo dashboard.
Getting your public and private API keys
- Login to your Klaviyo dashboard.
- Visit this link to go to the API Keys page.
- Under Private API Keys, create a new API key by click on the Private API Keys button.
- Give any name to the API Key, and choose Grant applications full access for every API scope under Select Access Level. (See below screenshot for reference)
- Click on the Create button in the top right.
- Once the API Key is created, close it to come back to the previous page.
- Copy the public & private key.
Now paste it in your Nector dashboard. Under Choose Common property, select Email as the mode of communication
Finally, click on Initialize button to button to enable the integration. Once it is enabled, you will see the below view.
Sending Events To Klaviyo
Events can be sent to Klaviyo when certain things happen on Nector. You can then setup automations on Klaviyo, which can be triggered when the event occurs on Nector. For example, when a customer is rewarded with wallet coins, an event can be sent to Klaviyo, which in turn will trigger an automation that sends an email to the customer.
Add new event
Switch to the Events tab and click on Create An Event. It opens up to the Events page with the Send Events tab. Now you have to select the event on which you want to notify the external integration.
There are many events supported on Nector. If you don't know which to choose, here are the two events that are most relevant and commonly used:
- Wallet Coins Rewarded: This event will be sent whenever wallet coins are rewarded on nector.
- Coupon Is Created: This event will be sent whenever a customer uses his wallet coins to get a discount/coupon code on nector.
For example,
To send an Wallet Reward Event to Klaviyo whenever wallet coins are rewarded to a customer on nector, you would create the event as shown below.
- Click on "+" button to create an event.
- For "Event" option, select Wallet Coins Rewarded
- For "Send event to" option, by default Klaviyo will be selected.
- Once you have entered all the details, click on the Create button in the popup. The event will be created as below.
Sending Test Event
Click on the Event you just created
You can send a test event by clicking on Send Test Event.
A popup opens, enter the email id where you want to send the test email.
Setting up the flow on Klaviyo
After you are done setting up events to be sent to Klaviyo from Nector, you can create automations on Klaviyo in response to the Events. For this, visit your Klaviyo dashboard and set up the integration. Read the steps below:
- Go to your Shopify admin page and click on Apps and search for Klaviyo and click on it, dashboard will open
- From the Klaviyo Dashboard, click on Flows and then click on Create Flow
- Click on Create From Scratch and enter the name of the Flow
- Click on Select a trigger and then go to Your metrics, click on API, from there choose your desired trigger, in this example since we have created an event for wallet reward, we will be choosing the "walletreward_create" trigger.
- After that, drag and drop the Email from the side-menu into the flow.
- Click on the email box and then set up the mail that is to be sent. You can write your own subject, content and also there is a list of basic templates you can choose from. You can also enable some filters to send only to specific customers.
- Finally click on Review and turn on and then Turn On
- Your flow will be successfully set as Live.
Related Articles
Updated on: 21/05/2024
Thank you!