Create Agreements for CyberSource AR in Salesforce

Recipe ToolsCRMMarketing

What it does

When a new call arrives for this automation, it searches Salesforce for Agreement Requests and creates an Agreement record. The automation applies the correct template, language, and record type based on the request details.

Who it's for

Accounting teams who need to generate AR agreements in Salesforce based on incoming requests without manual setup.

How teams use this

Route CyberSource agreements to the right record type

When an Agreement Request arrives with a CyberSource contract type, the automation sets the record type accordingly so the agreement is created in the correct Salesforce category. This keeps agreements organized by contract type.

Apply template language to new agreements

If a template language is specified on the Agreement Request, the automation looks it up and applies it to the new agreement. This ensures every agreement uses the correct language and template format.

Extend to include opportunity linking

Add a check for Opportunity ID on the Agreement Request and link the new agreement to that opportunity when present. This requires setting up the opportunity relationship field on the agreement record.

How it works

  1. Receive a new agreement request. A real-time call arrives to create an agreement for CyberSource AR in Brazil, triggering this automation to process the request.
  2. Search for Agreement Requests. Query Salesforce to find the Agreement Request record that matches the incoming call, retrieving details like contract type and template language.
  3. Match template language values. Look up the correct template and language combination in the Lookup Table when a template language is present on the Agreement Request.
  4. Create the Agreement record. Create a new Agreement in Salesforce with the correct record type based on whether it is CyberSource, using the matched template and language values.