01 Getting Started

This tutorial will demonstrate locating existing records in Salesforce and adding related records.

We will use a simple form to demonstrate this process.
Example of a simple form

02 Configuring the Push

1. Click the + icon to open the Project Settings and click the Salesforce option. The Salesforce Integration screen opens.

Screenshot of the project settings option

2. Select the Push option and click the Create New button. The Map Salesforce fields screen opens on Object Settings. 

Screenshot of the salesforce integration screen with the push option highlighted

03 The Object Settings Tab

1. Use the Object in Salesforce drop-down list to find the object, for instance, Account.

2. Add a description that defines the purpose of the push.

3. Use the Action drop-down to select the Find option. If multiple matches are found, you can set parameters. For this example, only one Account should be linked to the account number so that we can keep the first record default option.

If no match is found, you can choose to skip or create a record ID. For this use case, we want to skip.
Screenshot of the object settings tab for map salesforce objects screen

04 The Conditions Tab

1. Click on the Conditions tab to start creating a condition.

2. Configure the condition to Account Number Equals Field Account Number. Click the Apply button.

This process will not require mapping as we will not create a record.

Screenshot of the conditions tab for map salesforce fields

05 What does a Push Find do?

When this push is triggered to find a single record, the Account Number in Salesforce must match the Account Number entered by the user.

This differs from a get records operation, which finds data in Salesforce and returns it to your Titan Web project. This process typically runs a little slower as security measures exist when pulling data from Salesforce into Titan.

A Push Find runs entirely on Salesforce. It locates the record and does nothing else, which means it runs faster and is more secure.

You should use a push find in scenarios where you need to locate a record and reference it.

06 Creating a Child Push

1. Navigate to the Salesforce Integration screen and select the Push tab.

2. Click on the Kebab icon next to the created get. Select Add Child. The Map Salesforce Screen will open.

Screenshot showing the kebab menu options displaying for a push with the add a child option highlighted

07 The Object Settings Tab for the Child Push

1. Use the Object in Salesforce to select the Contact option.

2. Add a description that defines the purpose of the push.

3. Use the action drop-down and select Create.

  Screenshot of the object settings tab displaying for the child push

08 The Mapping Tab for the Child Push

1. Click on the Mapping Tab. Titan has automatically matched the Account ID field on the contact object. This means that the newly created record will be assigned the ID of the account located in the push find.

2. Map the dropdown next to the Last Name field to the corresponding field.

3. Repeat the same step with the First Name field. Click Apply.

Screenshot of the mapping tab for the child push

09 Adding the Push Find to an Element

1. Click the button element and click the On Click Action icon. The On Click Action screen opens.


Screenshot of the button element menu


2. Hover your mouse over the Start icon and click the + icon to open the Add Node screen.


Screenshot of the on click action screen


3. Select the Salesforce Action option and click the Next button.

Screenshot of the add node window with the salesforce action option selected

4. Use the Process push or get drop-down list and select the Push you created. Click the Next button.

Screenshot showing the selected salesforce push find action

6. Add a tag if necessary and click the Insert button.

Screenshot of the tag step of Add Node Salesforce action screen

7. The Salesforce action is added to the On Click Action screen. Click the Apply button.

Screenshot of the configured salesforce on click action

10 Save and Preview the Project

1. Save and Preview your project.

When a user provides new details associated with an account number, their details will be added to Salesforce.

Preview showing how the captured data displays in salesforce

11 Got Feedback?

Additional Resources