To create a workflow rule for Conga Trigger:
- Navigate to Setup > Create > Workflow & Approvals > Workflow Rules (in Salesforce Lightning: Setup > Process Automation > Workflow Rules).
- Click New Rule.
- Complete the steps using the information below:
Theselected must be the same as the Master Object from your Conga Composer solution (the same object on which you created the Conga Trigger formula field).
We recommend setting theto “Conga Trigger [Name of Composer solution] [Output Mode]” (e.g. “Conga Trigger Invoice Email).
We recommend setting theto However, you may select another option depending on your requirements. See the Warning below for further details.
You may create a new field (for example, a checkbox called Conga Trigger Trigger) or leverage an existing field (such as Opportunity Stage) in the criteria of your Conga Trigger rule.
In the example above, the Salesforce workflow rule runs when the Opportunity Stage field is changed to “Closed Won,” which then initiates Conga Trigger. Conga Trigger creates an invoice document, attaches it to an email, and sends that email to the Opportunity’s Primary Contact.
The ability to merge and send a document without user oversight or intervention potentially poses a great risk. Remember that every time the Salesforce workflow rule fires, the Conga Trigger process runs as well, meaning the merged output file will be generated, which can have far-reaching implications, such as an infinite loop.
For example, assume your Salesforce workflow rule is set to evaluate every time a record is edited and you’re using a checkbox field as the rule criteria (e.g. “Conga Trigger Trigger equals true”). If you don’t include an additional field update workflow action to disable the checkbox field after Conga Trigger fires, then a document will be generated every time the record is edited.
Please thoroughly test your solution and confirm it’s working correctly before deploying it fully.
Add an Outbound Message workflow action to the Salesforce workflow rule.
- We recommend setting the of the outbound message as “Conga Trigger [Name of Composer solution] [Output Mode]” (e.g. “Conga Trigger Invoice Email). Optionally, include a Description as well.
- is: https://workflow.congamerge.com/OBMListener.ashx
- is the user under whose authority Conga Trigger will run. The User to Send As should have a custom or standard System Administrator profile and a Composer license. Ensure that this user is active and has access to all of the components used in the Conga Trigger solution (e.g. reports, queries, objects, fields, email privileges, eSignature privileges) as well as access to the Conga Trigger formula field.
- must be enabled.
- Selected Fields must include the Master Object ID (Id) and the Conga Trigger formula field.
Activate the Salesforce workflow rule by clicking.
The Active checkbox enables and the Activate button changes to Deactivate.