Skip to content
Get startedDashboardSupport
Print & Mail
Integrations
Salesforce Print & Mail

Setting up the Collateral

Create mail templates in the Salesforce PostGrid app using HTML or PDF uploads, with support for QR codes and design guidelines.

The application offers the flexibility to create a template in HTML format or upload your own PDF.

1. Click on “PostGrid Templates” and then click on “New”

Section titled “1. Click on “PostGrid Templates” and then click on “New””
Salesforce PostGrid app showing the PostGrid Templates list view with a New button in the top right

2. Add the required information to create the Template

Section titled “2. Add the required information to create the Template”
  1. Add a description for your template
  2. Add the HTML code for your template*(Before creating the HTML for your collateral, please check our design guidelines to avoid any order cancellations.)*
  3. Select a country for the Collateral Destination (Selecting a collateral destination will configure the final collateral based on the mailing requirements for that country.)
  4. Select a Collateral Type
  5. Check Opt for QR Code to add QR code to your mailings
  6. Click on “Save”
New PostGrid Template form in Salesforce with fields for description, HTML code, collateral destination country, collateral type, QR code option, and Save button

To preview the template, click on it and then select the “Preview” button. Check the preview to ensure that everything looks good. (Make sure to keep empty space for address regions based on the design guidelines for a particular collateral to be mailed to a specific destination)

PostGrid template detail view in Salesforce with the Preview button highlighted to preview the template layout

Click on Deploy To PostGrid to see this template on the dashboard. This step is crucial, as you will only be able to create orders successfully through Salesforce when the template is available on the dashboard.

When your template is successfully deployed, it will be assigned a PostGrid Template ID. This ID should match the template ID available on the dashboard.

PostGrid template record in Salesforce after deploying, showing the assigned PostGrid Template ID field populated

If you have created a template using PostGrid’s Template Editor on the dashboard, you can access the HTML code for use in Salesforce. Click on “Template,” then “Raw Data,” and copy the HTML code to add when creating the HTML template in Salesforce.

PostGrid dashboard Template Editor showing the Template and Raw Data tabs, with HTML code visible for copying into Salesforce

1. Click on “Print & Mail Contents” and then click on “New”

Section titled “1. Click on “Print & Mail Contents” and then click on “New””
Salesforce PostGrid app showing the Print & Mail Contents list view with a New button in the top right

2. Select a Content Type, Size and click on “Save”

Section titled “2. Select a Content Type, Size and click on “Save””
New Print & Mail Content form in Salesforce with Content Type and Size dropdowns and a Save button

3. Once the Print & Mail Content Is Created, Click on Upload Content

Section titled “3. Once the Print & Mail Content Is Created, Click on Upload Content”
Print & Mail Content record in Salesforce after creation, showing the Upload Content button to attach a PDF file

4. Check the guidelines before uploading the PDF to avoid order cancellations and click on “Choose File” to upload the PDF

Section titled “4. Check the guidelines before uploading the PDF to avoid order cancellations and click on “Choose File” to upload the PDF”

Once you click on Save, a Content URL will be generated for the PDF

PDF upload dialog in Salesforce showing design guidelines reminder and a Choose File button for selecting the PDF to upload Print & Mail Content record in Salesforce after saving, displaying the generated Content URL for the uploaded PDF