For Max users to receive Salesforce notifications, set up notifications as follows: 

Prerequisites 

Download the zip file named “Max Implementation Package.zip” from the link you received from your Conga contact and save it to your local machine.

Ensure that embedded Max is setup in your Salesforce Org. For information on setting up embedded Max, refer to Max Setup on Salesforce.

Updating Named Credential

This is required only if the named credential includes "sendSfdcData".


  1. Go to Setup → Named Credential.

  2. Search for APTSMD_MAX_Connection credential. 
  3. Go to Apex Classes → APTS_getUserDetails class. 
  4. Update it with the latest version of APTSMD-getUserDetails.cls from the downloaded zip files. 

Adding the Max Token Label

  1. Go to Setup → Custom Label.

  2. Click User Interface → Custom Labels. 
  3. Click New. Enter the following values:

    Short DescriptionNameValue
    APTSMD_MAX_TokenAPTSMD_MAX_Token

    Enter the connected app ID, concatenated with the connected app secret.

    For information on getting the connected app ID, refer to the Salesforce Create a Connected App documentation.

  4. Click Save.

Enabling Notifications

  1. Go to Setup → Custom Notifications. 

  2. Click New. Enter the following values: 

    FieldValues
    Custom Notification NameMaxNotification
    API NameMaxNotification
  3. Select Desktop and Mobile as supported channels. Click Save. 

  4. Click Notification Delivery Settings in the Setup column.
  5. Under Custom Notification Types, find MaxNotification, and click Edit from the drop-down menu.

  6. Ensure that all boxes are selected and click Save. 

Adding Custom Notification Flow

  1. Go to Setup → Flows.

  2. Click New Flow. 
  3. Select the Autolaunched flow and click Create
  4. Click and drag Action in the main window. 

  5. Select Notifications.

  6. Click the search bar, then click Send Custom Notification. The Send Custom Notification edit screen appears.

  7. Click Edit next to Custom Notification Type ID
  8. Click New Resource and create a new resource as follows: 
    1. Select Variable as the resource type.

    2. Set the API name to NotifTypeId.
    3. Select Text as the data type.

    4. Select Available for Input.

    5. Click Done.
  9. Repeat step 8 for:

    1. The Notification Body. Set the API name to NotifBody

    2. The Notification Title. Set the API name to NotifTitle.

    3. Recipient IDs. Set the API name to NotifRecipientsThis variable must be a collection, so check the Allow multiple values checkbox.

    4. The Target ID. Set the API name to NotifTarget.

  10. Connect the Start node to the Action node

  11. Click Save and name the flow.

  12. After saving, click the Activate button

Creating Apex Classes

Using the zip files you downloaded, create the apex classes in the following order.

  1. APTSMD_JITNotificationMaxResponse

  2. APTSMD_NotificationMaxInput

  3. APTSMD_NotificationObject

  4. APTSMD_MaxQueryResponse

  5. APTSMD_JITNotificationInput

  6. APTSMD_SendMaxNotification

  7. APTSMD_ProcessMaxTimedNotification

  8. APTSMD_MaxResolveQuery

Creating Apex Triggers

Create two apex triggers as follows: 

Agreement (Apttus__APTS_Agreement__c)

  1. Go to Setup → Object Manager.
  2. Go to the Agreement object.

  3. Select Triggers. Click New. 

  4. From your zip file, copy TestAgreementInSignature.tgr from Apex/Notifications and paste it. 

  5. Click Save.

Review Cycle (Apttus__ReviewCycle_c)

  1. Go to Setup → Object Manager.
  2. Go to the Review Cycle object.

  3. Select Triggers. Click New. 

  4. From your zip file, copy ReviewCycleJITTrigger.tgr from Apex/Notifications and paste it. 

  5. Click Save

Scheduling Flows

  1. Go to Setup → Flows.

  2. Click New Flows.
  3. Select Schedule-Triggered Flow. Click Create.
  4. Drag Action to the main window.
  5. Set Filter By to Type. Click Apex Action.

  6. Click the search bar. Select APTSMD_MaxResolveQuery

  7. Enter the following values for each flow:

    Notification Flow

    fieldToSave

    notificationType

    query

    PendingApprovals

    Apttus_Approval__Initial_Submitter__c

    pendingApprovals

    show all the agreement approval requests that were created before yesterday and are assigned

    ReviewCycleInProgress

    CreatedById

    reviewCycleStatus

    pull up review cycles in the last 30 days that are in progress

  8. Connect the Start Node to Action Node. Set the schedule and activate it. 

Creating Custom Object: CongaEvent

  1. Go to Setup → Object Manager → Create.

  2. Enter the following details: 

    FieldDescription
    API NameConga_Event_c
    Singular LabelConga Event
    Deployment StatusDeployed
  3. Create the following fields:

  4. Create a button as follows:

  5. Under Conga Event Layout, add the created fields and buttons. 

Notification setup is complete. To enable notifications, refer to Notification Control Center.