Create a DHL Express shipment and label from an order
When an order arrives via webhook it creates the DHL Express shipment, saves the tracking in a Data Store and emails the customer.
Everything is created inactive in a new folder of your account. Nothing runs until you activate it, and you can undo it for 24 hours.

What it does
Connect your shop or ERP to DHL Express: every order arriving via webhook becomes a shipment with its label, without touching the carrier portal. The workflow builds the sender and recipient in the exact format DHL Express requires, creates the shipment, stores the tracking number in the envios Data Store (the same one used by automatic tracking and the logistics dashboard) and emails the customer the tracking link.
What you need: DHL Express credentials allowed to create shipments and a mail account.
How to use it: install the template, enter your warehouse details, connect DHL Express and email and send a test order to the webhook.
How to set it up
- 1
Connect the DhlCreateShipment credential
This template uses DhlCreateShipment in: Crear envío DHL Express. Create or pick the credential and assign it in those nodes.
- 2
Connect the smtp credential
This template uses smtp in: Avisar al cliente. Create or pick the credential and assign it in those nodes.
- 3
Copy the webhook URL (Recibir pedido)
A new URL is generated on install. Paste it into the external system that must call this workflow.
- 4
Set your warehouse details
In the Preparar envío node, at the top of the script, replace the
REMITENTEdata (name, address, postal code, phone, email) with your warehouse details. - 5
Choose the DHL product
In Crear envío DHL Express the product code is
P(Express Worldwide). Change it to the one you have contracted (for exampleNfor domestic). - 6
Connect DHL Express and email
Select your credentials in Crear envío DHL Express and the mail account in Avisar al cliente.
- 7
Test with an order
Send a
POSTto the webhook with{"pedido":"PED-1001","nombre":"Ana López","email":"ana@ejemplo.com","telefono":"+34600000001","direccion":"Av. Diagonal 100","ciudad":"Barcelona","provincia":"B","cp":"08019","pais":"ES","peso_kg":1.5,"descripcion":"Pedido web"}. The shipment should be created, saved in theenviosData Store and the customer should get the email. - 8
Activate the workflow
Workflows are installed inactive. Once everything is set, activate it.
Related templates
Other templates that use similar nodes or integrations.

Shipping label with the cheapest rate in Shippo
When an order arrives it requests rates from every carrier in Shippo, buys the cheapest, saves the tracking and notifies the customer.

Buy the cheapest rate in EasyPost and generate the label
When an order arrives it compares EasyPost rates, buys the cheapest, saves the tracking and emails the customer.

Create a Sendcloud shipment and label from an order
When an order arrives it creates the parcel and label in Sendcloud, saves the tracking in a Data Store and emails the customer.
Try it in under 5 minutes
Create the template in your account, connect your credentials and activate it when you are ready.
Use this template