AfterShip - Tracking

With the Attentive and AfterShip integration, you can send delivery notifications to your customers through SMS. After customers opt in to receive these transactional messages, they can receive notifications when their information is received and when their package is in transit, out for delivery, and delivered.

Before setting up this integration, note the following:

  • You can use any delivery system (e.g., Fedex, UPS).
  • A phone number must be present in AfterShip to match in Attentive.
  • These are transactional messages; therefore, subscribers only need to single opt in to receive these messages.

You can use the following shipment event triggers with the AfterShip Integration:

  • Available for Pickup
  • Delivered
  • Delivery Attempt Failure
  • Exception
  • Expired
  • In Transit
  • Info Received
  • Out for Delivery

Step 1. Copy Webhook Destination URL

In Attentive, find and copy the URL needed to capture your Webhook Secret from AfterShip.

  1. Go to the integrations setup page and select AfterShip.
  2. In the Webhook Destination URL field, click Copy to copy the URL that you’ll need in Step 2.

Step 2. Collect AfterShip information

Complete the following steps to collect information about your AfterShip account:

  1. Log in to your AfterShip account.
  2. Click Settings in the left-side menu.
    aftership_1.png
  3. Click Notifications.
    aftership_2.png
  4. Scroll to the Webhooks section and click Add webhook URL.
    aftership_3.png
  5. On the Add webhook URL window, in the Webhook URL field, paste the Webhook Destination URL that you copied in Step 1.
    aftership_4.png
  6. Click Save.
    The webhook appears in your list of Webhook URLs.
  7. Copy and save your Webhook secret.
    aftership_5.png
  8. Click Settings again in the left-side menu.
  9. Click API Keys and do one of the following:
    • Copy the Default API Key.
      aftership_6.png
    • Click Generate API key to create a new key for this integration.
      aftership_7.png
  10. Copy and save the API Key in a separate document.
  11. Click your account name in the top-right corner and select Organization settings.
    aftership_8.png
  12. Copy and save the Tracking Page URL on the Brand Settings page, as shown in the following example.
    aftership_9.png

Step 3. Set up the integration in Attentive

Now, return to Attentive to set up the integration.

  1. On the AfterShip integration setup page, enter the following details, which you collected in Step 2:
    • API Key
    • Tracking Page
    • Webhook Secret
  2. If you’re not using Shopify to collect opt-ins, enable the Create Transactional Subscriptions setting to use data from AfterShip to create transactional subscriber records in Attentive. (Otherwise, skip this step.)
  3. Click Set up integration.
    Your AfterShip account is now connected to Attentive.

Step 4. (Shopify only) Confirm transactional sign-up unit was created and activated

If you enabled the Create Transactional Subscriptions setting in Step 3, or if you’re already using Shopify to collect transactional opt-ins, you can skip to Step 5.

If you’re using Shopify and haven’t set up transactional opt-in collection, follow ONLY steps 1-4 (or 4a if needed) in this article. Then return to the current article and proceed to Step 5.

Step 5. Create a transactional journey

Now you can create a transactional journey using AfterShip triggers to complete the configuration. If you use the templated copy of a transactional journey, you can activate it immediately.

If you choose to customize your transactional journey, keep in mind that you’re responsible for ensuring that your transactional text messages don’t include marketing content. See What are transactional journeys? for more information.

Questions?

We’re here to help! Contact our White Glove team (whiteglove@attentivemobile.com) to ask about the Attentive + AfterShip integration.

Articles in this section

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