FeaturedLogistics & Supply Chain#AfterShip#Logistics#Shipment Delays#Email#Google Sheets#Human Review

AfterShip Shipment Delay Review

Prepare a carrier escalation and a customer update when a delivery slips. Operations reviews the ETA and message before email goes out.

Workflow at a glance

The full canvas, before you import it

#AfterShip#Logistics#Shipment Delays#Email#Google Sheets#Human Review

Select a node to see its settings.

13 nodes · Free & source-available

AfterShip Shipment Delay Review

An AfterShip exception or carrier alert starts a draft for the carrier and a separate ETA message for the customer. Operations can use the carrier draft internally. The approved customer email and exception log are handled by the workflow.

Setup

  • Connections. Webhook with an AfterShip signature or relay API key. Send Email uses SMTP authentication, and Google Sheets uses OAuth.
  • Model. Select an owned model credential in draft. Keep the example model if your provider supports it, or choose a model that can return structured responses and use tools.
  • Intake. Set the workflow to POST and enable Header Auth or a workflow-scoped execution token. Have a trusted relay verify the source event, deduplicate by event ID and forward the example JSON shape. Configure the relay to acknowledge the source promptly and track the Heym run separately.
  • Reviewers. Connect a Slack Bot credential to teamApproval, configure Slack Interactivity and replace the review channel and allowed user ID with your private channel and designated reviewers. Operations verifies the ETA and recipient before sending the customer update and logging the case.
  • Have the relay map shipment delay and customs exceptions to shipment.exception, and resolve the customer email from your order system before forwarding.
  • Connect SMTP to sendDelayNotice and Google Sheets OAuth to logShipmentException. Create the Shipment Exceptions tab with Event ID, Tracking, Carrier, Severity, ETA and Email status columns.

Example request

Use this synthetic JSON body in a test run. Replace the sample IDs and addresses with test records you control before approving.

{
  "eventId": "aftership-exception-11290",
  "eventType": "shipment.exception",
  "trackingNumber": "TEST-TRACK-1132",
  "carrier": "Example Parcel",
  "customerEmail": "delivery@example.com",
  "status": "Exception",
  "exceptionReason": "Awaiting customs inspection",
  "promisedDate": "2026-11-30",
  "carrierEta": "2026-12-02",
  "lastScan": "2026-11-29T09:12:00Z"
}

Paste the workflow onto a new canvas and enter the sample JSON in the cURL dialog using Generic body mode. Reject a test review to confirm that the protected actions are skipped.

Setup references

How to import this template

  1. 1Click Import → Copy JSON on this page.
  2. 2Open your Heym and navigate to a workflow canvas.
  3. 3Press Cmd+V / Ctrl+V — nodes appear instantly.
  4. 4Add your API keys in the node config panels and click Run.
More workflow templates
View all templates