How to integrate Wonderment and Sendlane

Last updated: March 18, 2025

Overview

Wonderment is a proactive customer experience platform that helps Shopify merchants provide customers with detailed order, shipping, and tracking information right in emails sent from Sendlane.

Read on to learn how to integrate your Wonderment and Sendlane accounts!

Before getting started

Sign up for a Wonderment account here


Step One: Create a custom integration for Wonderment

Wonderment connects to Sendlane via the Sendlane custom integration. To Create a custom integration for Wonderment:

  1. Click on the Integrations page

  2. Click the Sendlane Custom Integration

  3. Click Configure

  4. Click Create New Custom Integration

  5. Enter Wonderment as your Store Name

  6. Enter https://wonderment.storename.com as your Store URL

  7. Replace storename with the name of your store in the Store URL field

  8. Select a default List

  9. Select a customer address type

  10. Click Continue

Step Two: Add the custom integration token to Wonderment

The custom integration token you just created connects your Wonderment and Sendlane accounts. To add the custom integration token to Wonderment:

  1. Click the Settings icon next to the Wonderment custom integration

  2. Click the copy icon next to the token

  3. Navigate to the Sendlane integration in your Wonderment account

  4. Paste the integration token in the Sendlane Access Tokens field

  5. Click Save

Step Three: Create custom events for Wonderment

Events inside the custom integration will be used as Automation triggers to send Contacts information about their orders. To create events for the Wonderment integration:

  1. Navigate to the Custom integration page

  2. Click the events icon next to the Wonderment integration

  3. Click Create Event

  4. In the event name field, copy and paste an event name exactly as it appears in the first column of the table below

  5. Click Create

  6. Repeat steps 3-5 for each event

Event names must exactly match the table below in order to connect to Wonderment. Copy and paste the event names to avoid typos, and ensure there are no spaces in the

Event

Description

Wonderment - Shipment Created

When a label has been created with a shipping carrier

Wonderment - Label Cancelled

When a label has been cancelled with the shipping carrier

Wonderment - Carrier Picked Up

When an order is first marked In Transit by the carrier.

Wonderment - In Transit

For each in-transit scan the package has.

Wonderment - Out For Delivery

When the carrier confirms the package has been handed off for delivery

Wonderment - Ready for Pickup

When an order has been marked ready for customer pickup by the shipping carrier, such as at a local office or postal facility.

Wonderment - Shipment Delivered

When the delivery scan has occurred for a package

Wonderment - Returned to Sender

When a package has been sent back to the origin facility because it was undeliverable, damaged, or otherwise can't be completed.

Wonderment - Attempted Delivery

If a package couldn't be delivered and was held by the carrier for re-delivery.

Wonderment - Delivery Error

In case of a permanent delivery error, such as a non-existent address, or a package is lost or damaged at the carrier.

Wonderment - Shipment Stalled

When a package hasn't made progress in the carrier network for a certain period of time, and is likely to be delayed.

Wonderment - Survey - Delivery Feedback Response

Feedback responses from Delivery Surveys.

Wonderment - Tracking Page View

Individual pageviews of a tracking page.

Wonderment - ETA Changed

When a package's ETA changes beyond the Change Sensitivity for a given shipping service level.

Step Four: Add a Sendlane API Token to Wonderment

An API token provides Wonderment access to Sendlane's v2 API. To create a Sendlane API token and apply it to your Wonderment account:

  1. Click the Account icon

  2. Click API

  3. Under Sendlane API V2, click + API Token

  4. Enter Wonderment as your token name

  5. Click Create

  6. Click Copy API Token*

  7. Navigate to the Sendlane integration in your Wonderment account

  8. Paste the integration token in the Sendlane API Token field

  9. Click Save

*The API token must be copied at this stage and cannot be retrieved later. If you close the API token window without copying the API token, delete the API token and create a new one.

Step Five: Verify the integration

When you have successfully integrated Wonderment and Sendlane, you'll see sample data next to each custom event in the Example column, as shown below.

If any events have an empty Example column, please ensure that the event name in the Name column exactly matches the table above with no extraneous spaces. If the event name is correct and the Example column is blank, please contact Wonderment.

Next steps

Check out How to Send Tracking Information with Wonderment to learn about using the events you just created as Automation triggers and templates for setting up shipping information for customers!

Troubleshooting

My custom event names are correct, but there's no data in the Example column!

If the event name is correct and the Example column is blank, please contact Wonderment.