Recently, we had a call from an increasingly fed up client. Each year they had found themselves locked into an annual ritual of running a Microsoft Word mail merge. ย Going out to thousands of their customers, the process was very manual and time consuming. There had to be a better way.ย
Luckily in the course of designing their main CRM build, Conga Composer had been brought in to the generate documents based on single records of custom objects.
This was a perfect opportunity to build in a little extra functionality so that Conga could also perform the time-consuming process of creating the yearly mass merge documentsโฆ.all at the click of a button.
Traditionally Conga Mail Merge would be used to perform this task. However, the support for this has been withdrawn as from Composer Release 8 due to it not working with Lightning (although users with existing classic configurations can still install it as an add-on)1. ย ย
Another option offered for those using Classic is the use of Conga Composer with the โQuick Mergeโ add on2. ย With this, it is possible to use Salesforce reports, or Conga Queries in the creation of documents. ย It is a solution that will still work for many but it also has issues with Lightning and certainly it will not work with Salesforce โMy Domainโ enabled orgs (compulsory from Spring โ17)3.
So, in order to provide a robust, future-proofed solution, our recommendation was to use a Conga Global Merge – ย available in Conga Composer version 8.7 and newer. According to the ever-efficient and helpful relationship managers at Conga, while this is still โwork in progressโ it โdoes the jobโ.
It works off the familiar Conga Solution functionality together with a Conga Query, so it should be a doddle for anyone with some experience with document generation from single records.
First off, the Conga Query using SOQL will be created to identify all records to be included in the merge. ย If it is single object criteria, the query builder will easily be able to create this for you, however, it may be necessary to write in some of the SOQL if multiple object select statements are used.
Your merge template will then need to be created in the usual way for single record document generation – ย Template Builder being your best friend for this.
The next step is to create the Conga Solution record. ย Go to the Conga Solution tab and create new, choosing โAPXTConga4__Composer_QuickMerge__cโ as your master object. ย This will add the following code into the Button URL in Progress.
https://composer.congamerge.com?SolMgr=1&sessionId={!API.Session_ID}&serverUrl={!API.Partner_Server_URL_290}&Id={!APXTConga4__Composer_QuickMerge__c.Id}
Then use the โAdd Query Dataโ and โAdd Templateโ tools in the Conga interface to select the recently created items. It is also possible to add other parameters such as filename and output format.
Finally, the Conga Global Merge record should be created. ย This is where the document will eventually be initiated from. Simply, click on the โCreate Conga Global Mergeโ button from the solution builder and it will generate a record on the Conga Global Merge object, link everything up and activate the Launch button4. ย
Hey presto, with that we have managed to introduce straightforward, stress-free mass document creation at the click of a button, all generated using data directly from Salesforce. And more importantly weโve also managed to create one very happy client.
1.ย Where did my Conga Mail Merge tab go?ย
2.ย Use Conga QuickMerge to automate Conga Mail Merge
3.ย Salesforce is enforcing my domain for Spring ’17
4.ย How to create a Conga Global Merge solution
*No birds were harmed in the configuration of Conga
Our independent tech team has been servicing enterprise clients for over 15 years from our HQ in Bristol, UK. Let’s see how we can work together and get the most out of your Salesforce implementation.