Weekday Slack digest of stuck AfterShip shipments

Every weekday morning, we flag the AfterShip shipments that have actually gone off the rails and post a prioritized Slack digest with next steps.

Agentic Task
AfterShipSlackOperationsCustomer SupportNotifications & AlertsDaily Digests
PromptCreate

Every weekday at 8am, pull my AfterShip trackings that are still in transit or in an exception state using the List Trackings action, then reason about which shipments are genuinely stuck versus normal in-flight ones.

A shipment counts as stuck if any of these apply: it is past its estimated delivery date, its last checkpoint update was more than 48 hours ago, or it is sitting in an exception status like "Attempt Fail" or "Available for Pickup" for longer than it should be. Skip normal in-transit shipments so the Slack channel does not get spammed.

For each shipment flagged as stuck, use Get Tracking by ID to fetch the full checkpoint history so the digest has real context about where and when things went wrong.

Then, using Slack's Send a Message action, post a single prioritized digest to my Slack channel. Group the flagged shipments by severity (for example, critical, warning, watch), and for each one include the courier, the tracking number, the last known checkpoint with its timestamp, the estimated delivery date, the AfterShip tracking URL, and a concrete suggested next step such as contact the carrier, notify the customer, or escalate to ops. Use Slack's mrkdwn formatting so the message is readable at a glance.

If there is nothing stuck on a given day, skip posting entirely rather than sending an empty message. Use cron for the trigger since AfterShip does not have a polling trigger on this platform.

Additional information

What does this prompt do?
  • Scans your AfterShip trackings each weekday morning and separates the shipments that are genuinely stuck from the ones still on schedule
  • Groups the flagged shipments by severity, naming the courier, the last known checkpoint, and a link straight to the AfterShip tracking page
  • Suggests a concrete next step for each one, such as contacting the carrier, notifying the customer, or escalating to ops
  • Posts the whole summary as a single tidy Slack message so nobody has to babysit the AfterShip dashboard
What do I need to use this?
  • An AfterShip account with your shipments tracked in it
  • A Slack workspace and the channel you want the digest posted to
How can I customize it?
  • Change the time or days it runs (defaults to 8am on weekdays)
  • Adjust what counts as stuck, including how many hours without a checkpoint update and how far past the estimated delivery date
  • Pick which Slack channel receives the digest, or split by region or courier

FAQs

Won't this spam our Slack channel with every shipment we have in flight?
No. The workflow only posts shipments it judges to be genuinely stuck: past their estimated delivery date, sitting without a checkpoint update for too long, or stuck in an exception status like Attempt Fail or Available for Pickup for longer than it should be. Normal in-transit shipments are skipped, and if nothing is stuck on a given day the digest is not posted at all.
How does it decide a shipment is stuck?
It looks at three signals together: whether the shipment is past its estimated delivery date, how long it has been since the last checkpoint update, and whether it is sitting in an exception status. When at least one of these looks wrong, the shipment is flagged and grouped by severity in the digest.
Can I use this with any courier?
Yes. AfterShip tracks over a thousand couriers, and the digest simply reports on whatever is in your account. Each flagged shipment names the courier and its most recent checkpoint so your team knows exactly what happened and where.
Does it change anything in AfterShip?
No. It only reads your trackings and posts a summary to Slack. Nothing is created, updated, or marked as delivered on your behalf.
What if we don't use Slack?
You can swap Slack for another chat tool or for email. The digest itself does not care where it lands, so long as your team will read it.

Related templates

Nudge Dynamics 365 deal owners about stale pipeline in Slack

Every weekday morning, an agent reviews your open Dynamics 365 pipeline and privately DMs each rep only the deals that need attention today.

Microsoft Dynamics 365
Slack
Agentic Task
Catch deployments that made your app slower or less reliable

Every hour we compare the 30 minutes before and after each release, and only speak up when a deployment genuinely degraded speed or reliability.

New Relic
Slack
Linear
Agentic Task
Log daily Mercury balances and alert when cash runs low

Every weekday morning, every account balance is logged to a spreadsheet, and you only hear about it in Slack when one drops below the limit you set.

Mercury
Google Sheets
Slack
Deterministic Code
Update Dynamics 365 deals automatically after every Gong call

After every recorded sales call, an agent updates the right deal in Dynamics 365 and posts a Slack recap of exactly what changed.

Gong
Microsoft Dynamics 365
Slack
Agentic Task
File contact sales form leads into Dynamics 365 without duplicates

Every contact sales form submission lands in Dynamics 365 as a clean lead, updating the record you already have instead of creating a second one.

Google Forms
Microsoft Dynamics 365
Slack
Deterministic Code
Turn every New Relic alert into a tracked Jira ticket

Every New Relic alert opens a Jira bug with the full context and a Slack heads up, then closes itself with the incident duration when it recovers.

New Relic
Jira
Slack
Deterministic Code

Stop losing shipments in the AfterShip dashboard.

Get the ones that need attention in Slack every morning, ranked and ready to act on.