Saltar al contenido

How to show delivery progress on the lock screen

Este contenido aún no está disponible en su idioma.

Let customers follow the courier on the lock screen from order placed until delivery. This guide builds that journey with the Live Activity element.

Prerequisites

Anchor link to

Create the events

Anchor link to

These are example event names for this guide. When your app or backend sends a name for the first time, Pushwoosh creates that event automatically. Create the events in the Control Panel first only if you want to set attribute types yourself before the first send.

Create (or reuse) the events OrderPlaced, CourierStatusChanged, and OrderDelivered.

Learn more about creating events

Build the journey

Anchor link to

Open Customer Journey Builder, create a campaign, and build everything below on one canvas.

  1. Go to Campaigns → Customer Journey Builder.
  2. Click Create campaign.
  3. Click Build a journey from scratch.

Set the entry

Anchor link to
  1. Add a Trigger-based entry element to the canvas.
  2. Set it to OrderPlaced.

Trigger-based entry panel with EVENT set to OrderPlaced

Start the order card

Anchor link to
  1. Add a Live Activity element after the entry.
  2. Name it Order card start.
  3. Set Action to Start.
  4. Select the delivery Widget and Schema version.

Order card start with Action set to Start and delivery Widget and Schema version selected

  1. Set Card key: event to OrderPlaced.

Card key: event set to OrderPlaced

  1. Fill Card content (courierName, eta, distanceMeters) and the alert fields.

Card content fields courierName, eta, and distanceMeters filled in, with alert fields below

  1. Click Apply.

Wait and update the card

Anchor link to

Continue on the same canvas after the Start element.

  1. Add a Wait for Trigger element.
  2. Wait for CourierStatusChanged.
  3. Set a waiting period that fits your delivery updates.

Wait for Trigger set to CourierStatusChanged with a waiting period

  1. On the branch that fires when the event happens, add a Live Activity element.
  2. Name it Order card update.
  3. Set Action to Update.
  4. Choose the same Widget and Schema version.

Order card update with Action set to Update and the same Widget and Schema version selected

  1. Select Order card start in Card created by.

Card created by set to Order card start on the Update element

  1. Update Card content.

Card content fields updated on the Order card update element

  1. Click Apply.

Wait and end the card

Anchor link to

Continue on the same canvas after the Update element.

  1. Add another Wait for Trigger element.
  2. Wait for OrderDelivered.

Wait for Trigger set to OrderDelivered

  1. On the branch that fires when the event happens, add a Live Activity element.
  2. Name it Order card end.
  3. Set Action to End.
  4. Choose the same Widget and Schema version.
  5. Select Order card start in Card created by.

Order card end with Action set to End, the same Widget and Schema version selected, and Card created by set to Order card start

  1. Set alert and Dismiss after, min if needed.

Alert fields and Dismiss after, min on the Order card end element

  1. Click Apply.

Full delivery journey on the canvas with entry, Start, Wait for Trigger, Update, Wait for Trigger, and End

What the customer sees

Anchor link to

On the lock screen, the customer gets one Live Activity card that changes as the delivery progresses. For example:

Courier Alex M., ETA 18:30, distance 1200 meters.

Lock-screen Live Activity card after order placed showing courier Alex M., ETA 18, and distance 1200 meters