HTTP Callout
Prerequisite: External API endpoints must be whitelisted within Conga's secret management service. To initiate the whitelisting process, contact your Conga representative.
Minimum information required for whitelisting an External API:
Authentication Type | Field Name | Description |
|---|---|---|
OAuth2 Client Credentials | AuthURL | Authorization endpoint for OAuth2. |
| ClientId | The client ID issued by the authorization server. | |
| ClientSecret | The secret key associated with the client ID. | |
| Scope | The permissions required for the API call. | |
OAuth2 Password Credentials | AuthURL | Authorization endpoint for OAuth2. |
| ClientId | The client ID issued by the authorization server. | |
| ClientSecret | The secret key associated with the client ID. | |
Basic Authentication | UserName | The username required for authentication. |
| Password | The password associated with the username. |
Properties, Entry Criteria and activity information
|
Field |
Description |
|---|---|
| Details | |
Display Name |
The user-friendly name of the activity, used to identify the HTTP Callout step in the workflow. |
Reference Name | A unique technical identifier used in the workflow configuration. If left blank, the system auto-generates one based on the Display Name (removing special characters, spaces, and using underscores to join words). |
Description | A brief explanation of the HTTP Callout activity's purpose. |
| Properties | |
|
External Services |
Select the external service connection configuration that stores credentials (OAuth2, Basic Auth) and endpoints. |
|
URL |
The target API endpoint. You can use dynamic workflow data to parameterize this URL. |
|
Method |
Choose the HTTP method based on the type of operation you want to perform:
|
|
Content |
The request body (typically in JSON format) for POST or PUT methods. Supports dynamic data from workflow variables. |
|
Request Headers |
Add custom headers for the API request.
|
|
Query Params | Define query parameters for the API call.
|
Output | |
Activity Output | Specifies the variable that stores the API response for use in later workflow activities.
|
| Is Collection | Select this checkbox if the variable contains a collection of values, such as a list or array.
Leave it unchecked if the variable holds a single value. This helps the system determine how to process the data, especially during transformations or when passing data between activities. |
| Variable Data Type | Use this dropdown to specify the format or structure of the variable's data.
Currently, only JSON is supported. Ensures the system interprets and processes the data correctly based on its structure. |
Use Case: Delete Salesforce Opportunity After Contract Cancellation
Business Context
When a contract is canceled, any associated Salesforce Opportunity becomes invalid and should be removed to keep the sales pipeline accurate. Automating this cleanup avoids manual effort, prevents reporting inaccuracies, and ensures the pipeline reflects only active, viable opportunities.
Overview
This use case guides administrators on configuring a Conga Workflow that automatically deletes the Salesforce Opportunity linked to a contract once its status changes to Canceled. The workflow uses a record‑trigger event, an email notification activity, and an HTTP Callout to the Salesforce API. Required inputs include Salesforce API credentials and the Opportunity ID stored on the contract.
Scenario
When a contract's Status is updated to Canceled, the workflow triggers automatically. It first sends an email notification to the assigned sales representative, informing them that the contract has been canceled and the related Opportunity will be removed. Then, using a configured external service, the workflow performs an API call to Salesforce to delete the Opportunity associated with the contract record. This ensures the sales pipeline remains clean without requiring manual intervention.
- Salesforce API credentials: Client ID, Client Secret, Access Token, and Endpoint URL.
- The Opportunity ID is available on the Contract record (e.g.,
Contract.OpportunityID__c). - The Contract Status field includes a clearly defined Canceled status value.
An email notification is sent to the assigned sales representative.
The linked Salesforce Opportunity is automatically deleted using the Opportunity ID.
