Table of Contents

  1. Choose an Object to integrate with 
  2. Create the lookup field
  3. Create a Service Type Field (on the Order object)
  4. Create a package fields
  5. Create a Shipment Type Field
  6. Other Custom Address Source Values
  7. Create the Custom Address Source record
  8. Shipment Auto-creation
  9. Auto-Print
  10. Test

Now you can create shipments with one click using our standard Shipmate for Purolator App

1. Choose an Object to integrate with

In this tutorial we are going to integrate with the Order object:

2. Create the lookup field

a.) Go to the Purolator Shipment custom object by navigating to Setup | Build | Create | Objects | Shipment

b.) Click New under Custom Fields & Relationships

c.) Select Lookup Relationship:

d.) Choose the Order object:

e.) Now you can can keep clicking Next until the custom field is created and then click Save.

We recommend naming the Related List Label to something your users would understand like Fedex Shipments (One Click Label)

f.) The custom field is created and then click Save

3. Create a Service Type Field (on the Order object)

Now that we’ve created our lookup field, we can begin creating the fields that contain the data required for shipping. You can either create a text field or even a formula field if you want to be really smart.

1. Go into Setup > Customize > Orders > Fields

2. Click on the New button

3. Select the type of field you want to create. If you select Formula then you can either set a default for all Order objects or you can be clever and write code to generate different values.

4. Choose the name of your Custom Field.

5. This is where you can pre-fill the Custom Address Source values or you can write some code to dynamically choose the value to populate.

6. Then click through the next steps and once finished you should see your new custom field.

Here are the list of values our app accepts for Service Type:


  • PurolatorGround
  • PurolatorExpress
  • PurolatorExpress10:30AM
  • PurolatorExpress9AM


  • PurolatorGroundU.S.
  • PurolatorExpressU.S.
  • PurolatorExpressU.S.10:30AM
  • PurolatorExpressU.S.9AM

4. Create Package Fields

The Custom Address Source feature enables you to map all package data (quantity, weight, dimensions, declared value) into the shipping wizard. You can also map as many packages as you like:

We recommend creating number fields for each field. You could even use formula fields to pull this data from associated product information. Please note that dimension data is not required for shipping.

  • CustomerPackaging
  • ExpressEnvelope
  • ExpressPack
  • ExpressBox

5. Create a Shipment Type Field

You can default the shipment type to either outbound or return. Let’s create a text field and set the default value to "OUTBOUND". Here are the available options:

  • Create_a_Shipment
  • Create_a_Return_Shipment
  • Create_a_Return_and_Shipment

6. Other Custom Address Source Values

For the billing section you can set the Bill To section as follows:

  • Sender
  • Receiver
  • ThirdParty

7. Create the Custom Address Source Record

Now that we’ve created all the required fields on our Order object, it’s time to map them in the Custom Address Source!

Choose the object Order and the lookup field that we created earlier Order__c

Now you can map all fields to the fields we’ve created earlier in this tutorial:

8. Shipment Auto-creation

If want to bypass the shipping wizard completely and go straight to the shipment page you can check Auto-create shipment if all required fields are set.

9. Auto-Print

You can also check Auto print labels after creating shipment which auto-prints shipments to your default thermal printer as soon as they are created (this only works with our latest printing desktop app.

10. You’re done! Time to try it out!

The next step is to set up Chatter.

Did this answer your question?