DHL Express and Slack: Carrier Exception Email Triage Template
This template turns DHL Express exception emails into clean, classified Slack alerts so your shipping team never misses a held or delayed parcel.
What It Builds
A Mailhook trigger gives the workflow its own inbound email address. When DHL Express sends an exception notice to it, a Connector node in Agent mode reads the message, classifies the issue (delivery failure, customs hold, address problem, or damage), and pulls out the tracking number. A second Slack Connector node then posts a short summary to the right channel. Spojit handles the parsing and routing without a single manual touch.
The Prompt
Paste this into Miraxa and it builds the workflow, connecting the tools for you:
Build a workflow that starts when a DHL Express exception email arrives at a mailhook address. Read the email, classify the exception as a delivery failure, customs hold, address issue, or damage, and extract the tracking number. Then post a summary to the #shipping-exceptions Slack channel with the exception type, tracking number, and a one-line description, and route customs holds to the #customs channel instead.
Connectors Used
- Mailhook trigger - receives DHL Express exception emails at a dedicated address.
- DHL Express - parsed from the email content; classification happens in an Agent-mode Connector node.
- Slack - posts the classified summary to the chosen channel.
Customize It
Swap the channel names (#shipping-exceptions, #customs) for your own, add or rename exception categories in the prompt, or include extra fields such as the destination country or estimated delivery date. You can also change the routing rule so different exception types reach different teams.
Tips
- Forward DHL Express notification emails to your Mailhook address, or set them as the notification recipient where DHL allows it.
- Use a Response Schema on the Agent-mode node to get reliable, structured fields (type, tracking number) for cleaner Slack formatting.
- The Slack connection needs permission to post in the target channels before the first run.