Environment Variables – Salesforce Integration

Business Background

Variables are integral when working with software and allow your business to store, reference accurately, and manipulate data in countless ways.

Environment variables help manage configuration differences among these environments. By changing environment variables, you can control which services and resources an application connects to, ensuring the correct environment-specific settings are used.

Titan Solution

The environment variables are shared across your Titan environment and can be accessed from any Titan Web project. They can be used to trigger a Salesforce Push or Get action.

How to Video

  • Coming soon!

How to Guide

Note:

Create a private static environment variable. Private variables can only be used for Salesforce Push and Get integrations and run on Titan servers.

This image has an empty alt attribute; its file name is image-16-1024x546.png

  1. Open a Titan Web project.
  2. Drag a button from the element list to the canvas. In this example, the button was renamed to “Salesforce Condition.”
  3. Click the On Click Action icon.
On Click Action icon
On Click Action icon
  1. Click the + icon next to the Start node.
+ icon
+ icon
  1. Click the Salesforce Action node and click the Next button.
Add Node screen
Add Node screen
  1. Click the Salesforce Integration button.
Add Node/Salesforce Action screen
Add Node/Salesforce Action screen
  1. Click the Create New button.
    • You can configure a Salesforce Push or Get.
    • You can also edit an existing Salesforce Push or Get.
Salesforce Integration screen
Salesforce Integration screen
  1. Use the drop-down list to select the object in Salesforce, for instance, Account.
  2. Use the drop-down list to select the trigger to execute the pull.
  3. Click the Conditions option.
  4. Use the drop-down lists to configure the condition using the static environment variable, for instance:
    • Record Type ID Equals Field [ENV]acc_rec-type
  5. Click the Next button.
Map Salesforce fields
Map Salesforce fields
  1. Add a tag if necessary and click the Insert button. The Salesforce Action node is inserted.
  2. Click the Apply button.
On Click Action Action screen
On Click Action Action screen
  1. Save and Preview the project.
  2. Click the Salesforce Condition button. The account that is returned will be a specific record type that matches the condition.

Hidden Title

Need more help?