Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Download PDFDownload PDF
Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Formstack
/
July 14, 2018
Blog

Automatically Generate Packing Slips from Salesforce Opportunities

MIN
/
July 14, 2018
About the Episode
Episode Highlights
Meet our Guest
Episode Transcript

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Get the Report

Great, thank ya!

You can now access the content.
Oops! Something went wrong while submitting the form.
Blog

Automatically Generate Packing Slips from Salesforce Opportunities

Panelists
No items found.
Introduction
Introduction

Great, thank ya!

You can now access the content.
Download NowDownload Now
Oops! Something went wrong while submitting the form.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

Panelists
No items found.
Infographic

Automatically Generate Packing Slips from Salesforce Opportunities

Streamline your mailing operations by automatically generating packing slips from Salesforce opportunities.
Download InfographicDownload Infographic

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

Collecting payments with online forms is easy, but first, you have to choose the right payment gateway. Browse the providers in our gateway credit card processing comparison chart to find the best option for your business. Then sign up for Formstack Forms, customize your payment forms, and start collecting profits in minutes.

Online Payment Gateway Comparison Chart

NOTE: These amounts reflect the monthly subscription for the payment provider. Formstack does not charge a fee to integrate with any of our payment partners.

FEATURES
Authorize.Net
Bambora
Chargify
First Data
PayPal
PayPal Pro
PayPal Payflow
Stripe
WePay
ProPay
Monthly Fees
$25
$25
$149+
Contact First Data
$0
$25
$0-$25
$0
$0
$4
Transaction Fees
$2.9% + 30¢
$2.9% + 30¢
N/A
Contact First Data
$2.9% + 30¢
$2.9% + 30¢
10¢
$2.9% + 30¢
$2.9% + 30¢
$2.6% + 30¢
Countries
5
8
Based on payment gateway
50+
203
3
4
25
USA
USA
Currencies
11
2
23
140
25
23
25
135+
1
1
Card Types
6
13
Based on payment gateway
5
9
9
5
6
4
4
Limits
None
None
Based on payment gateway
None
$10,000
None
None
None
None
$500 per transaction
Form Payments
Recurring Billing
Mobile Payments
PSD2 Compliant

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

With a tool like Salesforce, you can organize your entire sales process from lead to sale to delivery.  With its robust tracking and automation features, Salesforce can keep your entire team on point.

Another way you can improve your sales process is by using Formstack Documents to automatically generate documents like contracts, invoices, quotes, and more.  For this example, we’re going to show you how to automatically send a packing slip to your shipping department when an Opportunity in Salesforce is updated to “Ship Order”.

To get started, we’re going to setup the template of our packing slip using a fillable PDF.  Using a PDF editor, we’re going to add fields where we want the order information to go.  Here’s what our packing slip template looks like:



Once we have our template ready to go, we need to upload it to Formstack Documents.  From the Documents page in Formstack.com, click the New Document button and enter a name.  On the next step, select Fillable PDF as the document type and then pick the file from your computer.


After we have uploaded our template, we’ll be taken to the Settings tab where we can modify various options like the type of file that is generated and the name of the file.  For this example, we’re going to generate a PDF and then we’re going to include the opportunity ID in the file name.

In our PDF, we have line items that we’ll need to pull from a list of line items coming over from Salesforce.  To do this, we need to use the Field Map which you can turn on under Advanced Settings.


Next, we’re going to setup the Field Map.  Head on over to the Field Map tab and you’ll see a list of all the fields in your PDF.  For the line items fields, we’re going to add merge fields like {$LineItems.0.Name}, {$LineItems.1.Name}, etc.


Next, we’re going to setup the delivery of our document so that it is automatically emailed to our shipping department for processing.  Under the Deliver tab, we’re going to edit the default email delivery.  For the To address, we’re going to enter the email address of our shipping department.  Feel free to change any of the other settings.


Once we have our email delivery finished, we’re done with the setup process in Formstack Documents and we’re ready to integrate with Salesforce.

For the integration, we’re going to use the Formstack Documents managed package that you can install from the AppExchange.

Inside Salesforce, we’re going to setup a new Mapping for our packing slip.  On the New Mapping page, we’re going to give the mapping a name and then we’re going to select Opportunity as the Salesforce object, then pick the Packing Slip document that we just setup in Formstack Documents.


On the next step, we’re going to match up all of our merge fields with the corresponding fields in Salesforce.  This tells the managed package how to pull data from Salesforce and send it over to Formstack Documents so that it is populated in the correct spot on our document.



So that our packing slip is automatically generated when the opportunity is completed, we’re going to use the Process Builder.  Go ahead and create a new process, and we’re going to monitor the Opportunity object and watching for a change to the status.



Now we’re ready for a test!  Open up one of your opportunities and then update the status to trigger your process builder to run.  The managed package will then send your opportunity information over to Formstack Documents and your packing slip will be sent to the shipping department via email.

Here’s what our packing slip looked like:



Now, you can automatically generate all types of documents from your Salesforce org.  Start a free trial of Formstack Documents today to start simplifying your paper-based processes.

Formstack
Formstack is a SaaS company with a mission to help organizations digitize what matters, automate workflows, and fix processes—all without code. A variety of team members come together to compile posts under Formstack's authorship.
More Articles
Meet The Host
CEO of
Connect
Chris is on a mission to turn people into great leaders. He's passionate about helping problem solvers see more value in the work they do every day.