01 Getting Started

This tutorial covers the Find action, including:
  • The security benefits of using the Find action.
  • How to set up a Find action in a Nested Push.
  • Creating a record if no matching record is found.
A simple form element was used for demonstrative purposes.

02 Security Benefits

The Find action is a secure method of querying a record and using data from that record in your push. Often, you will not want to bring the queried data back into your project so your Find action will mostly be used for Salesforce push actions.

03 Create a Find Action

1. Select the Project Settings gear icon and click the Salesforce tab. The Salesforce Integration window opens
project settings salesforce tab
2. Select the Push tab and click Create New.
salesforce integration create new push

04 Object Settings

1. Select your Salesforce object. This can be a custom or standard object in Salesforce.
2. Select the Find action.
3. Add a description. Although this step is optional, labeling each Salesforce action you create provides a quick overview of what each action does.
4. You can choose which ID should be used if multiple matches are found.
5. Choose what action should trigger if no match is found.
object settings tab

05 Conditions

Create conditions so only records that meet the criteria are found.
conditions tab

06 Creating a Nested Push

Add the requested Push action as a Nested Child Push under the Find action to relate the push to the found record. For this example, we will create a contact under the found account.
1. Click the kebab menu and select + Add Child.
add child salesforce action

07 Object Settings

1. Select your Salesforce object. This can be a custom or standard object in Salesforce.
2. Select the Create action.
child action object settings tab

08 Mapping

When you select the mapping tab, you will see that the Account ID is already related to the parent Find action.
1. Use the dropdowns to map Salesforce fields to your form elements.
You can use fields from the parent Find record to map them to the child record Push.
child action mapping tab


Your Create action will be nested under your Find action.

nested salesforce push actions

09 Button On Click Action

Now that you have created a push, you will need to assign the Salesforce action to an interactive element, For example, a button.
1. Click the button interactivity icon.
button interactivity icon
2. Select the Start + icon, select Salesforce Action, and click Next.
salesforce on click action
3. Using the dropdown, select the Salesforce push you just created. By giving each action a unique description, you can easily see which action to choose from. Click Next.
Note: You can only choose a parent action from the list.
choosing action from the dropdown
4. Add a tag, click Insert, and select Apply.

When a user provides their details and clicks the button, the two configured actions will run. First, the account will be found then an associated contact will be created.

10 Find and Create

You can choose to find an account, and if no match is found create a new one. Simply select the Create option when configuring the object settings for your Salesforce find action.
Using the create option when configuring the object settings

11 Got Feedback?

Additional Resources