Integrate Klaviyo with AfterShip

Integrate Klaviyo with AfterShip to form long-lasting relationships with your customers by automating the post-purchase communications. Its native integration with AfterShip enables tracking information via webhooks to be transported to Klaviyo in real-time, thereby automating a series of emails with shipping data.  

“In a nutshell, as soon as the delivery status changes in AfterShip, Klaviyo adds the change and the tracking number to the customer profile, making it easier to trigger follow-up and drip campaigns.


What Data Syncs from AfterShip to Klaviyo?

  1. Customer order ID
  2. Shipment tracking code 
  3. Shipping events  - In Transit, Shipped, Available for Pickup, Failed Attempt, Exception, Out for Delivery, and Delivered.

Generate AfterShip API Key for Klaviyo 

  1. Go to AfterShip API Settings 
  2. Click Generate API Key. Name it ”Klaviyo” for clarity. Click Generate API Key again. Copy the ”Klaviyo” API Key from the dashboard.

AfterShip-Klaviyo-API-key.gif

Connect Klaviyo to AfterShip 

  1. Login to your Klaviyo account or signup if you haven’t yet.
  2. Go to the Integrations tab > Find AfterShip under All Integrations >Click Add Integration.

    Integrations-Klaviyo-AfterShip.png

  3. Under the Integration settings > Paste the AfterShip API Key in the API Key field > Select Connect to AfterShip.
    Your AfterShip account is now successfully connected to Klaviyo.

    AfterShip-Klaviyo-Paste-AfterShip-API-Key.jpg
  4. Refresh the page and from the Setting Up the AfterShip Webhook section, copy the Webhook URL and go back to AfterShip.

Klaviyo-Copy-AfterShip-Webhook-URL.jpg

Setup the AfterShip Webhook URL

  1. Go to AfterShip Notifications.

    AfterShip-admin-notifications-setup.jpg

  2. Scroll down to the Webhooks section > Click on Add webhook URL.

    AfterShip-admin-add-webhook-url.png

  3. Paste the webhook URL you copied from Klaviyo here > Click Save.

    AfterShip-admin-paste-webhook.jpg
  4. Go to the Events section > Select the All events checkbox to send all the shipping events and order statuses from AfterShip to Klaviyo.

AfterShip-admin-enable-all-events-checkbox.jpg

Was this article helpful?
0 out of 0 found this helpful