Zenkraft Blog

Run your Logistics and Post-Purchase Experience on the Salesforce Platform.

Webinar Recording – Shipping Automation using Process Builder and Flows

Published on 15 December 2017 by in  

If you missed out webinar on shipping automation using process builder and flows on the 14th of December, you can view the recording here.

In the presentation, Chris Hall and James Lumb take you through how to

  • Email Shipping Labels when a Case Status Changes
  • Calculate Shipping Quotes on Opportunities when the stage changes
  • Track shipments in Salesforce generated by non-native ERP products

And much more, if you are interested in seeing what Zenkraft can do to improve your shipping operation, head to and book a demo now.

Continue reading »

5 Must See Sessions at Dreamforce 2017

Published on 03 November 2017 by in  

With Dreamforce starting on Monday these are Adrian our CTO’s must see sessions at Dreamforce 2017.

1. Shipping at Lightning Speed: Salesforce Jolts Transportation and Logistics

Looking forward to seeing how Transportation and Logistics are being improved by other customers.

2. UPS Powers its Global Field Sales with Lightning and Mobile

UPS is one of our key partners, we are UPS certified on a global level, I’m looking forward to learning about how they are using Salesforce to drive efficiencies in their company.

3. The Future of AppExchange: A Roadmap for AppExchange Partners

It’s important to stay up to date with the AppExchange future changes. There will be an overview of the road ahead as the Salesforce product team discusses the roadmap and their vision for the future of app distribution.

4. ISVs and Salesforce: GDPR Perspectives and Discussion

GDPR is coming into force in May, and as we are based in Europe, it will be interesting to learn the Salesforce strategy on this new legislation.

5. Salesforce Reports Roadmap: The Future of Salesforce Reporting

Sneak Peak of the roadmap ahead for report and dashboard. Looking forward to how we can integrate these new changes into our apps to better benefit our customers.

What are you most looking forward to seeing at Dreamforce 2017? Let us know in the comments and don’t forget to visit us at booth 1941.

Continue reading »

Request UPS rate for shipment from the Account Object

Published on 01 November 2017 by in  

Today we will show you how you can get UPS rates for a shipment and add the users choice back onto the account object.

The first thing we need to do is set the “to” and “from” address of the shipment. In the code below we get the preference details to ship from and we get the ship to address details from the account object itself. We add all this information to a queuedShipment object.


Note lines 19-23 where the Packaging Type, Unit Dimensions, DropOff Type and Service Type are set.

The next step is to create the UPS package type to include the Declared Value and the Weight. This can be done using this code here:

If you need to add special services then create the QueuedShipmentSpecialServices object like so:

We now have the required information to create a successful rate request. Which is done using this line of code:

The ratesList variable contains all the rate information that is returned from UPS. Each record in this list is of type zkups.ShipmentRate, and the information contained is:

If you want the user to select the rate to write back to the Account object field Cost__c you can use the variables in the commandLink.

Cost__c is the field where you want to store UPS quote and selectedRate is the line that was selected by the user on the VisualForce page.

The full code is below:


Visualforce Page:

Any questions please contact us. Happy coding.

Continue reading »