AfterShip is a 3rd party app that provides shipment tracking and proactive delivery updates. The app offers customers automatic status tracking of their purchases and helps to further engage customers after-sales.

When you integrate AfterShip with Omnisend, you will be able to send personalized targeted content to your customers based on the shipping status AfterShip tracks.
 

Before you start

Setup process

Here is how you can simply set up AfterShip integration with Omnisend:

1. Click on your brand name in the top right corner -> open Apps tab:

2. Find the AfterShip app and click the 'Connect now' button.

To connect with AfterShip you will need to paste your unique Omnisend URL into AfterShip.

3. Click Enable AfterShip and your webhook URL will be generated

4. Copy your unique webhook URL.

5. Sign-in to your AfterShip account; navigate to Settings -> Triggers -> Webhooks and click Add Webhook URL.

6. Paste webhook URL and click Add.

7. Select checkbox Any Updates in the status table and click Save.

That’s it! Custom events in Omnisend App are created and will be triggered accordingly.
 

How it works

Once you enable AfterShip app, the following custom events will be created in your Omnisend account:

  1. AfterShip Info Received - shipment information is created/received in AfterShip. Tracking URL and tracking number is available to use in personalization

  2. AfterShip In Transit - shipment is in transit. The latest location information is available to use in personalization.

  3. AfterShip Out for Delivery - shipment is in the last delivery phase, i.e. waiting for a pick-up.

  4. AfterShip Delivered - shipment is successfully delivered. Signed By field is available to use in personalization.

  5. AfterShip Failed Attempt - is triggered when shipment couldn’t be delivered, i.e. no one was at home.

  6. AfterShip Exception - is triggered when shipment status is changed by courier to the exception.

Each of these events will carry certain information that can be added to the content of your messages with a personalization feature.

You may find these events in your Omnisend account settings by navigating to Profile menu -> Store Settings -> Integrations & API -> Custom events. You may see the short overview of the event in the screenshot presented below:

Later, these events can be used to trigger the Automation workflows in Omnisend.

After specifying the primary trigger in the workflow settings, you may also target your automation based on the information passed with the event and use it in the Trigger filter or the Split block settings. It is extremely useful for some of the integrations, but since the integration with AfterShip has different Events for each of the order statuses, you may not find it as useful.

Nevertheless, these data may be in handy when writing the content of your messages.

 All of these data can be added to the Email message as well. For example, the Tracking Link can be added to the button:

If you have any questions or any assistance, do not hesitate to contact our support team at [email protected].

Troubleshooting

I don't see custom event personalization tags (tracking link, tracking number, latest location, etc.) as options in my email editor. What can I do? If you don't see Aftership parameters in your email editor when you check the personalization menu, then it means you haven't selected Aftership event as a trigger rule for your automation. The default Shipping confirmation rule Order status changed shouldn't be used for Aftership workflows. Once the Aftership event is selected as the trigger for the workflow, all Aftership fields (tracking link, tracking number, etc.) will be available and you'll be able to add them to your email content.

Did this answer your question?