Shopify and DHL Express: Customs Paperwork Template

For every international Shopify order, this Spojit template creates a DHL Express shipment with full line-item customs details and emails the generated customs documents straight to your warehouse.

What It Builds

A Webhook trigger fires the moment Shopify records a new order. A Condition node checks the shipping country and lets only international orders through. A Connector node then calls DHL Express to create the shipment, passing each line item's description, quantity, value, and country of origin as customs declaration data. Finally a Send Email node delivers the returned customs paperwork to your fulfillment team so they can pack and label the parcel.

The Prompt

Paste this into Miraxa and it builds the workflow, connecting the tools for you:

Build a workflow that triggers when a new Shopify order is placed. If the shipping address is outside my home country, create a DHL Express international shipment using the order's line items for the customs declaration (description, quantity, unit value, and country of origin), then email the generated customs documents to warehouse@mycompany.com with the order number in the subject.

Connectors Used

  • Shopify - the Webhook trigger that starts a run on each new order.
  • DHL Express - creates the international shipment and returns the customs documents.
  • Send Email - delivers the paperwork to your warehouse via the built-in mail service.

Customize It

Adjust the prompt to change the warehouse recipient, route domestic orders down a different path, or set a customs value threshold that requires extra paperwork. You can also name the DHL product or service level you ship with so Miraxa selects it directly.

Tips

  • Use the Shopify HMAC option on the webhook so only genuine store events trigger the flow.
  • Keep the DHL step in Direct mode for predictable, AI-free shipment creation.
  • For your own sending domain, swap Send Email for the resend or smtp connector.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.