Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

download

Integrating Conga with External Systems

Additional steps are required when you choose to integrate Approvals on Salesforce with external applications, customer portals, or other critical business systems. Because Approvals Web Services are hosted on Salesforce, you should familiarize yourself with the Salesforce SOAP API and processes surrounding integration and best practices detailed here: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_intro.htm
Note:

Best Practices

Conga recommends that you work with Conga Professional Services to design and implement your integration. Use this documentation for basic integration steps and to reference Intelligent Workflow Approvals Web Service calls.

The following basic steps are required to use the Conga Intelligent Workflow Approvals Web Services API.
  1. Generate the Enterprise or Partner WSDL: Integration with data stored in Salesforce requires you to first point your browser to the Salesforce Enterprise or Partner WSDL. This WSDL is generally provided by Conga Professional Services. Refer to Salesforce Documentation for complete instructions on generating the Web Service WSDL.
  2. Generate the Conga Web Services WSDL: After you have connected to Conga Web Service, go to your organization and download the WSDL for the appropriate Web Service.
  3. Import the WSDL Files Into Your Development Platform: After you have generated the WSDL files, you can import them into your development platform. Conga does not provide instructions for the import process. Refer to Salesforce documentation or documentation related to your development platform.
  4. Connect to Conga: Before using Intelligent Workflow Approvals Web Services, you must authenticate to Conga using the login() API.

Generating the Conga Web Services WSDL

Before you can import Conga SOAP Web Service into your development or testing platform, you must generate and download the Conga WSDL for the appropriate Web Service.

The example provided here uses SoapUI.

Note:

There is a known bug in the WSDL Generator on Salesforce that does not include several field types, so it is recommended to update the WSDL file after you have generated it but before importing it into your development platform. You can find the details for any workaround tasks here:

When updating generated WSDL, make sure that the target namespace for any schema you add points to the correct Web Service (for example, schemas/class/Apttus_QPConfig/QPConfigWebService). If you are still having trouble, please ask Conga Professional Services for a modified WSDL for the web services you are using.

To generate the Conga Web Services WSDL

  1. Log in to the Salesforce organization that contains you Conga records and data (sandbox or production).
  2. Go to Setup > Develop > Apex Classes (on Lightning, go to Setup > Custom Code > Apex Classes.
  3. Find the Web Service you want to generate the WSDL for (for example, ApprovalsWebService).
  4. Click the WSDL link to generate the WSDL. The WSDL XML is generated and displayed in a new tab.


  5. Right-click on the page and select View Page Source. Copy the XML content to any text editor.
  6. Save the file with the extension .wsdl.
  7. Open SoapUI (or wherever is required on your development platform).
  8. Create a new SOAP project and import the Conga Web Services WSDL. All methods under that Web Service are now available to call.
    Note: Refer to the Request/Response XML section for any API in this reference to get the structure of the request and any prerequisite calls required for any API.

Connecting to Conga

After you have downloaded the Enterprise or Partner WSDL, call the login() method to obtain a session ID from your org that you can use when calling Intelligent Workflow Approvals Web Services. After authenticating, you can use the same session ID until it either expires or your logout or login again.

The example provided here uses SoapUI, an API testing tool which can be downloaded for free here: https://www.soapui.org/.

Prerequisite: To authenticate with Conga, have your production or test org credentials (username and password) ready.