Hi, I just want to share my script with you. Maybe, it also helps if someone wants to implement this feature directly in EspoCRM.
When you want to send a package with the German shipping company DHL (as Privatkunde), you can now upload a CSV file instead of typing the information in a web form.
I implemented a link between EspoCRM and DHL's CSV Upload. It generates a CSV file for an EspoCRM Account which you can then upload to DHL. We use it in our company.
It is a shell script (for Bash) and here is the workflow:
1. Open the customer (=account/contact) in EspoCRM
2. Copy the URL into the clipboard
3. Call the script on the terminal: dhl-generate-csv -p
The script imports the shipping address from the account and falls back to the billing address.
It let you choose a DHL product (package size/weight).
Then it automatically uses a coupon code (if you provided such text files).
Then it copies the filename of the generated CSV file into the clipboard.
4. Open the DHL page in the browser: https://www.dhl.de/onlinefrankierung
5. Upload the CSV file (filename is already in the clipboard)
Call the script with the option -h to see help text and other options.
https://gist.github.com/schoettl/6b9...78fa318b7781ef
When you want to send a package with the German shipping company DHL (as Privatkunde), you can now upload a CSV file instead of typing the information in a web form.
I implemented a link between EspoCRM and DHL's CSV Upload. It generates a CSV file for an EspoCRM Account which you can then upload to DHL. We use it in our company.
It is a shell script (for Bash) and here is the workflow:
1. Open the customer (=account/contact) in EspoCRM
2. Copy the URL into the clipboard
3. Call the script on the terminal: dhl-generate-csv -p
The script imports the shipping address from the account and falls back to the billing address.
It let you choose a DHL product (package size/weight).
Then it automatically uses a coupon code (if you provided such text files).
Then it copies the filename of the generated CSV file into the clipboard.
4. Open the DHL page in the browser: https://www.dhl.de/onlinefrankierung
5. Upload the CSV file (filename is already in the clipboard)
Call the script with the option -h to see help text and other options.
https://gist.github.com/schoettl/6b9...78fa318b7781ef
Comment